| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Static Pages | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() HI,
I am creating some static pages (embedded). Is there a way to change how they are displayed? Currently they are under "help" in the middle section but I would like to create a new section maybe called "the store" and have the links there (as there is a retail store and I would like to have pages about classes, images etc). Also, currently there is a big white space in between the "contact us" button and the "help" section, which would fit perfectly for this new section. The site is at: http://www.sweetpeaandmeboutique.com/xcart/home.php
__________________
Running stores using the following: 2@ Version 4.0.19 2@ Version 4.1.9 1@ Version 4.1.11 |
|||||||
#2
|
|||||||
|
|||||||
![]() All you would need to do is create a new template, and move this line of code from the help.tpl to the new template you create:
{include file="pages_menu.tpl"} Then include the new template in the space you mentioned in home.tpl.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Thank you.
One question though. How exactly do I do that? I know that may sound really easy but my head just exploded. Is it in the manual do you know?
__________________
Running stores using the following: 2@ Version 4.0.19 2@ Version 4.1.9 1@ Version 4.1.11 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() I need the same. I need to create embedded "manufacturer" sections and I am having all sorts of trouble doing it with 4.0.13.
__________________
Best Regards, Sam Solace - Pres/CEO Century Performance Center, Inc. http://www.centuryperformance.com (3) sites using X-Cart 5.3.5.5 X-Payments Enterprise 3.1.4 |
|||||||||
#5
|
|||||||
|
|||||||
![]() Ok, first, go to Edit Templates and create a new template using the dialog box at the bottom of the template list. Let's call it help2.tpl (you can call it whatever you want). Once you create it, click on it in the list and add this code into it:
Code:
Then you will need to go into your Languages (over in the admin menu) and create a new label. This will be the title of your menu (such as help, manufacturers, etc). Create a label called lbl_help2 and name it whatever you want to appear as the title. Next, you will need to include this file in customer/home.tpl. Not quite sure what template you have there karentown, but you will need to include this bit of code in the area that corresponds to that blank spot: Code:
Finally, open up help.tpl (the original) and remove this line of code so your static pages don't show up: Code:
Let me know if that works for you!
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#6
|
|||||||
|
|||||||
![]() Thanks so much for your help. I created a new template called boutique.tpl and pasted the code in as instructed.
I have the fashion template. When I select languages under admin there isnt anywhere to create a new label *unless I am being a total airhead, which is entirely possible!* this is what it says: http://www.sweetpeaandmeboutique.com/languages.jpg Am I in the right place? Thanks ![]()
__________________
Running stores using the following: 2@ Version 4.0.19 2@ Version 4.1.9 1@ Version 4.1.11 |
|||||||
#7
|
|||||||
|
|||||||
![]() You need to select a language first, then you will see the options
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#8
|
|||||||
|
|||||||
![]() OMG, I could kiss you!!!
Thank you sooooo much! It is all there and working *happy dance* YEAH!!!
__________________
Running stores using the following: 2@ Version 4.0.19 2@ Version 4.1.9 1@ Version 4.1.11 |
|||||||
#9
|
|||||||
|
|||||||
![]() First of all .. Padraic, thanks so much for saving me loads of time. I've followed your instructions implicitly, but I'm having one last niggling issue. Here's the scenario:
1. I moved the X-cart from /store to the site's root folder. Well .. I didn't actually move it ... just copied it with the store in its original location in case things didn't work out. 2. Created some embedded static pages (Product Info at http://69.57.140.185/). 3. New menu seems to work fine as long as I click only on the items in Product Info. 4. Though I changed my config.php, all the internal links (like Shop Online, Greaseless Fryers, etc.) still point to /store/. I'm using DSEFU and altered the .htaccess file to allow for the new locations. 5. Now, when you click, say, Shop Online the Product Info menu seems to be right aligned. In fact, I found a TD tag in home.tpl which was right aligned. I changed that .. but still no good. I'm clean out of ideas. Any advise? |
|||||||
#10
|
|||||||
|
|||||||
![]() Actually, I have added the title and content but can't figure out how to make it work.
TIA!
__________________
cwill2200 X-Cart Gold 4.0.18 FreeBSD |
|||||||
|
|||
X-Cart forums © 2001-2020
|