Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

admin

About

Username
admin
Joined
Visits
8,800
Last Active
Roles
Administrator

Comments

  • For justify, make sure to download the plugins here and add the folder to fuel/modules/fuel/assets/js/editors/plugins/ http://ckeditor.com/addon/justify For underline, you'll need to add the following to the editor.php config because the default co…
  • There was an error in the code above in which it didn't grab the actual $tag. I've updated above.
  • There are no known bugs at this point but does require I feel a little more vetting by the community. Would be great if you tried it out and reported any new bugs.
  • I've ran into issues in the past where I've needed to includ extra plugins which would need to be added to the fuel/modules/fuel/assets/js/editors/plugins/ folder:'extraPlugins' => 'image2,uploadimage,justify,indentblock',
  • Can you provide a code example of the issue to help debug?
  • The fuel_constants.php file has a MODULES_FOLDER and constant defined which specifies where, relative to the application folder, the module folders are stored. The tricky thing then is if there are any changes to the application folder, which doesn'…
  • Hmmm... that module is pretty old. Basically it just added a button to automatically login to phpmyadmin.
  • To grab the news items from a certain tag, you can try the following: $slug = uri_segment(3); // or whatever URI segment the tag slug is $tag = $CI->fuel->tags->find_by_tag($slug); $news_model = $tag->get_news(TRUE); $limit = 10; $offset…
  • The database tables don't need to necessarily exist in the same schema but they will need to inherit from the Base_module_model class in order to be used in the FUEL admin. The Base_module_model class has methods on it that the FUEL admin uses.
  • When you say "rows list" are you meaning the list view for the module or are you meaning the dropdown select for that field? If it's a foreign key, I'd include an "_id" on the field name to help denote it's a foreign key ID
  • Correct.
  • That instance is the same $CI object. It's just passed around to different areas. There is a $CI->fuel object which is a child object on the $CI object (more on that here: http://docs.getfuelcms.com/general/fuel-object-structure). The $CI object …
  • The 1.4_dev branch is being worked on which is 3.0: https://github.com/daylightstudio/FUEL-CMS/tree/feature/1.4_dev
  • By default, the fuel_nav function will look for the $nav variable in the nav.php file. You can pass the "var" parameter to change this. So try the following: $nav2['side_menu'] = array('label' => 'Side Menu', 'location' => ''); $nav2['side_me…
  • Specify the 'group_id' => 'top_menu' like so: echo fuel_nav(array('parent_id' => 'top_menu', 'group_id' => 'top_menu', 'container_tag_id' => 'side_menu', 'item_id_prefix' => 'side_menu_'));
  • That's a good point... is it an issue only when using CKEditor?
  • You may need to change the language value in the fuel/application/config/config.php. You can do that at run time with: $this->config->set_item('language', 'my_language');
  • Are you able to access other file types in the assets/fonts folder (e.g. perhaps try putting an image in there)?
  • What type of files are you trying to upload? Also, what kind of mime type is your server reading it as (sometimes that requires hacking into the CI Upload class to determine what the mime type by debugging the CI_Upload::file_type)? Also, there is …
  • That sounds like it may be an issue with your web server. Make sure your web server is setup to serve up the different font types.
  • Be default, the model will use an "OR" clause for the query. To change that, add the following property to your model: public $filter_join = "and";
  • You can use the {fuel_block('my_block')} in a text area field to insert a block, or you can create a block layout and use the block field type as a field type for your page layout: http://docs.getfuelcms.com/general/layouts#layouts_block_layouts ht…
  • There is also a special field you can specify with a key of "__FORM_BUILDER__" which will pass configuration parameters to the Form_builder object. In your case you could do something like the following in your form_fields method: $fields['__FORM_BU…
  • Yes. Here they are: https://github.com/daylightstudio/FUEL-CMS/releases/tag/1.3.1 Upgrade notes we recommend using GIT and pulling in the changes from GITHUB (you may need to resolve a couple conflicts with files in your application directory depen…
  • Their are a couple model classes already that are used for modules and extend MY_Model (MY_Model, fuel/modules/fuel/models/Base_module_model.php and fuel/modules/fuel/models/Base_posts_model.php). Their files look similar to the following: require_o…
  • There was a bug in the fuel/application/config/editor.php config where it was using 'contentCss' instead of 'contentsCss'. This has been addressed in the most recent version 1.3.1 that was released last week.
  • The modules/fuel folder contains the language files for the core FUEL distribution. Those files match the files in the fuel/modules/fuel/language/ folder. I actually just pushed so please pull again.
  • There currently isn't an advanced module for that but would recommend using Google Analytics.
  • It looks like the block is saved in the CMS correct and not in the application/views/_blocks/ folder? If so, you can just use: <?=fuel_block('block_name')?> If it's saved in the CMS, the pencil icons for inline editing should appear if they ar…
  • Try adding the following to your model: public $filter_join = 'and';