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'…
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…
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')"
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.
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…
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-&…
Try the following:
$this->fuel->pages->render('contact/contact', $vars, array('render_mode' => 'cms'))
The different render modes are "views" and "cms".