Presumably the lookup table must reflect the fuel relationships table? The lookup table is actually modelling a Laravel pivot / lookup table, so adding the Fuel relationships columns candidate_table and foreign_table, whilst not drastic, seems unnec…
Well, there was an error that was being suppressed that I didn't notice at 1st. The immediate query before this seems to be:
SELECT `authority_installation`.* FROM `authority_installation` WHERE `candidate_table` = 'installations' AND `foreign_tabl…
In other environments however, removing the cache key from assets_folders results in the cache file being located in the assets root. So now I'm doing this...
// odd we have to do this... if(ENVIRONMENT !== 'production') { $config['assets_folde…
OK this is something to do with the case of the model and controller names in the blog module - lower casing them seem to solve the error. I think I may have been in this situation before!
So how do you guys use it? Would you "release" new assets files by specifying a new date? I'm right in thinking that the use of a date format here is sort of irrelevant (excepting that it's a unique string format, so useful to trigger browser refres…
http://www.solarforschools.co.uk/
This has been around for 18 months or so, but it keeps on growing. Features javascript and PNG graphs, solar panel calculators, autocomplete database lookups and more.
Yes - I use this a lot now with all sorts of resources - queries especially like so:
// try cache $cache_id = 'mycache'; if(!$data = $this->fuel->cache->get($cache_id)) { $this->load->model('data_model'); …
No it's a regular controller view. I tried using the headers to prevent cacheing, and the asset library continues to optimise and concatenate the scripts & css, which is what I wanted, and it all seems to work. I just wondered if there was a "Fu…
OK - some gap here, but I found a related solution:
$config['modules']['pages'] = array( 'sanitize_input param' => array('template','php'), 'hidden' => TRUE // we don't want this showing under modules );
This appears to work, but fe…
Twitter 'image', 'title' and 'description' as CMS fields (maybe 1 extra for 'type'), a helper to do the meta tag rendering (as there is for the OG tags). The social config could hold the account specifics for the 'site' tag too?
As per https://dev.…
Further to the above, the select fields had foreign keys set too, and were referenced in a products model.
I'll try using it again and see if I hit the same issue. The url is arbitrary I suppose, the method for populating the sub category options c…
Darn - I never saved the code to Git, and used my own to solve the problem, but it was something like:
$fields['subcategory'] = array('type' => 'dependent', 'depends_on' => 'category', 'url' => '/fuel/products/ajax_subcategories');
The me…
I found the need for this issue again recently. I suppose what I really wanted was an efficient way of finding if a page has content, and if it is published. I wrote my own helper to do this, so it returns false if nothing matches the uri location, …
OK I looked at the nav block for the admin menu, and it seems to give the $perm value as "sms/customer_messages" which it wasn't as a "name" in the permissions table. So I changed the "name" value to "sms/customer_messages" and this makes the nav li…
More importantly, that advice doesn't seem to filter in practice.
I would expect the left hand side of the tags combo field to show only the category_id's specified - this doesn't seem to happen.