Same problem here!
I don't know what is causing this but i can help debug.
I can switch php versions in mamp
- PHP Version 5.2.17 isn't affected by the bug
- PHP Version 5.3.6 is affected by the bug
If I log $_POST
- at top root index.php
-- …
@webcam
damn, finally figured it out.. It deletes the old entries 6 lines above
// clear out all other variables $this->pagevariables_model->delete(array('page_id' => $id, 'lang_id' => $this->input->post('lang_id')));
Hi admin,
I changed
UNIQUE KEY `page_id` (`page_id`,`name`)
to
UNIQUE KEY `page_id` (`page_id`,`name`,`lang_id`)
But the page_variables keep overwriting the old values I'm not pro enough to figure out why.
Although this give us somewhat of language support. One main annoyance it doesn't give us location/slug support.
Maybe i should take a look at webcam's implementation
@admin
5. Alter the fuel/modules/fuel/assets/js/fuel/controller/PageController.js
I solved this by triggering change event
$('#layout').change(function(e){ var path = jqx.config.fuelPath + '/pages/layout_fields/' + $('#layout').val() + '/' …
"The reason we that in there is so that textarea will always have the most recent value."
The problem is the textarea will only be updated on keyup. If you do other changes like formatting and stuff the changes aren't purged until keyup. Can't we al…