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)
-   -   sideboxes and new pages (https://forum.x-cart.com/showthread.php?t=31364)

mavricovich 05-23-2007 04:02 AM

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?

balinor 05-23-2007 04:21 AM

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"}

mavricovich 05-23-2007 11:59 PM

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.

balinor 05-24-2007 02:45 AM

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.

tyankee 09-08-2008 02:06 PM

Re: sideboxes and new pages
 
where do i find 'static pages'?????

balinor 09-08-2008 03:42 PM

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.

boomobile 10-14-2009 11:48 AM

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?

robertswww 10-16-2009 06:18 AM

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


All times are GMT -8. The time now is 03:28 PM.

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