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 a static page and link from manufacture (https://forum.x-cart.com/showthread.php?t=16155)

alohacomputer 08-25-2005 04:21 AM

add a static page and link from manufacture
 
I want to add a page , my own html page and link it under either manfacutres or catagories.


What is the best way to do this?

I made a embeded static page but can't find it


Thanks, Don

balinor 08-25-2005 04:29 AM

Your embedded static pages are linked using:

<a href="pages.php?pageid=x">

where x is the number of the page. You can see the number by clicking on Static Pages and moving your mouse over the page name.

alohacomputer 08-25-2005 05:09 AM

move the static page listing from under help
 
Great thanks!

I also just read in forum, someone post how to move the static page listing from under help menu to manufactures.

I can't find the post now. Do you know the one?

Thanks, Don

alohacomputer 08-25-2005 05:42 AM

put it under "Manufactures" menu
 
ThankX,
I found the post :)

I removed the {include file="pages_menu.tpl"} from the help menu.

Now I want to put it under "Manufactures" menu.

I can't find that menu (.tpl file).

Thank you, Don

hooter 08-25-2005 05:52 AM

Re: put it under "Manufactures" menu
 
aloha,

Look in /skin1/modules/Manufacturers

Then depending on where you want it look at either customer_manufacturers_list.tpl and menu_manufacturers.tpl

menu_manufacturers.tpl is for the box menu list of manufacturers and customer_manufacturers_list.tpl is the center content complete list of manufacturers

Quote:

Originally Posted by alohacomputer
ThankX,
I found the post :)

I removed the {include file="pages_menu.tpl"} from the help menu.

Now I want to put it under "Manufactures" menu.

I can't find that menu (.tpl file).

Thank you, Don


alohacomputer 08-25-2005 07:12 AM

put it under "Manufactures" menu
 
I want it under the list of manufactures in the left side Manufactures box.


I tried it under customer_manufacturers_list.tpl and menu_manufacturers.tpl

neither worked....


Does it need to be inserted into te script at a specific place?

Thanks, Don

{* $Id: menu_manufacturers.tpl,v 1.4 2004/06/22 05:38:52 max Exp $ *}
{if $manufacturers_menu ne ''}
{capture name=menu}
{section name=mid loop=$manufacturers_menu}
{$manufacturers_menu[mid].manufacturer}

{/section}
{if $show_other_manufacturers}


{$lng.lbl_other_manufacturers}

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


{/if}

hooter 08-25-2005 08:02 AM

aloha,

just put something like this:
{include file="$SkinDir/pages_menu.tpl"}

somewhere within the capture contstruct but outside of the section construct.

So if you wanted it before the list of manufacturers in the left box it would go here:
Code:

{capture name=menu}
{include file="$SkinDir/pages_menu.tpl"}
{section name=mid loop=$manufacturers_menu}
{$manufacturers_menu[mid].manufacturer}

{/section}
{if $show_other_manufacturers}


{$lng.lbl_other_manufacturers}

{/if}
{/capture}


and if you wanted it after the list of manufacturers then insert it thusly:
Code:

{capture name=menu}
{section name=mid loop=$manufacturers_menu}
{$manufacturers_menu[mid].manufacturer}

{/section}
{if $show_other_manufacturers}


{$lng.lbl_other_manufacturers}

{/if}
{include file="$SkinDir/pages_menu.tpl"}
{/capture}



All times are GMT -8. The time now is 12:17 AM.

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