I think the Advanced Module is the way to go, so I just extended the user_guide Module for that. Perfect place.
Thanks for pointing out the alternative way. Good to know.
yes, but I got this error:
Error Number: 1055 Expression #16 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'temp.posts_count' which is not functionally dependent on columns in GROUP BY clause; this is incompatible wi…
The page loads fine without get_categories_linked() - I think it tries to gather info() about the category module, but can't access it. It's hard to tell.
I came across the same error (MySQL 5.7)
Error in query (1055): Expression #16 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'temp.posts_count' which is not functionally dependent on columns in GROUP BY clause; thi…
I'm just going to talk to myself here, sometimes it helps writing things out . If someone can help, that would be great!
/** * Submit a new Entry * @return void */ function submit() { // needed for the flash data $this->load->lib…
What is best practice to share a model with frontend? reusing all the hooks etc? Is that possible without problems? What if I use $this->fuel->admin->set_notification in the hook? That wouldn't work in the frontend?!
Got it, I need to load
$this->load->model('partner_items_model'); $fields = $this->partner_items_model->form_fields();
before $this->form_builder->initialize
If using table_headers in Simple Module config you need to add the ID/Primary Key column to show EDIT/DELETE!
$config['modules']['tests'] = array( 'module_name' => 'Test', 'module_uri' => 'tests', 'model_name' => '…
My DB ist setup correctly, but Umlauts or any other special characters are encoded (ü => ü). I don't think that's good. Content should go into the DB unchanged and be sanitized when outputted.
It also makes problems with filters in the backend…
Ok, i found the culprit with the checkbox (not showing checked if the value is true)
In Form_builder.php set_field_values($values) there is a condition, checking if a checkbox value is true/1/y/yes and as stated in my initial posting, postgres tr…
This works as well and renders two radio fields
'pr_freigegeben' => [ 'label' => 'Freigabe', 'type' => 'enum', 'mode' => 'auto', 'options' => [ 'f' => 'nein', 't' => 'ja'] ],
This works as well
'pr_fre…
'type' => 'select' works as expected and writes the correct values to DB.
It would be great to emulate somehow the yes/no ENUM behaviour that FUEL CMS uses (to create toggles in the listing etc) and to use checkboxes since that communicates the…
Just for the record, this was the solution by @atticusservices:
$db['master_db']['hostname'] = "db01.website.com"; $db['master_db']['username'] = "root"; $db['master_db']['password'] = ""; $db['master_db']['database'] = "database_name"; $db['mast…
According to this issue, using the About.php Controller and a /views/about.php opt-in controller doesn't work anymore as described here: http://docs.getfuelcms.com/general/pages-variables#static, right?
Thanks for hinting Kint depth limit. It works to lower the limit.
In case someone is interested in it:
I installed Kint via composer (so it's available in the framework, see config.php -> $config['composer_autoload']).
Created \fuel\appl…
Hey,
I managed to implement Codemirror as custom field. It works great for Markdown fields, config fields (with json or yaml content) or just html.
The steps are laid out here: https://gist.github.com/marcus-at-localhorst/90a5bfa41e5affcb2d664b4…