A simple module has a few parameters to help in bringing in custom Javascript:
The parameters are:
js_controller
js_controller_path
js_controller_params
js
Documentation for them can be found here:
http://www.getfuelcms.com/user_guide/modules/simpl…
The 404 page that is currently there is a default starting point we use and often do need to change. It allows us to include the header and footer and other variables that may be needed to render the page. You may want to change that for your own pr…
I've made a push recently so you can now add a "hidden" parameter to your module configuration that will hide it from the left hand menu:
http://www.getfuelcms.com/user_guide/modules/simple
You could try the following:
1. Use a CI hook to load in your helpers, models, libraries, etc
2. In your MY_fuel.php file, you could make a database call to get a list of enabled modules and dynamically set the $config['modules_allowed'] property a…
You would need to use the user's session to put limitations on your model's queries. For example, the list_items on your model may need something like this:
function list_items($limit = NULL, $offset = NULL, $col = 'date_added', $order = 'desc') { …
You can add a filter property to your module. The property should contain an array of form_builder fields (similar to a model's form_fields method).
The navigation module has something similar if you view the fuel/modules/fuel/config/fuel_modules.p…
Their was a feature just added to allow you to configure where your page redirects to after logging in and logging out:
http://www.getfuelcms.com/user_guide/general/configuration
login_redirect
logout_redirect
That would be a good place to start. You could create a different controller that extends the page_router controller and change your 404_override controller to point to that instead of changing the page_router file.
You will probably need to modify the fuel/modules/fuel/controllers/page_router.php. That is the 404_override controller which is used when now controller is found and is where the logic is for FUEL to either pull from the database or from a view fil…
Your solution is correct. You need to specify the view for those pages (you can add the $pages variable to the join-the-army.php file too if you just want it to load in that section). Also, you can set the variable 'find_view' in join-the-army.php a…
Are there perhaps any PHP or javascript errors on the page that is preventing the javascript to execute for that top menu? You got a testing environment I can have access too? You can email me with the info if you want me to look at it.
For the pencil icons to show up, you need to be logged in to FUEL and then viewing your website. There should be a little FUEL icon in the upper right and when you click it, it will slide open and should have a pencil icon that when clicked, will di…
You will want to use the fuel_nav() function found in the fuel_helper.
Here are some good resources.
http://www.getfuelcms.com/user_guide/helpers/fuel_helper
http://www.getfuelcms.com/blog/2010/12/12/learning-fuel-cms-part-2
That is an Apache error. It sounds like it may be something on your server. Sometimes the https web folder is different then the normal http web folder (Media Temple does this on a Dedicated Virtual machine).
I can't think of anything off the top of my head. How is the page being served up?... via a controller, a page created in the CMS or is it just a static view file using the "opt-in controller" method. Do you have the same problem with a normal CI se…
Are you trying to edit a value? If so, any value set in the form_fields() method of your model, will be overwritten by any saved data. To get around the issue with the password, I'd suggest one of two ways:
# Create an "edit_method" (a method on yo…
Not at this time... it's either a manual setup or an AUTO setup where it includes everything. At one point, there was a 'hidden' value you could assign but since I never used it, I removed it. However, I could see that being beneficial here. I'll pu…