You should be able to create methods on your controllers that you can use for ajax just like any other page. Additionally, FUEL has an is_ajax() function you can use to test if the request is an ajax request or not.
With regards to using FUEL inste…
Right... but the routes you have above, point to the default module at FUEL_FOLDER.'/module'. Try changing those routes to point to:
<?php $education_controllers = array('education', 'staffs', 'faculties', 'classes', 'sections', 'students', 'pare…
You should be able to use CodeIgniters MVC structure to build what you need. I think it may be good to read the documentation from CodeIgniter to help get you started:
http://codeigniter.com/user_guide/general/controllers.html
http://codeigniter.com…
You can remove the $this->db->from('recent_projects'); because the parent model includes it in the $query = $this->db->get($this->table_name); around line 236.
The blog comments and settings modules could indeed be used as simple modules but they are bundled under a folder to keep all the MVC functionality regarding it together (comment view, processing of comments, etc).
If you want to break it out of a…
I think in your case, you don't want those routes to point to the default "module" controller found in the FUEL folder, but instead, have them point to the controllers in your education module correct?
You would need to put some code on the homepage (perhaps in the view file or a controller) that would detect if the user is logged in. To do that you can use the fuel_helper function is_fuelified(). If the user is not logged in, then you could displ…
The javascript that initiates the datepicker is in the fuel/modules/fuel/assets/js/fuel/controller/BaseFuelController.js file and is executed only on the form view. To execute it for your list view, you would need to extract it out and put it into p…
You can add a link to your homepage of mysite.com/fuel/login. With regards to "I know I can redirect with the new variable after login but I am completely confused as to how to do this."... can you clarify what you meant by the "new variable" part?
To get around this issue, you can try specifying a 'view' variable like so:
$this->load->module_library(FUEL_FOLDER, 'fuel_page', array('location' => 'folder/file')); $this->fuel_page->add_variables(array('view' => '_folder/file'))…
We actually have a version we use for development that incorporates modernizr and HTML 5. But at the moment, you can feel free to change your fuel/application/views/_blocks/header.php file to incorporate the appropriate CSS and JS files.
That's correct. File names and folders beginning with an underscore aren't viewable if using the "opt-in" controller method or using a controller and the Fuel_page class to render the page
If you are using a controller you will need to render your page using the Fuel_page library as explained on this page under the section about using controllers.
http://www.getfuelcms.com/user_guide/general/creating-pages
You can download the latest version of FUEL here:
https://github.com/daylightstudio/FUEL-CMS
The UI hasn't been updated however, one user has provided great looking updated UI look you can download:
http://www.getfuelcms.com/forums/discussion/470/u…
Not at this time. The code where that is set though is in both the fuel/modules/fuel/assets/js/fuel/controller/BaseFuelController.js and the fuel/modules/fuel/assets/js/fuel/edit_mode.js files (with the latter being used for inline editing.)
Are there any javascript errors when you click the button? Also, In your form open tag add method="post" and see if that does the trick:
$vars['formOpen'] = $this->form->open('id="estimate"');
Can you send me the text saved in the database that is getting served up for the content (or at least the smallest portion that is causing the problem). Am having trouble replicating the issue locally.
You will need to limit the amount of data returned as well as pass the offset into the fuel_model query like so:
fuel_model('news', array('where' => array('silos.name' => 'finance'), 'limit' => 5, 'offset' => uri_segment(3));
Where uri_s…
It's a Dwoo error. It sees the "{" and "}" and interprets it as template code. A couple ways to get around that:
1. You can put the js in a file and include the file
2. You can break the "}" to the next line.
Not sure if you know this already or not but CI comes with a Pagination class and is what FUEL uses for pagination as well.
http://codeigniter.com/user_guide/libraries/pagination.html