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)
-   -   Add News Management To Fullfilment Staff (v4.4.4) (https://forum.x-cart.com/showthread.php?t=62003)

scalemar 12-12-2011 01:16 PM

Add News Management To Fullfilment Staff (v4.4.4)
 
I try to add newsmanagement to the fulfillment staff access panel, but I did something wrong,because I get a message from de admin panel
Page not found! The requested page does not exist or youare not allowed to access it!

Here is what I did:
Go to the following directory:
Quote:
\xcart directory\include\security.php

As you have located that file, you need to look for the following line:

Quote:
if ($user_account["flag"] == "FS") {
$_fulfillment_scripts = array(


Between the percentiles are the pages which the fulfillment staff are allowedto access.

I put News.php in there the fulfillment user will be able toaccess the News management feature.

Now that▓s only step one. What you also need to do is you need to go to:


xcart_directory/skin/common_files/fulfillment/home.tpl


Once your there, you insert the link to that page. In this caseyou would insert the following code in the menu section:
Quote:
{include file="../skin/smart_template/customer/news.tpl"}

Now is supposed to be fine, but in the fulfillment panel, shows the News tab,but the link not work.


Please somebody tell me, what I need to do more.

Thank you

Moses
X-cart 4.4.4
Smart template
CDSEO Pro

cflsystems 12-12-2011 05:14 PM

Re: Add News Management To Fullfilment Staff (v4.4.4)
 
First is not News.php but news.php. Second you are adding a template but you need to add a link (<a> tag) for news.php, third make sure that template you are calling actually exists and it is there


All times are GMT -8. The time now is 01:39 PM.

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