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

  • David (or Dave): http://thedaylightstudio.com/about
    in Permissions Comment by admin May 2013
  • Are you saying you submitted a pull request for this or that you are wanting to do one on the 1.0 branch?
  • CKEditor doesn't like inline styles. I would recommend adding the following to your paypal_button field to remove CKEditor for that field: $fields['paypal_button']['class'] = 'no_editor';
  • Hmm.. I'm not seeing that error. I have the following class in the application/models folder which is getting loaded when the the $config['module_overwrites']['pages'] is used above. require_once(FUEL_PATH.'models/fuel_pages_model.php'); class My_p…
  • Does it work if the permissions just use "courses"? It should match what the module's name is.
    in Permissions Comment by admin May 2013
  • Those functions return blog post objects in which you can use there url property like so: $next_post = $this->fuel_blog->get_next_post(); url?>">NEXT
  • There is a $this->fuel_blog->get_next_post() and $this->fuel_blog->get_prev_post() that you can use to get the next and previous post. However, if you are wanting to get a specific month or even year, you can browse the posts as such: /b…
  • OK... that would explain the content_formatted not working. That's a 1.0 feature.
  • This is using FUEL 1.0 correct?
  • If you are using the 1.0 beta, you'll need to use the parameter "ignore_representative" if you field name is "image". You can add validation in your on_after_post hook with something like the following (haven't tested it out): function on_after_post…
  • content_stripped simply runs the strip_tags function on the $post->content values. Does strip_tags($post->_content) work?
  • To use a different model for the pages module you can use the modules_overwrites key in the MY_fuel_modules.php file like so: $config['module_overwrites']['pages'] = array('model_name' => 'my_pages_model', 'model_location' => 'app'); Are you …
  • The CRUD functions work when you route them to the fuel/modules/fuel/controllers/module.php controller. That module gets generated just in case you don't want to use the CRUD functions for you module at that specific URI path. A lot of the "tools" m…
  • That sounds like you may need to apply the CSS background color on a parent element but tough to say.
  • Why don't I send you a zip of what I generated and then you can test it out on your end and we can better see what the issue is hopefully. Is the email in your profile where I should send it?
  • I see... can you just use strip_tags on it? If you are using the 1.0 beta, there is a "_stripped" formatter you can use: <?php echo $post->content_stripped?>
  • I'm not quite sure I understand. Does the archives sidemenu block use images in it?
  • Just so I'm clear, these are the steps that I did to get to the simple CRUD functions: 1. Used the command line to create the advanced module: php index.php fuel/generate/advanced example 2. Used the command line to create the simple module in the …
  • If you have an advanced module with the same name as a simple module, they'll compete for the same fuel/example URI and the advanced module wins because it has the controller. If you are just wanting to do CRUD functions on the example model, you do…
  • The CRUD functions of an advanced module would essentially be the CRUD functions of any of its sub modules. The blog advanced module is a good example of this. Not that it has a fuel/modules/blog/config/blog_fuel_modules.php file that contains the "…
  • You would need to alter the fuel.css or add an $config['xtra_css'] in your MY_fuel.php which points to an additional CSS file that will be used to overwrite the current fuel.css. $config['xtra_css'] = array('my_fuel.css'); This will look for a css f…
  • Hmm... at the bottom of fuel.php it includes the MY_fuel.php file which will overwrite any config values with the same name.
  • Think of Advanced modules as another "application" folder. You can add your own models folder and module configuration file. More can be found here: http://www.getfuelcms.com/user_guide/modules/advanced Additionally, the 1.0 beta has command line g…
  • Try adding "swf" to the "editable_asset_filetypes" config parameter in your MY_fuel.php config file: // specifies what filetype extensions can be included in the folders $config['editable_asset_filetypes'] = array( 'swf' => 'swf', 'images' =>…
  • Are you trying to upload it to the assets/swf folder?
  • You can use jquery to target a specific node in that page if you can't get rid of the header and footer. See the jQuery "load" method. You could use the is_ajax() function in your header and footer to determine whether to render them based on if it'…
  • The css being pulled in depends on what is in the header of your page. The blog has a header that it pulls in which has a blog.css file which would need to change based on your designs. With regards to loading in the blog post on the same page, are…
  • The blog module is made up of several "simple" modules with the most important one being the blog_posts module. This module uses the blog_posts_model to house the information for the blog posts. Categorizing the posts is done with the blog_categorie…
  • Good to know. Thanks for reporting back.
    in CI_Session Comment by admin May 2013
  • Yeah... jquery should probably be the first because it will look for that $ variable for your plugins.