If anyone stumbles across the same issue, I fixed it by basically renaming the controller, and adding a mapping in fuel/application/config/routes.php:
$route['foo/bar] = 'new_controller_name/bar';
One downside to this approach is that now the…
Been battling this since yesterday evening. Just started a thread here and then solved the issue!
I basically just replaced
$this->fuel_sitevariables_model->find_one
with
$this->CI->fuel_sitevariables_model->find_one
Interesting …
Thanks!
It's really simple stuff so far. On the horizon is:
* Ctrl+Clicking on fuel_block('blah') to automatically open up 'blah.php';
* Wizard for installing modules;
* Custom test runner for running tests using the FUEL CMS Tester module.
And m…
Hey David, thanks for the reply. Wouldn't using $foreign_keys yield the same result thugh? I mean the database structure would be slightly different as it'd use the fuel_relationships table, but in terms of display, the fields would look the same ei…
Thanks for the input, admin.
Would any of these suggestions work if the sites are all on different servers? They're all hosted in different countries, and I'm not sure whether the databases will be accessible externally on all of them either (meani…
I decided to alter the functionality so that instead of using a multifile field, the model automatically creates a folder for each created item, so the foldername is the id.
Im then planning to just link to the ckf_assets controller and pass it the…
Yes, this is for the backend cms. Just installed it and it works, sweet! Thanks a lot.
This doesn't alter how the multi-file field type works, though, right?
What I mean is that if the user presses the "Submit" button on a form built this way, the page reloads and the values that were entered by the user are all lost, meaning he/she has to type everything out again.
All I do in my controller is load th…
Thanks admin, I tested the form_fields() method. No way to alter the fields using it though as it's a getter. I'm a bit stuck at the moment: the config alteration approach you showed would work great but I wanted to make use of FuelCMS's built-in fo…
Yeah, exactly. Something just before rendering.
The idea of altering the config sounds good! I'll try this, thanks. Would it be possible to alter the field of a form received from the database, though? Obviously loading a form from the model using …
Oops, I overlooked the "Kitchen sink" example in the documentation!
http://docs.getfuelcms.com/modules/forms
Basically, ended up creating a another method in the controller that sets up the array I used to have in forms.php. Then I create a new for…
I swear I thought it gave me an error a couple of days ago when I named the filter something that was not the name of a column. Gahh! This is so simple after all.
Massive thanks
Thanks for the reply, admin. I didn't notice that line before. Uncommented it and tried refreshing the page. It showed a SELECT without a WHERE clause.
What caught my attention, though, was that the friendly "Filters:" string next to the items show…
Apparently I set up the permissions wrong. I imported the files from blog module v1.1 and noticed the way permissions were set up was changed in v1.1:
https://github.com/daylightstudio/FUEL-CMS-Blog-Module/blob/master/config/blog_fuel_modules.php
…
Sorry, I don't recall if I tried that, it's been a few weeks now. After hours of scratching my head I ended up simply adding an @import in the CSS that links straight to Bootstrap's CDN and loads the font I need
Thanks for the help!
Thanks for the replyes guys. Even setting the fonts folder to full permissions didn't solve it, I'm simply transferred to the FuelCMS's generic 404 page.
I do not see the full structure of the server, only a folder dedicated to this one website. Co…
Hey, I was wondering how to upgrade from 1.1 to 1.3 myself. The thing is I have not used git since the beginning of the project, and just recently set up a repository to which I simply added my project directory. Meaning there was no interaction wit…
Ah alright, I'll keep that in mind thanks! It seemed like different slugs were a good idea at first, but yeah it makes sense having them in one language is better for web crawlers.
Nope, it doesn't exist. It somehow still caches the other page. Or maybe just goes to the first 'child' page in the navigation tree, I don't know.
Actually... wait, I just tried it out in IE (was previously using FF). It's probably a local caching …