![]() |
Static Pages
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 |
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. |
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? |
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.
|
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:
{capture name=menu} 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:
{include file="help2.tpl"} Finally, open up help.tpl (the original) and remove this line of code so your static pages don't show up: Code:
{include file="pages_menu.tpl"} Let me know if that works for you! |
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 :) |
You need to select a language first, then you will see the options :)
|
OMG, I could kiss you!!!
Thank you sooooo much! It is all there and working *happy dance* YEAH!!! |
So close, yet so far away
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? |
How do I add pages to my help zone?
Actually, I have added the title and content but can't figure out how to make it work.
TIA! |
All times are GMT -8. The time now is 01:09 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.