Page 1 of 1

How to change order of admin menu

Posted: Mon Mar 06, 2017 3:37 am
by duyquyen1710
Hi all!
I need to change order of some menu like the picture i've attached
- location 1->2 and 3->4.
I don't know what file i need to edit. I changed order of some line code of php file in News module but not effected
Please help me. Thank you so much!

Re: How to change order of admin menu

Posted: Mon Mar 06, 2017 4:08 am
by duyquyen1710
i've found that may be in .tpl folder
Thank you!

Re: How to change order of admin menu

Posted: Mon Mar 06, 2017 4:55 am
by Rolf

Re: How to change order of admin menu

Posted: Mon Mar 06, 2017 8:34 am
by duyquyen1710
Hi Rolf!
Thank you for your answer. With News module it's ok but with Cataloger module i can't find that. It's seems use core file or link to core file to Add New Content. I'm looking for in Admin folder but don't know what file to edit. I need to change order or disappear some input (example disappear "Menu Text:", take Page Alias and Description of Cataloger module to first tab) but don't know where. It's not easy for the uncoder like me.
Best regard!

Re: How to change order of admin menu

Posted: Mon Mar 06, 2017 8:43 am
by velden
At some point one should accept the setup like the developer intended to. It is possible to change some stuff in admin templates (module_custom method) but it could lead to problems after future upgrades (because the module developer may change the admin templates but those changes will be overruled by the custom template you make).

Note that other changes than through module_custom are not supported and will not be allowed to be posted in this forum. We consider those 'hacks'.

Re: How to change order of admin menu

Posted: Mon Mar 06, 2017 8:49 am
by duyquyen1710
The reason is i'm changing module Cataloger to module News. I have more than 2000 items in Cataloger and it made my website slowly. I think module News can make it faster. I copy and paste, copy and pase many times and so boring. I need to change order of Cataloger, News modules to reduce steps that hurt my hands T_T

Re: How to change order of admin menu

Posted: Mon Mar 06, 2017 3:37 pm
by Jo Morg
Yeah, that's what I would call a typical example of misuse of Cataloger... ::)
Being a module that uses content types for it's organization it's meant for portfolios and small catalogs not 1000+ items... as much as CMSMS contents is not meant for those many pages either. For that you should use the more specialized modules such as LISE for a few thousands of records or, of course, the one that is actually designed for that: Products!
You can probably get away with using News for that, but IMnshO you're going to get cornered again sooner or later.
I know it's not the sort of reply you wanted, but this thread may help others decide BEFORE they start a catalog like site, to make an informed decision.

Re: How to change order of admin menu

Posted: Thu Mar 09, 2017 3:04 am
by duyquyen1710
Thanks you!
I used Cataloger module because it has pretty Urls and Products module was not. I don't understand clearly about you advice me should use News module or Products module for my website because my english. I think you advice me give up News and import data to Lise or Products module. Thank you but I've imported all data to News module so i lazy to import again. My website (with 2000 items in News module) run very fast now, no delay and i very happy about that, that's all i need. I think other module can not reach that point. I need only a simple module to solve: speed, pretty url for Seo. I don't know speed of website in future when i have about 10.000 items but i think with 2000 items it's ok so with 10.000 it's speed ok too.
- Problem with News module is param detailtemplate's not working. I have searched in forum and found to use logical in detail template and it solved.
- Now i'm searching to call column long_name in cms_module_news_categories table and pass to tag to render in detailtemplate. I need breadcrumbs like "home >>long_name of category >> title of article". It's take me more than a day.
Thank you so much!

Re: How to change order of admin menu

Posted: Thu Mar 09, 2017 6:24 pm
by Jo Morg
Products do have pretty URL's (with URL slugs iirc) since 2.24 or something, over a year ago, and support breadcrumbs natively. And is IMnshO the best choice for your purposes, but that's CMSMS... many ways to get the same job done, just a matter to choose the best tool for the job.