Guest Posted February 20, 2004 Posted February 20, 2004 Hi osCommercer's !!! I have to customize several things and I'm looking for the best way to do this: 1. I want to setup a second admin area, which offers less features than the full admin area. I need this for people who only insert articles and some things more. For example in that second admin area the following sections should not be displayed: - Configuration - Modules - Contries/Taxes - Languages/Currencies - in the last menu I only need the topics Newsletters and the Email section How can I do this ? These things should really not be displayed. I don't care of hacking the code, but look for a way to do it much easier with the possibilty to simply add removed sections again at a later time, when needed. 2. The same I have to do with the shop itself. A lot of the boxes are not needed but will maybe be added at a later time. I want to hide the following sections and functions: - The "What's new" section - The quick search box - Bestsellers - Reviews - Search for manufacturers - Specials - Manufacturer Info - Notifications - Tell A Friend It's the same as described above. These things should not be displayed, but may be added again at a later time, when needed. Thanks for your help, Daniel
♥yesudo Posted February 20, 2004 Posted February 20, 2004 1) they appear in admin/index.php not sure if you make an admin/index2.php(giving this addy to the article inserters) and comment out the relevant sections. 2) you can comment them out in either: includes/column_left.php or includes/column_right.php depending on where they appear. n.b. no 1 above seems a bit to simplistic - there is probably more involved/required - maybe someone else can advise ? Your online success is Paramount.
Guest Posted February 20, 2004 Posted February 20, 2004 Hi, >1) they appear in admin/index.php > >not sure if you make an admin/index2.php(giving this addy to the article >inserters) and comment out the relevant sections. I want to add a complete second directory for the 2nd admin area and secure it with another password. Thanx for your suggestions, I think I know where to start now ... Daniel
Chris Dunning Posted February 20, 2004 Posted February 20, 2004 I would definitely create a second admin directory with a different password - go into index.php and comment out the sections that you don't need, then delete those modules from that directory so noone can get to them by just typing in the URL. If you want to put them back in later, just go into index.php and un-comment what you need - then copy the modules back over. You might also want to check out a contribution called "Admin Access With Levels" - I haven't used it, but it sounds like it could be just what you need. Chris Dunning osCommerce, Contributions Moderator Team Please do not send me PM! I do not read or answer these often. Use the email button instead! I do NOT support contributions other than my own. Emails asking for support on other people's contributions will be ignored. Ask in the forum or contact the contribution author directly.
ibandyop Posted February 20, 2004 Posted February 20, 2004 Not specific to above. But you can save some time if you have many database changes. Dump the database to a SQL text file. Make changes to it in a Text editor Upload the changes. ibandyop
Recommended Posts
Archived
This topic is now archived and is closed to further replies.