| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Creating new Menu for Static Pages | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Creating new Menu for Static Pages
Hi,
I wanted to create a new menu to display the links to all the static pages I create instead of having them under "Help". I followed the intructions below and it worked just fine. Quote:
However I do have one small issue. I have integrated the menu so that it comes up on the left side below the categories menu. Is does this fine however the formatting was slightly different. I wanted to assign the same css class as the categories menu. Hence in the pages menu I added div tags to make it look like this: Code:
It works but it shifts the new links slightly inwards and not flush against the left side like in the categories menu. Looks like this: http://www.bccbdubai.com/problem2.jpg Any ideas how I can make it look like under the categories menu? Would be a great help. Thanks.
__________________
X-Cart Version :: 4.1.6 (Finally) X-Cart Mods :: Kids Skin by 7dana Running on :: SUSE Linux 9.3 with Plesk 7.5.4 Webserv :: Apache 2.0.53 mySQL :: 4.1.10 PHP :: 4.3.10 |
|||||||
#2
|
|||||||||
|
|||||||||
Use following code for new_menu.tpl:
Code:
|
|||||||||
#3
|
|||||||
|
|||||||
It works for the formatting but now that menu no longer displays the links to the static pages. Clicking the link now simply does the same thing as when I click the first link of the categories menu. And the statics page links are displayed in the categories menu.
http://www.bccbdubai.com/problem3.jpg Help? Its your kids template im using
__________________
X-Cart Version :: 4.1.6 (Finally) X-Cart Mods :: Kids Skin by 7dana Running on :: SUSE Linux 9.3 with Plesk 7.5.4 Webserv :: Apache 2.0.53 mySQL :: 4.1.10 PHP :: 4.3.10 |
|||||||
#4
|
|||||||||
|
|||||||||
Works 100% correctly, just tested on your site.
Sell Books menu link is linked to Sell Books page with "Page1 content" text as content. EDITED: Now you have moved static page link to Categories box? |
|||||||||
#5
|
|||||||
|
|||||||
This is how i see it:
http://www.bccbdubai.com/problem3.jpg The sell Books link should appear under the sell books menu. And the sell books menu should not contain another categories link (Textbooks) ? Thanks
__________________
X-Cart Version :: 4.1.6 (Finally) X-Cart Mods :: Kids Skin by 7dana Running on :: SUSE Linux 9.3 with Plesk 7.5.4 Webserv :: Apache 2.0.53 mySQL :: 4.1.10 PHP :: 4.3.10 |
|||||||
#6
|
|||||||
|
|||||||
I didnt move anything, this is how it showed to me right from when I made the change you suggested. I now created a new static page and its also showing up under the category menu. Help? Thanks
__________________
X-Cart Version :: 4.1.6 (Finally) X-Cart Mods :: Kids Skin by 7dana Running on :: SUSE Linux 9.3 with Plesk 7.5.4 Webserv :: Apache 2.0.53 mySQL :: 4.1.10 PHP :: 4.3.10 |
|||||||
#7
|
|||||||||
|
|||||||||
I checked 10 minutes before and pages menu worked fine. Now you have moved static page link to Categories box? Why?
It's very simple, don't touch categories menu, just create new menu for static pages with following code, tested and work 110%: Code:
Or send me ftp info to support@7dana.com and I will make this for you. |
|||||||||
#8
|
|||||||
|
|||||||
Seriously, it doesnt work, it keeps on doing the same thing although i didnt touch the other menus. I think 10 mins ago you got confused cause I had a second category called Sell Books which I deleted afterwards, thats maybe why you saw it displaying.
Heres my categories.tpl Code:
Heres my customer/home.tpl Code:
Heres my sell_menu.tpl Only thing ive changed is to localise label Code:
__________________
X-Cart Version :: 4.1.6 (Finally) X-Cart Mods :: Kids Skin by 7dana Running on :: SUSE Linux 9.3 with Plesk 7.5.4 Webserv :: Apache 2.0.53 mySQL :: 4.1.10 PHP :: 4.3.10 |
|||||||
#9
|
|||||||||
|
|||||||||
1. Create empty text file named new_menu.tpl in skin/customer/ and copy following code inside:
Code:
Code:
|
|||||||||
#10
|
|||||||
|
|||||||
Did everything you said and same thing keeps happening. Weird....
__________________
X-Cart Version :: 4.1.6 (Finally) X-Cart Mods :: Kids Skin by 7dana Running on :: SUSE Linux 9.3 with Plesk 7.5.4 Webserv :: Apache 2.0.53 mySQL :: 4.1.10 PHP :: 4.3.10 |
|||||||
|
|||
X-Cart forums © 2001-2020
|