Thanks for some input, that might makes some things easier or keep some config in the right place. I'll check it out.
I made a gist with a working approach (it's quite messy, but people who understand Fuel should be able to follow) https://gist.g…
I decided to give Select2 v4 a try and it works alright. I updated the gist with some raw code how to approach it: https://gist.github.com/marcus-at-localhost/16262b75a9a82854fd82474de7d0eb47
Quick explanation why Select2 3.x in the current version of Fuel is not working with ajax:
Select2 expects everything than a field to work with ajax (https://select2.github.io/select2/#data and https://stackoverflow.com/a/16345339/814031) - I do…
Thanks for the confirmation!
I think what throws me off the most is the fact that it's hard to find out which config variables have an effect and when or better why not at all.
Once I'm deep into Fuel CMS it all makes more sense, but in the beginn…
If yourdomain in http-vhosts.conf maps on C:/wamp64/www/cms/ (and that is the folder where the main index.php gets called from) then RewriteBase / in C:/wamp64/www/cms/.htaccess should be just that /.
I compared the rewrite log with my mine and …
Sorry, there was a change[1] this should work, I just tested it myself.
# your other rules ErrorLog "c:\wamp64\www\error.log" LogLevel alert rewrite:trace6
In the log file you should find rewrite related information.[2]
Here…
I wonder if there is a conflict because you have a physical folder called fuel and fuel is the controller to access the backend.
what if you rename the folder to /c/wamp64/www/cms ?
Open the network tab of your browsers developer tools.
If you click on the file/url that returned an error 5xx you should see in the response tab the error
Here is a better version of a migration script, that adds a new Fuel CMS user, sends an email so the new user can set a new password and applies the user role "Editor" which is a defined set of Fuel CMS permissions using the Group Access module .
…
I stumbled across the same problem (I think), to create a fuel user programatically.
In my case I used a migration script:
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Migration_add_user extends CI_Migration { …
Here is the other way around, if you need a record object in the model (to access a certain method or formatted strings).
$this->map_to_record_class($val) is the key.
class Locations_model extends Base_module_model { function list_item…
I guess I have to prepare and reformat the fields myself. This did it for me:
function on_before_clean($values) { $values = parent::on_before_clean($values); $fields = $this->form_fields(); foreach($fields as …
Yeah, the forum is fine, I set up some user styles and https://chrome.google.com/webstore/detail/syntax-highlighter/glelbammondmpalmahoabfpchnoonnpk helps with syntax highlighting.
Maybe I'm just spoiled by stack overflow and their up voting/accept…
Sorry for digging out this old question, but if someone searches for this, you can add tabs into the form flow as described above. (I couldn't find a solution here)
| Tab | Tab 2 | Tab 3 | [ form field 1] [ form field 2] [form field outside…
That works, yes. (tested it also with the news modul and this seems to work as well)
Is it possible to include that in the core?
Do you want me to open an issue on Github?
Exactly, I want to use one menu using fuel_nav() and the language is always the first segment as described in the docs ( $config['language_mode'] = 'segment'; ) - That works with the static pages, but not with the CMS pages, right (because slug has …
Thanks @admin for the confirmation.
Since I found a few hints about a separate frontend authentication here in the forum, but nothing really complete, I thought I share my work-in-progress on github, hoping that someone with more detailed knowled…
@Sigal - do you mean the "View" button from the Fuel backend listing?
What's the content of your MY_fuel_modules.php file look like?
Is it something like that?
$config['modules']['news'] = array( 'module_name' => 'Products', …
After more experimentation (and figuring out generated post pages) I suspect the **get_categories_linked() **problem has to do with me extending Fuel_categories_model class.
Here is what I did:
in MY_fuel_models.php add
$config['module_over…
Just for the record, in case someone is searching for that:
I replaced the dashboard with the other method you pointed out.
fuel/application/config/routes.php
$route['default_controller'] = 'fuel/page_router'; $route['404_override'] = 'fuel…