Hello,
is it possible to sort the menu items in the backend. I forgot to list one item and now it is not possible to place it for example at the second place.
When i reorder the items in the backend, nothing changes at the frontend.
I work with the SPPageBuilder.
Best regards
cruisi
Sorting of the menu items
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Sorting of the menu items
Hi, when you reorder the items in administration, you should see the reordered items in frontend. Do you use some cache on your site?
See image:
Jan
See image:
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 8
- Joined: 02 Aug 2017, 14:40
Re: Sorting of the menu items
Hello and thanks for your answer,
unfortunately it doesn't work, although there is no caching activated - not in the Joomla configuration and not in the configuration of the component. I have implemented the menu with the SPPage Builder, but although when i create a new page after i reorderes the menu, the page will display the old order of the menu items.
Do you have another idea?
Regards
unfortunately it doesn't work, although there is no caching activated - not in the Joomla configuration and not in the configuration of the component. I have implemented the menu with the SPPage Builder, but although when i create a new page after i reorderes the menu, the page will display the old order of the menu items.
Do you have another idea?
Regards
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Sorting of the menu items
Hi, which version do you run? Really no idea, as this ordering works from beginning of the component, and until now I get no info that it does not work - testing now on 3 different servers, without any problem. It is just a basic feature. Do you use some template which can override component outputs?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 8
- Joined: 02 Aug 2017, 14:40
Re: Sorting of the menu items
Hi Jan and thanks for your answer,
these are my system infos:
- Phoca Restaurant Menü 3.1.0
- Joomla 3.7.4
- PHP 7.0.20
- Template: https://themeforest.net/item/joomla-res ... a/13548747 (this Template works with the SPPage Builder and with a special plugin for your Component, to implement the menu easy with the SPPage Builder)
I also have asked some minutes ago the support of the template.
Regards,
Denis
these are my system infos:
- Phoca Restaurant Menü 3.1.0
- Joomla 3.7.4
- PHP 7.0.20
- Template: https://themeforest.net/item/joomla-res ... a/13548747 (this Template works with the SPPage Builder and with a special plugin for your Component, to implement the menu easy with the SPPage Builder)
I also have asked some minutes ago the support of the template.
Regards,
Denis
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Sorting of the menu items
Hi, the important information should be:
Does this template override somehow the component (Joomla! templates can override Joomla! components - so when component has some view, such can be created in the template and then the view of the template is used)
The next problem can be a cache, you will reorder the items but in the frontend, the outcome is still the same as it is loaded by cached page
Jan
Does this template override somehow the component (Joomla! templates can override Joomla! components - so when component has some view, such can be created in the template and then the view of the template is used)
The next problem can be a cache, you will reorder the items but in the frontend, the outcome is still the same as it is loaded by cached page
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 1
- Joined: 10 Oct 2017, 21:16
Re: Sorting of the menu items
Hi,
problem is in SP Page builder. Find the file templates\...\sppagebuilder\addons\restauran_menu\tpl\dotted.php. Change the line 23-24:
. ' WHERE `pmi`.`catid` = ' . $id
. ' ORDER BY ordering ASC';
Than its works.
If you use other style of menu you must change default.php, but I dont know the line.
Giro
problem is in SP Page builder. Find the file templates\...\sppagebuilder\addons\restauran_menu\tpl\dotted.php. Change the line 23-24:
. ' WHERE `pmi`.`catid` = ' . $id
. ' ORDER BY ordering ASC';
Than its works.
If you use other style of menu you must change default.php, but I dont know the line.
Giro
-
- Phoca Newbie
- Posts: 8
- Joined: 02 Aug 2017, 14:40
Re: Sorting of the menu items
Hello Giro,
you made my day - thank you very much. That was the perfect solution, also in my file it was the line 12 instead of 23.
Best regards and thanks again,
Denis
you made my day - thank you very much. That was the perfect solution, also in my file it was the line 12 instead of 23.
Best regards and thanks again,
Denis
-
- Phoca Newbie
- Posts: 8
- Joined: 02 Aug 2017, 14:40
Re: Sorting of the menu items
Hello and also thanks for your answer. But the solution from Giro works now perfectly for me. But i will try your solution also.
Best regards,
cruisi
Best regards,
cruisi
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact: