So now with setting to true I got another issue... Now I rembember why I set it to false :-)
I have 2 has_many relationships in my missions_model: mission_images and mission_vehicles.
In my create and edit form I only want to display the vehicle r…
aaaah it was a pretty simple error... a RTFM error ;-)
I somehow set $clear_related_on_save to FALSE. I cannot remember why I did that during development... but setting to true worked ;-)
My issue is another. Let's say I have 4 of 10 checkboxes ticked. Now I deactivate one of them and click on save. I would expect the unticked relation to be deleted.
This doesn't happen.
Before I updated the CMS to the most actual version with the …
As a workaround I copied the safe_mailto to a custom function in my_url_helper and replace german umlauts html represenations in $title before encoding the whole thing... seems to work :-)
Hi,
got another issue with the form builder.
The contact form works fine with a cms page.
Now I have another form:
The form is loaded via a controller which loads the cms page. But in this case the cms page is a special layout which results in la…
OK... problem is as following:
My homepage is determined via a controller homepage with the method index. In the index method I am loading a cms page called startseite.
Now in Fuel_pages.php in line 598 the cms checks is_home with startseite as par…
Hi,
OK... I debugged a little more... seems to be an issue at another place. I found out, that actually the index method of my homepage controller is called.
I am going on investigating the issue and give feedback.
Hi,
on trial and error by single copying files and comparing with a previous working commit I found out, that after using the new Fuel_pages.php the issue occurs.
On var_dump debugging this file I found out the added line 597 overwriting the locat…
Hi almostcompletely,
if you have finished your gallery approach, please let me know :-)
This sound like something I can also use in my current project...
So I have a vehicle model which has a has_many relationship to missions.
In the frontend I want to show only the last 5 missions of the vehicle.
Because of this I want to lazyload the relationship.
At the moment I overloaded the get_missions with a…
In my model I have
public function get_missions() { $miss = $this->lazy_load(array('id' => $this->mission_id), "missions_model", true, array('order_by' => 'datum_beginn desc, uhrzeit_beginn desc', 'limit' => 5)); …
I have migrated the CI page of the volunteer fire department of Bad Soden am Taunus in Germany to FuelCMS.
http://www.feuerwehr-bs.de
We went live today. Some features are still missing, but the whole thing is pretty cool!
Thanks for your suppor…
Then this would be a good feature for a future release :-) Perhaps a module parameter to controll wether to redirect to the list view or remain on the form view.
In my model I have
public $boolean_fields = array('beruf_zeigen', 'geburtsdatum_zeigen', 'eintritt_zeigen', 'bild_zeigen'); public function list_items($limit = NULL, $offset = 0, $col = 'id', $order = 'asc', $just_count = FALSE) { $this…
hmm ok.. I think i got the problem...
in my list_items I overwrite the select with show_image as bild_zeigen.
Now in the post it says /toggle_off/10/bild_zeigen instead of toggle_off/10/show_image
@Admin: is there a possibility to get this working …
Hi,
in the console I see the post as http://demo.feuerwehr-bs.de/fuel/mannschaft_members/toggle_off/10/beruf_zeigen ... but where do I have to implement this "toggle_off"? do I just have to write a method in my model? or is it a hook I have to over…
Hi,
if you select a field in list_items with assetActive as active then you have to define the public $boolean_fields with the value active and not with assetActive.
Perhaps this is your error?
KR
Habib