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

add a static page and link from manufacture

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-25-2005, 04:21 AM
 
alohacomputer alohacomputer is offline
 

Advanced Member
  
Join Date: Aug 2005
Location: Aloha, Oregon - Not Hawaii
Posts: 95
 

Default 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
__________________
X-cart 4.3 fresh
PHP 5.2.8
MySQL server 5.0.85-community-log
MySQL client 5.0.85
Web server Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7a Phusion_Passenger/2.2.7 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Operation system Linux
Perl 5.008008

Low cost SSL Certs for X-Cart Google approved www.wbservr.com/ssl.html
Reply With Quote
  #2  
Old 08-25-2005, 04:29 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 08-25-2005, 05:09 AM
 
alohacomputer alohacomputer is offline
 

Advanced Member
  
Join Date: Aug 2005
Location: Aloha, Oregon - Not Hawaii
Posts: 95
 

Default 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
__________________
X-cart 4.3 fresh
PHP 5.2.8
MySQL server 5.0.85-community-log
MySQL client 5.0.85
Web server Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7a Phusion_Passenger/2.2.7 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Operation system Linux
Perl 5.008008

Low cost SSL Certs for X-Cart Google approved www.wbservr.com/ssl.html
Reply With Quote
  #4  
Old 08-25-2005, 05:42 AM
 
alohacomputer alohacomputer is offline
 

Advanced Member
  
Join Date: Aug 2005
Location: Aloha, Oregon - Not Hawaii
Posts: 95
 

Default 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
__________________
X-cart 4.3 fresh
PHP 5.2.8
MySQL server 5.0.85-community-log
MySQL client 5.0.85
Web server Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7a Phusion_Passenger/2.2.7 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Operation system Linux
Perl 5.008008

Low cost SSL Certs for X-Cart Google approved www.wbservr.com/ssl.html
Reply With Quote
  #5  
Old 08-25-2005, 05:52 AM
 
hooter hooter is offline
 

X-Adept
  
Join Date: Dec 2004
Posts: 519
 

Default 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
__________________
Blog for X-Cart | Ebay Auction Manager
Reply With Quote
  #6  
Old 08-25-2005, 07:12 AM
 
alohacomputer alohacomputer is offline
 

Advanced Member
  
Join Date: Aug 2005
Location: Aloha, Oregon - Not Hawaii
Posts: 95
 

Default 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}
__________________
X-cart 4.3 fresh
PHP 5.2.8
MySQL server 5.0.85-community-log
MySQL client 5.0.85
Web server Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7a Phusion_Passenger/2.2.7 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Operation system Linux
Perl 5.008008

Low cost SSL Certs for X-Cart Google approved www.wbservr.com/ssl.html
Reply With Quote
  #7  
Old 08-25-2005, 08:02 AM
 
hooter hooter is offline
 

X-Adept
  
Join Date: Dec 2004
Posts: 519
 

Default

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}
__________________
Blog for X-Cart | Ebay Auction Manager
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 12:26 AM.

   

 
X-Cart forums © 2001-2020