X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Template file that display's admin menus? (https://forum.x-cart.com/showthread.php?t=17815)

TelaFirma 11-08-2005 04:23 PM

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.

Mr Bob 11-08-2005 09:47 PM

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 :(

balinor 11-09-2005 03:37 AM

That's because there is no menu_admin.tpl, you need to create it.

Mr Bob 11-09-2005 07:44 AM

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.

balinor 11-09-2005 07:46 AM

It goes in skin1. Needs to have some content in it. Make sure it has the correct permissions as well.

Mr Bob 11-10-2005 11:38 AM

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:14 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.