The dashboard was deemed to be a benign page that any user valid user in the system that logged in can go to whether they have permissions or not. The dashboard content itself can by different depending on the permissions. With regards to a new user…
The dashboard is the only page that doesn't require specific permissions. The permission labeled "View the Manage Dashboard Page" refers to the "fuel/manage" page (which actually doesn't appear in the menu).
You can adjust your model's list_items method to return an image for the field. For example, FUEL's assets_model does this. Here is another example:
function list_items($limit = NULL, $offset = NULL, $col = 'date_added', $order = 'desc') { $data =…
There is a reference of the "parent" model passed to the record level object named "_parent_model". Try the following:
class Block_model extends Base_module_record { function get_language() { return $this->_parent_model->…
That sounds like you create a simple module using the fuel/applicaiton/config/MY_fuel_modules.php? If so, there needs to be a contact_model for the module to map to. By default it assumes that the model is the name of the module with the "_model" as…
I think Lance had a good question as to whether "massmail_authenticate" is set to TRUE. If it isn't, then the user value is not set (if you look at line 77 of the Fuel_base_controller).
The blog comes with a social_helper that those configurations map to.
http://www.getfuelcms.com/user_guide/modules/blog/social_helper
You can use the helper in your blog layout or view templates found in the fuel/modules/blog/views/themes/default/
Hmm... it should be. Could something else on your end be happening? I just tested renaming the fuel/application folder and changing the $application_folder in index.php and it seems to work OK.
If you change line 858 of the Menu class to something like this:
$location = (preg_match('/^#/', $val['location'])) ? $val['location'] : site_url($val['location']); $str .= ''.$label.''; Does it fix your p…
What we normally will do is check out from GitHub the latest version of fuel and set it up as a remote repository. Then we add our application specific code and push to a separate project specific repo. So in short, we have one remote repo for FUEL …
Sorry for the delay in response... I didn't see this last post. "model" is just the generic name we set (as the second parameter of $this->load->model('my_model', 'model')). For the file name to be pulled in, the field name should that has the…
FUEL only extends the DB_mysql_driver and DB_mysql_result classes in the fuel/application/core/ folder at the moment and doesn't extend it for the mysqli which appears to be the problem you are experiencing.
Uploading a block should upload the contents of a view file to the block content field and attempt to translate any PHP code into the Dwoo templating syntax. You must select the block from the dropdown that you want to upload to and then select a bl…
Hmm... I'm not sure what may be going on for you. FUEL doesn't do anything differently for file ownership. It uses the CI Upload class which simply uses the php user to write files.
Also, there is an on_after_post hook you can use on your model along with the models uploaded_data property which holds all the info for uploaded files.
I have a recent pull request with a fix for that I think... check this out and let me know if it works fuel/modules/fuel/controllers/module.php:
https://github.com/specialbrand/FUEL-CMS/commit/b17d41868797f26539a6cf09abf7674711383b9c
Full file
http…
I don't think there is currently a way to do that without changing the source because the setting of that flashdata is the last thing done before redirecting and a model hook wouldn't work there. It may not be a bad idea for the module.php file to h…
Just to be clear, the Menu class only creates the HTML structure for you and by default uses nested ul and lis to do this. To create the rollover effects, you'll need to implement your own CSS.
Thanks for the help. We can always use the help in improving the documentation or writing tests with the Tester module for the different library classes. Or even just being active on the forum. Not very glamorous jobs at the moment, but I think afte…
Thanks for the help. There is a short list on GitHub but some have been added to the next release version:
https://github.com/daylightstudio/FUEL-CMS/issues
With regards to road map and approved features, we don't have any of that public at the mom…
It should. The parent_id needs to reference the menu items array key. By default, if no location parameter is set, then it will use the key value as the location, however it serves a duel purpose in that it also indicates the unique identifier of th…
I would create a /fuel/modules/corporate_partners/config/corporate_partners_fuel_modules.php and put your module configuration in there if you haven't already. You'll also need to specify the 'model_location' => 'corporate_partners', in that file…