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)
-   -   Creating static page -- ONLY show in Admin Area (https://forum.x-cart.com/showthread.php?t=7560)

jeremye 05-13-2004 09:03 AM

Creating static page -- ONLY show in Admin Area
 
I want to create a new static page that will ONLY show in the admin area, not the customer area.

Using the "Static Pages" feature seems to only post pages for the customer area for everyone to see. How can I accomplish this?

Thanks.

B00MER 05-18-2004 04:49 AM

You would need to mod the pages table and add an extra field with a User type letter for that particular page, IE, C for customer, P or A for admin/provider and maybe blank for all to see. A condition would need to be setup then that would read these values in the {section} loop of the pages.tpl.

hth. ;)

jeremye 05-18-2004 04:56 AM

Thanks for the tip Boomer. I finished this a few days ago, all I did was make a copy of a file such as skin1/.../admin_menu.tpl and add my links to it, and then add a reference to it in single/home.tpl. It works out great since I only want it to show up in the admin area.

Thanks again.


All times are GMT -8. The time now is 08:02 PM.

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