| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Creating static page -- ONLY show in Admin Area | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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.
__________________
Jeremy X-Cart Gold v3.4.14 [Linux/Apache] Heavily Modded |
|||||||
#2
|
|||||||||
|
|||||||||
![]() 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. ![]() |
|||||||||
#3
|
|||||||
|
|||||||
![]() 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.
__________________
Jeremy X-Cart Gold v3.4.14 [Linux/Apache] Heavily Modded |
|||||||
|
|||
X-Cart forums © 2001-2020
|