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)
-   -   How can I give Fulfillment Staff Gift Certificate access? (https://forum.x-cart.com/showthread.php?t=14781)

Hyperdelicious 06-24-2005 07:53 AM

How can I give Fulfillment Staff Gift Certificate access?
 
How can I give my fulfillment staff access to manage gift certificates?

I've added the menu item. Gift Certificates with url /admin/giftcertificates.php ... however, when clicking the link a "Page not found ... The requested page does not exist or you are not allowed to access it!" error is thrown.

Any ideas?

x-cart 4.0.13

sstillwell@aerostich.com 06-24-2005 08:08 AM

Here is how I did it.

copy all of this into your fulfillment/menu.tpl
Code:

{capture name=menu}
{$lng.lbl_orders}

{$lng.lbl_categories}

{$lng.lbl_statistics}

{if $active_modules.Gift_Certificates ne ""}
{include file="modules/Gift_Certificates/gc_admin_menu.tpl"}

{/if}
{/capture}
{ include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_management menu_content=$smarty.capture.menu }



add the following lines in fulfillment/home.tpl
Code:

{elseif $main eq "giftcerts"}
{include file="modules/Gift_Certificates/gc_admin.tpl"}


right before
Code:

{else}
{include file="common_templates.tpl"}
{/if}


Hyperdelicious 06-24-2005 08:15 AM

fulfillment staff gift certificate access
 
Thanks sstillwell ... your awesome... this worked great!


All times are GMT -8. The time now is 11:09 AM.

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