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)
-   -   Embeded page also appeared on the new block (https://forum.x-cart.com/showthread.php?t=7000)

andyng 04-04-2004 06:20 AM

Embeded page also appeared on the new block
 
Hi,

I have created another new block shown in X-cart with other heading.

When I created an embeded page by clicking static page from Admin. area, the page was created under the Help block but also appearred on the new block that I created.

The code is something like :-

Code:

{capture name=menu}

CONTENT WHATEVER YOU ENTER HERE..........

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


Any body can help.

Thanks and regards,

Andy

X-cart v.3.5.4.

B00MER 04-07-2004 01:06 AM

You'll need to edit the pages.tpl and add an if statement not to include that specific pageid in the list or it will be embeded.

andyng 04-07-2004 06:57 PM

Embeded page also appeared on the new block
 
Hi,

Since I am not a programmer and not familiar how to write the code.

Could you mind to give me more details about the code?

Besides, I would like to confirm that I need to put the code inside the content of the new block so that it will ignore the embeded page and thus without showing the embeded page in the new block?

Thanks.

Andy (XCart-ver. 3.5.4.)


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

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