Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

admin

About

Username
admin
Joined
Visits
8,800
Last Active
Roles
Administrator

Comments

  • Is this code from a page layout? Also, is the assets/media folder writable and/or are you seeing any errors displayed. Also, if it is a video and large file, you may need to modify your .htaccess file to increase the maximum upload file size. If it'…
    in Block layout Comment by admin May 2015
  • I'm sorry but I'm not familiar with the newsletter module and it appears to be out of date, lacks testing as well as database tables to even test out.
  • Commented on this here: https://github.com/daylightstudio/FUEL-CMS/issues/321
  • The most basic example is the following: echo fuel_nav(array('render_type' => 'breadcrumb')); http://docs.getfuelcms.com/general/navigation If you are dynamically building the menu then you'll need probably need to pull in the products and categ…
  • You may need to add it to the fuel/application/config/mimes.php file
  • Looks like you asked this here: http://forum.getfuelcms.com/discussion/1282/recent-blog-posts-block-for-non-blog-pages#Item_5
  • There doesn't appear to be any database tables for this module at the google code site. How did you get the tables for the module?
  • In a view file, layout file (e.g. views/_layouts/) or controller that you are wanting to display the posts.
  • Probably. That function is there to help eliminate the need to enter in a lot of PHP code in your view files.
  • Thanks for the report. The module will allow you to enter in keywords and a domain and see where those keywords rank. For example: Domain: "getfuelcms.com" Keywords: "Codeigniter CMS" Will return the current ranking.
  • Try adding the joins and a select statement that creates the "title" field in your _common_query method on the model if you haven't already. The upcoming release in the develop branch now has a _common_joins method which will get used in find_ metho…
  • Try $this->fuel->page->properties('id'); The "$CI->fuel->page" object should be the current page whereas the "$CI->fuel->pages" object has methods to retrieve pages like "$CI->fuel->pages->get('mylocation')"
  • Thanks for the report. Will make that fix.
  • If I understand you correctly, it sounds like you need the ability to assign an image from a separate simple module. This can be done by specifying the "model" property on a select field type in your page layout which will use the model's options_li…
  • I'm not sure if you could get exactly what you have displayed but probably pretty close. For the text in some of the menu items, you can use a "pre_render_func" parameter for the fuel_nav function that would reference a custom function you create th…
  • I'm not entirely sure I understand your issue, in particular, where you say "there are no variables in simple modules" but will give what guidance I can. One thought I had was regarding your mapping between module models. For associations between …
  • I'm not familiar with that module. It may be easier for you to simply just create a simple module like in this tutorial: http://docs.getfuelcms.com/modules/tutorial
  • The next release will hopefully be within the month but depends on some things so no promises Would love to see what you did with porting it over to Twitter bootstrap so if you have a zip you'd be willing to share, I'd be happy to check it out.
  • Not at this time. We've decided to focus on the next rollout which doesn't include the 3.0 release.
  • If you click the "Source" button near the bottom of the textarea it will display the path. If you insert the image, it will use the templating img_path() function syntax of {img_path('myimage.jpg')}
  • Most of the time, if there is a page that needs to have some or all of it's variables created in the CMS, I will just create that page in the CMS. In your case if you are using a view, I would recommend turning that view into a layout. Then in the c…
  • The field type will display because the form_fields method includes it in the $fields array. However, it won't save to the database because there are no fields with those names to save to. Because it has "image" in the field name, the representative…
  • I'm a little confused about the view file part. So a few things to confirm: 1. The location value in the CMS of the page variables that you saved is "contact/contact"? 2. That page in the CMS uses the "my_layout" and that layout has a variable of "b…
  • You will also need to include the custom fields $this->form_builder->load_custom_fields(APPPATH.'config/custom_fields.php'); If you are needing a wysiwyg editor for the front end, you may be able to simplify all the javascript some because it …
  • This is what I've done to try and replicate your issue and it seems to work: 1. Added the following to the fuel/application/config/MY_fuel_modules.php file: $config['module_overwrites']['pages']['model_name'] = 'my_pages_model'; $config['module_ove…
  • That $dbfile line has a typo and should be: $dbfile = (isset($normalized_save_data['dropbox'])) ? $normalized_save_data['dropbox'] : '';
  • If a simple module is generated via the command line then it will generate the permissions automatically: http://docs.getfuelcms.com/modules/generate You can also create the permissions via programmatically like so: $this->fuel->permissions-&…
  • That should be included in the SQL example. I've updated the tutorial to reflect that.
  • Try the following: $this->fuel->pages->render('contact/contact', $vars, array('render_mode' => 'cms')) The different render modes are "views" and "cms".
  • When you say "preview" what are you referencing?