2013-12-17, 04:43:31
(2013-11-29, 18:52:30)mganko Wrote: Hi,
I have installed I18N plugin version 3.2.5 on my GS 3.2.3 and found a bug in Multilevel navigation.
When I go Edit Navigation Structure menu and do not change anything, just click Save Navigation Structure, order of pages are changing, every time. Also it's impossible to save pages in selected order.
Steps to reproduce:
1. Download and install clean GS 3.2.3
2. Install I18N plugin v 3.2.5 and enable only I18N in plugins tab.
3. Create page with title: test1 and test2.
4. Go to Edit Navigation Structure and click Save Navigation Structure
mvlcek, could you check it?
I've fixed this bug by replacing line 197 in file:
i18n_navigation/structure.php
from this:
PHP Code:
$pages = subval_sort($pages,'sort');
to this:
PHP Code:
$pages = subval_sort($pages,'sort','asc', false);
mvlcek, please check my solution and update your plugin, without this fix using i18n_navigation plugin to create navigation structure is unusable (random order of pages every time I save changes) on GS 3.2.3 (I've not tested other versions).
http://flexphperia.net - my portfolio