You should be able to add the function calls directly in your blog view files located in fuel/modules/blog/views/_themes/{my_theme}. For example, the post.php file located in that directory could have the following added to it.
<?=social_bookmark…
For the values "reset_value", "cancel_value", and "submit_value", you can put in the entire tag value if you want like so and Form_builder will know to display that instead of embedding it into the "value" attribute of each element:
There are 3 main module parameters you can set listed below:
js_controller_path
js_controller
js_controller_params
More descriptions about those parameters can be found here:
http://www.getfuelcms.com/user_guide/modules/simple
As an example, as a …
If $this->categories_model->options_list('id', 'name', array(), false); returns an empty array, then the options parameter will also be empty and you will not see anything in the dropdown. Do you have any categories in the database? You can fu…
Errr... yeah... that doesn't work in a view does it... it recursively calls itself. That needs to be in a controller. What if you just create it as a block... theoretically, you could have an entire page be a block and you can embed it in a page.
If you are using a module config file (e.g. like fuel/modules/fuel/fuel_modules.php OR fuel/modules/blog/blog_fuel_modules.php ), you can add/modify the "table_actions" value of your module configuration:
'table_actions' => array('MEDIA' => 'l…
The default_field_action is the default actions to display for each row and not necessarily what the row clicks to. That is actually handled with javascript in the BaseFuelController.js file. It triggers the link on the first action displayed (e.g. …
What's real URI path and name of the module, controller and action you are wanting to map to (to better help me understand)?
The blog uses routes similar to that but uses (.*) instead of :num (see fuel/modules/blog/config/blog_routes.php).
There is an "other_actions" property that can be set on Form_builder in which you can include additional HTML that will appear next to the main submit button:
http://www.getfuelcms.com/user_guide/libraries/form_builder
That should work.
If your controller inherits from the Fuel_base_controller.php, you can use the "_render" method to have your view be displayed within the Admin shell.
There is a layout and block file that may be of interest located at:
fuel/modu…
What if you tried something like this:
$page_init = array('location' => 'user-agreement'); $this->load->module_library(FUEL_FOLDER, 'fuel_page', $page_init); $this->fuel_page->render();
I like the idea of a fuel_page function.
That seems like the simplest approach to me. You could create another table to store the courses associated with the professor and then use one of the model hooks to store to save that away when the role of "Professor" is selected, however, I admitt…
There are 2 main ways to use it:
<?=fuel_block('my_block')?>
Or if you want to pass more then one parameter:
<?=fuel_block(array('view' =>'my_block', 'parse' => FALSE))?>
The block view files should be located in your views/_blocks…
OK, if you download the latest version you will be able to do something like the following with the special field of '__field__':
function list_items($limit = NULL, $offset = 0, $col = 'id', $order = 'asc') { $data = parent::list_items($limit, $off…
Yes... It's best to use the Asset helper to input paths to images, css, js, etc so those paths are more portable in situations like that. It uses WEB_PATH as well as some other information to determine the path to the assets.
The latest found here (which is still operating under the 0.9.3). We push updates to the main branch a few times a week.
https://github.com/daylightstudio/FUEL-CMS
I'm sorry you are having difficulty getting it to work. It would be helpful for us to know the issues you were having. We have successful installations on both Xammp and Wamp on Windows.
When you say isn't loading, do you mean when you browse to the site that the background images doesn't appear? If so, I'm not sure what in FUEL would cause that issues since it just generates the HTML that has the CSS/images in it. Is the image in t…