![]() |
Template file that display's admin menus?
What's the template file that is supposed to display the admin menus?
Example menu (on the left): Management Products Inventory Help Right menu Authentication Administration Your profile |
Open the site up in webmaster mode, it will tell you exactly which template is which.
|
There are a few.
Left Product Management /skin1/provider/menu.tpl Left Admin /skin1/admin/menu.tpl Right Admin /skin1/admin/menu_admin.tpl others are: /skin1/admin/menu_affiliate.tpl /skin1/provider/menu_orders.tpl /skin1/single/menu_profile.tpl Just look around in the tempates directories... you will see them all. |
Quote:
After looking through all of the admin template menu files that TelaFirma posted (thanks btw), I think the template I need has to do with the {capture name=menu} code. It seems to display most of the output correctly, but it is missing the beginning of the table, as well as the closing. For example, the entire left side menu outputs this: Code:
Users |
If you move your mouse over a template name, it highlights it on the screen, so yes, it will show you EXACTLY what template is what.
|
I just tried that, and it only highlights the menus over the tpl files listed above, but there is something more.
I think it is the capture file that needs to be changed. But I am not 100% sure, nor know which one it is. |
Look at the close capture tag, and then the display tag directly following it. This display tag will tell you what template the data betweent he capture tags are displayed in.
|
I might not understand what you mean, but I don't see how that helps :/
What's the file used to actually take the information, and display it in the right format? Quote:
|
menu.tpl
|
My menu.tpl hasn't been modified....
Code:
{* $Id: menu.tpl,v 1.62.2.2 2005/02/15 09:09:21 max Exp $ *} |
I think that you need to be looking at menu.tpl in the /skin1/ directory, not the one in the /skin1/admin/ directory.
In the file that you just posted, that last line tells you what template that all the "capture" data is displayed in... { include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_management menu_content=$smarty.capture.menu } menu.tpl - and since there is no directory in front of it, that means that it is in the root of the skin1 directory. |
When I change menu.tpl to menu_admin.tpl, and change every menu.tpl value in the admin folder, to point to menu_admin.tpl instead, I get a ton of errors saying warning, unable to read resource menu_admin.tpl :(
|
That's because there is no menu_admin.tpl, you need to create it.
|
I wish it was that easy. I did crete menu_admin.tpl, and placed it in every possible directory. admin, skin1, skin1/admin, root, etc.
|
It goes in skin1. Needs to have some content in it. Make sure it has the correct permissions as well.
|
Verified that it is in the right folder and permissions are correct.
It must be something inside of the standard tpl file that is making an issue with the code somewhere. :roll: |
All times are GMT -8. The time now is 04:15 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.