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

sideboxes and new pages

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-23-2007, 04:02 AM
 
mavricovich mavricovich is offline
 

Newbie
  
Join Date: May 2007
Posts: 8
 

Default sideboxes and new pages

before i go too far hunting around. can anyone point me in the right direction to create my own sideboxes and information pages? i want to add a new sidebox with different category listings linking to pages of information about my business. so how do i generate a new sidebox and title it, lable the links, and is there a tool to generate basic html pages wrapped in the template so it matches the site?
__________________
Version 4.1.7
Reply With Quote
  #2  
Old 05-23-2007, 04:21 AM
 
balinor balinor is offline
 

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

Default Re: sideboxes and new pages

The static pages are what you want, just go to 'Static Pages' and add a new Embedded Page. Those will automatically be wrapped in the template. By default, the links to them will show up in the help menu.

To create a new menu, use this:
http://forum.x-cart.com/showthread.php?t=19871

If you want to have the links to the static pages appear in this menu instead of the help menu, simply open up help.tpl and move this line of code to the new menu:

{include file="pages_menu.tpl"}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 05-23-2007, 11:59 PM
 
mavricovich mavricovich is offline
 

Newbie
  
Join Date: May 2007
Posts: 8
 

Default Re: sideboxes and new pages

thanks, i created some static pages but have yet to try the coding for creating a new menu. however, i was also seeking to learn how to remove sideboxes, in particular, the bestsellers. in the home.tpl i tried removing the line
{include file="modules/Bestsellers/menu_bestsellers.tpl" }
and that seems to work. is their a better way? i tried to comment it out but perhaps i am doing it wrong. of course i've made note in case i want it back.
__________________
Version 4.1.7
Reply With Quote
  #4  
Old 05-24-2007, 02:45 AM
 
balinor balinor is offline
 

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

Default Re: sideboxes and new pages

To comment out code in X-Cart you use this:

{* Commented out code *}

Don't use the html comment tags, as that can cause problems.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 09-08-2008, 02:06 PM
 
tyankee tyankee is offline
 

Newbie
  
Join Date: Aug 2006
Posts: 2
 

Default Re: sideboxes and new pages

where do i find 'static pages'?????
__________________
litecomerce 2.2
Reply With Quote
  #6  
Old 09-08-2008, 03:42 PM
 
balinor balinor is offline
 

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

Default Re: sideboxes and new pages

This is an X-Cart forum and as such, answers are X-Cart only. You need to post in the LiteCommerce forums.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 10-14-2009, 11:48 AM
  boomobile's Avatar 
boomobile boomobile is offline
 

eXpert
  
Join Date: Oct 2007
Posts: 306
 

Default Re: sideboxes and new pages

I'm trying to create a link to my static page. Is there a smarty tag to do this? I tried to make a direct link /pages/US/page.html this dosen't work. I don't want to show all my static page links (I've commented them out) just one, and in a different location than what is given by default. Any help?
__________________
X Cart Ver: 4.0.14
MySQL4 4.1.22
phpMyAdmin 2.6.0
Pearl 5.6.0
PHP 5.2.1
Python 2.2.2
Server: Apache/2.0.52 (Red Hat)
OS: Linux
www.cleanlinesurf.com
1. Customer Rewards Points
2. One Page Checkout (altercart)
3. Free shipping orders over $50 as Real Time Shipping
4. Gift Certificates
-----------------------------------------------
Graphic Design | Boomobile Design, LLC
www.boomobile.com
Reply With Quote
  #8  
Old 10-16-2009, 06:18 AM
 
robertswww robertswww is offline
 

X-Adept
  
Join Date: Jul 2003
Posts: 586
 

Default Re: sideboxes and new pages

Hi,

You can insert a direct static page link into any menu box or anywhere on the page you would like... just find the correct template and hard-code in the static page link, such as:

http://www.store.com/pages.php?pageid=1

Robert
__________________
X-cart 4.1.10
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:24 AM.

   

 
X-Cart forums © 2001-2020