You can use the "post_process" hook. The first parameter passed to your hook will be an instance of the form object itself in which you can set the property.
How are you currently outputting the form on the page? e.g: <?=form('contact')?>
The forms.php config file has a default 'email_subject' line and 'email_from' parameter that is for all forms, however, you can specify it at the form level as we…
By default, the fuel pages module has the 'sanitize_input' module parameter of:
'sanitize_input' => array('template','php'),
The "template and "php" map to sanitization functions. The mapping is done by the 'module_sanitize_funcs' config function…
Hello mikegk,
A few follow-up questions:
1. Is the installation in subfolder on your webserver and if so, did you adjust the .htaccess "RewriteBase" to include that folder?
2. Does this help your situation:
https://codeigniter.com/user_guide/instal…
There is a property on the model called auto_encode_entities (inherited from MY_Model) which can be set to either FALSE or an array of fields that you want it performed on. The default is TRUE which will apply it to all fields:
public $auto_encode_e…
Also, it sounds like the server may not be providing a $_SERVER['SCRIPT_FILENAME'] variable. You can try defining one in the index.php bootstrap which would be the server path to the index.php CI bootstrap found in the root of the FUEL installation …
Usually that will happen if the indexer doesn't find a match with the delimiters provided in the config. I would copy the fuel/modules/search/config/search.php file to fuel/application/config/search.php and make changes to that file (which will over…
Thanks for your interest in the project. FUEL tends to target more custom website builds in which themes aren't as applicable so I unfortunately don't see themes coming to FUEL CMS anytime soon.
I believe that is new to 1.3.1 so I would recommend an update to either the develop branch or 1.3.1.
Try setting the default_col and default_order parameter to have the default table sorting be different then the display_field
For the post images, there is an "asset_upload_path" blog setting that by default is set to "images/blog". How are you referencing the image path in your post template (e.g. $post->image_path)?
You could perhaps try overriding the model's embedded_list_items function (which returns a string of the table) and insert the error above it:
public function get_embedded_list_items($params, $list_cols = array(), $actions = array('edit')) { $t…
1. What is the Blog URI in which you are seeing this problem? Also, what does the following output?
<?=$this->fuel->blog->theme_path();?>
2. What version of the blog module are you using (you can check the fuel/modules/blog/config/blo…
Also, I was seeing an error where the Session library wasn't loaded so this fix was just posted.
https://github.com/daylightstudio/FUEL-CMS-Blog-Module/commit/d35a23970cfe20ad9591c66e9a5e5695e9f4cd73
Is there another theme that it's pulling from (e.g. another post.php file that it may be pulling from). Also, for the comment reply try adding the following javascript file (located at fuel/modules/blog/assets/comment_reply.js) to your blog layout:
…
1. This looks to be a bug with the 1.1 update. I've pushed a fix for it here:
https://github.com/daylightstudio/FUEL-CMS-Blog-Module/commit/98ebd10544ac815097fe838f6a467f5bca52164c
2. Unfortunately, you can't style the Submit button with the auto ge…
You can debug the blog_posts_model.php file and look at line 656 or so at the "get_allow_comments" method. This should return a boolean value based on the blog config, the blog settings in the CMS, and the blog_posts record itself. $this->_CI->…
Are comments enabled for the posts? This is both in the Blog Settings in the CMS as well as on a per post basis. The views/themes/default/post.php file around line 48 has a condition check with if $post->allow_comments.
The $config['blog']['comment_form'] value in fuel/modules/blog/config/blog.php can be an array of initialization values for the Form_builder instance used to render the comment form:
http://docs.getfuelcms.com/libraries/form_builder
$config['blog']…
What version of the Blog module are you using (fuel/application/modules/blog/config/blog_constants.php displays it)? We just pushed out 1.1 a week ago. You can install the permissions using the command line running:
>php index.php fuel/installer/…
You may run into issues with not deleting it all before looping through to save in cases where you delete a repeatable row.
You are correct in that the values information is empty until saved so you have to check if it exists yet. You would need t…