Thank you, this worked form me.
$comment->subscribed = $this->input->post('subscribed', TRUE);
if ( empty( $comment->subscribed) ) { $comment->subscribed = 0; }
Okay tried that, didn't work. In my database the subscribed column Data Type is set to Tinyint, Length 1, Default '', Not Null yes.
Previously I had Default set to 1, I now have set this to 0 - and have observed that it always writes 0 - never 1.
Yes, correct, I tried that...
echo js('jquery-3.2.1.min').js($js);
echo js('comment_reply').js($js);
And got a complaint..
Uncaught SyntaxError: Unexpected token < in comment_reply.js?c=:1
Okay, so I have some functions declared in global.php that appears to be the issue.
Sorted, I had 2 <?php ?> blocks, reduced to 1 and it's working now.
No such luck won't even index search_test.php...:(
$config['nav']['tools']['tools/search'] = lang('module_search');
$config['tables']['search'] = 'fuel_search';
$config['search'] = array();
$config['search']['base_url'] = '';
$config['search']['ind…
Correct, it is.
Just logged at the console output...
jquery-3.2.1.min.js?c=:2 Uncaught TypeError: $this.filter(...).size is not a function
at HTMLSpanElement. (fuel_inline.min.js?c=:81)
at Function.each (jquery-3.2.1.min.js?c=:2)
at e.…
Oh right, the forum doesn't like me pasting that particular line of code into it.
I can confirm I have section id="main_inner" as the first value of the $config array as per your code above.
Great that works for me. Thank you.
This is the second model I've had to create, with the previous one I just created the relevant columns in sql just marked the fields that were required in the model itself.
This particular model I needed the fie…
Not sure why it pasted like it did above.. I have a slight variation on yours:
$config['search']['delimiters'] = array(
' tag on the end of the 'section'.. neither work.
Okay I've found this thread and it doesn't help for me.
My fuel_mode is set to auto.
If I specify 'sitevariables' in the third parameter I get...
*** http://localhost:3000/fuel/sitevariables/inline_edit/ - 404 Page Not Found
<?php echo fuel_v…
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
require_once(FUEL_PATH.'models/Base_module_model.php');
class Knowledge_Base_Articles_model extends Base_module_model {
function __construct()
{
paren…
I tried inserting that table class hook above into Knowledge_Base_Articles_model, but the hook didn't seem to launch - tried several hooks - nothing being observed.
php index.php fuel/tools/search/index_site
When I try and run this from the command line I get an error....
Type: Error
Message: Call to undefined function mysqli_init()
Filename: /vagrant/html/local.fuel.co.uk/fuel/codeigniter/datab…