That is one way to do it. If you have a lot of logic you would like to keep out of the views, you can use a controller or create a layout class with a pre_render function that encapsulates that logic.
http://docs.getfuelcms.com/general/opt-in-contro…
When you say "I am not getting the variables associated to the layout in the admin panel.", are you saying when you click save for the specified page, the layout values you input aren't saving? Or are you saying that you want to import the variables…
Hi Marcus,
I think anything is possible but that's really difficult to answer. If you have familiarity with CodeIgniter, then I think it would go a long way in learning FUEL CMS and getting you up to speed since it's built to augment the framework …
The site variables is mostly intended for global variables with the scope being used limitedly. If you have page specific variables, I'd recommend setting them up as a page in the CMS. You can then use the controller if you would still like and pull…
The marker logic is for inline editing and is used by Javascript for marking where the editing icons should appear:
http://docs.getfuelcms.com/general/inline-editing
The Base_module_model in which your models inherit from has a couple methods you can overwrite "archive" which will save the data to the archive and "get_archive" which will retrieve the data. You may want to look into overwriting those values to en…
I'm not quite clear on your setup. Do you have a controller setup for a page that you simply just want the variables created in the CMS? If so, you can access the page variables in your controller like so:
$vars = $this->fuel->pagevars->r…
Have you reviewed these pages in the documentation yet. These may be helpful:
http://docs.getfuelcms.com/general/pages-variables
http://docs.getfuelcms.com/general/opt-in-controllers
So you aren't creating pages in the CMS to contain those page specific variables but instead are using the Site variables with a scope? Is the page_title variable being overridden by another value? Site variables (even with a scope) have a lower pre…
The nav array should only be 2 arrays deep. In your case, you have specified "My Group" to be under the "modules" group. Instead, try the following:
$nav['my_group'] = array('healthcare' => 'healthcare', 'benefits' => 'benefits');
For first issue, do you have the actual code (you can enclose them in an HTML "code" tag to distinguish it as code in the comment).
For the second issue, I'll need some code as well. For example, are you uses "pages" as the module name? Also, you m…
For the first issue, what is the code you are using? For the second issue, I'm not quite sure I understand what you mean by extending the Fuel_page class. Do you have code examples for that too?