![]() |
Creating new navigation
My test site:
http://www.omniswim.com/customer/home.php has navigation in the 'Help" side block: Location, Links, What's New, etc. 1. Can I place these above Categories in their own block? If so, how? 2. Is it possible to move them into the 'Categories' block? If so, how? Can someone let me know as soon as possible please. Thanks |
Re: Creating new navigation
Quote:
Edit the /customer/home.tpl file are right above the line: Code:
{ include file="customer/categories.tpl" } Code:
{capture name=pages} Quote:
Edit your /customer/categories.tpl file, adding Code:
{include file="pages_menu.tpl"} so that now your file looks like this: Code:
{* $Id: categories.tpl,v 1.19.2.1 2004/03/16 12:12:16 svowl Exp $ *} |
menu
Thanks TelaFirma, I did what you suggested.
Question: Now that I've moved the links to the 'Categories' section - how do I remove them from the 'Help' section, without them disappearing from the 'Categories'?? Also, can I put a 'Home' link in the 'Categories' section - if so, how? |
To remove them from the Help section, open the help.tpl file and remove the line
Code:
{include file="pages_menu.tpl"} To add a link to home, add this to the top of the /customer/categories.tpl so that now the file looks like this: Code:
{* $Id: categories.tpl,v 1.19.2.1 2004/03/16 12:12:16 svowl Exp $ *} |
menu
Thanks again for your great help :D
By the way, I like all your site designs! |
I have some embedded pages that are customized 1. product pages (for sales), some for 2. product instructions (usage), and some for 3. informational purposes (courses offered).
Basically, I want to get the 1. product pages (static embedded pages that I created) into the categories menu or have a new menu for them. Using this post, what variations would I need to use to accomplish this? It think that I could create a new pages.php and a new pages_menu.tpl (rename them) and use the above name code to insert them into what/whereever I wanted. Would that work? Thanks, - Mike |
Re: menu
Quote:
Well, thank you. [shamless plug] I just added another one to my profile for you to check out too [/shamless plug] |
Quote:
Mike - Can you kind of give an example of what you are trying to accomplish? I ahve been reading your post and I just can not visualise it in my head. (It is most likely becuase I have a headache). If you can give an example, I can help you. |
Thanks TelaFirma.
X-Cart has the functionality to create embedded static pages, but it groups them together as "pages" and therefore you are forced to refer to all of them collectively or not at all. Your post detailed how to create a new menu for "pages", but I don't want to display all of the pages, as they are of various diverse content. In my business, information is as important as product and I need an "informational pages" menu and display under the categories in the home.tpl. It is easy to create them as static pages, but calling them to display is the tricky part, especially as I only need some of them. Many thanks, Mike |
If all you want it to display one or two pages, then just create a normal hyperling in the templates... like:
Or if you want to use the Smarty variables for the Title of the page to be the link, you can use and just insert them whereever you want. |
Thanks TelaFirma!
Now I have total control of my embedded static pages. Mike |
All times are GMT -8. The time now is 01:30 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.