Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

How can I give Fulfillment Staff Gift Certificate access?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-24-2005, 07:53 AM
  Hyperdelicious's Avatar 
Hyperdelicious Hyperdelicious is offline
 

Senior Member
  
Join Date: Sep 2002
Location: In the Middle of Nowhere
Posts: 138
 

Default 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
Reply With Quote
  #2  
Old 06-24-2005, 08:08 AM
 
sstillwell@aerostich.com sstillwell@aerostich.com is offline
 

eXpert
  
Join Date: Jun 2004
Location: Duluth, MN
Posts: 242
 

Default

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}
__________________
No longer using Xcart, was good while it lasted.
Reply With Quote
  #3  
Old 06-24-2005, 08:15 AM
  Hyperdelicious's Avatar 
Hyperdelicious Hyperdelicious is offline
 

Senior Member
  
Join Date: Sep 2002
Location: In the Middle of Nowhere
Posts: 138
 

Default fulfillment staff gift certificate access

Thanks sstillwell ... your awesome... this worked great!
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:55 PM.

   

 
X-Cart forums © 2001-2020