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…
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…
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…
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…
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?>
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…
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' =>…
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…