ADDITIONAL FIND:
I figured if I change the database field name to "content" similar to the blog post module, it would work (don't know why I thought this). I did and it did work! I also tried naming it "paypal_content" and it worked also......
I'm not using any hooks. I also tried the on_before_validate suggestion. I don't see anything wrong with it.
I have a bare bones setup. It's a simple module with no added tweaks.
INTERESTING FIND:
When I change the database field name from "paypal…
RE: When you say it won't save do you mean that it blanks out the contents of that field or that the changes to the field don't get saved?
Changes to the field doesn't get saved. It doesn't save other fields as well if I try to save paypal button c…
FYI, something as simple as will cause it to not save. I'm sure it's got to do with some filtering... I'll take a look around to see what could be causing the issue, but if you have any idea, please let me know.
Dave,
I actually tried something similar to that earlier. It didn't work. I tried: $config['modules']['courses_courses'] = array( .. 'sanitize_input' => array('template','php') );
and $config['modules']['courses_courses'] = array( .. '…
I tried that with the following code: function form_fields($values = array()) { $fields = parent::form_fields($values); // ******************* ADD CUSOM FORM STUFF HERE ******************* $fields['paypal_button']['class'] = …
Update: I was able to find a work-around. I saved the block of code on my local machine then uploaded it. It works now... but for some reason, if I add certain html directly through the CMS, it won't save properly...
when i try to add the following code within a block using CMS, it won't save. it works for simple html code like test
Interested in in-home tutoring?
Click here to see if it's available in your area.
i just tried that and it didn't work...
this seems related to another problem i had when i try to load a module model. for some reason, it will only pick up models in the application folder (non-module folder).
i will do a fresh install and see if…
i see a blank page.
i created the view in
/fuel/modules/appointment_booker/views/themes/default/contact_us.php
to load that, i used
$vars['body'] = $this->load->module_view(APPOINTMENT_BOOKER_FOLDER, 'themes/default/contact_us', $vars, TRU…