| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Moving the link for a static page | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() So I finally figured out how to create a static page - http://www.streetortrack.com/Pictures-p-3.html
I'm using a different skin and can't seem to find out how to move the link 'Pictures' under my 'Help' menu on the bottom left of the page to somewhere else. I'd ideally like to move it under 'Special'. Thanks! |
|||||||
#2
|
|||||||
|
|||||||
![]() Take a look at this and see if it is what you are looking for:
http://forum.x-cart.com/viewtopic.php?t=19184&highlight=static
__________________
Mike Kenzie X Cart Gold Ver. 4.1.3 X-RMA X-AOM X-Product Comparison |
|||||||
#3
|
|||||||
|
|||||||
![]() I don't really need to create a new section, just move the link from Help to Special...
|
|||||||
#4
|
|||||||
|
|||||||
![]() Hey there, its quite easy to make that change, this is what I do.
Open up skin1/customer/special.tpl Find this in the file Code:
Add this code just before the code above. Change the 15 to the page id you want to point to, it looks to me like you want 3. Then change $lng.lbl_help_center_shipping_faq to the label name you have set for pictures. You might also want to change the class to match the same style you have in your menus. Use this same line to have a static page show up anywhere in your site. Now that you have the link in the specials menu you probably want to remove it from the help section. To do this do the following. Open up skin1/pages_menu.tpl You should see the following. Code:
those lines tell it to show all the static pages you create under the help menu, just use the same line with the correct page id to just show the pages you want in the help section. Just add to the beginning of every other line you add to either file. Good luck! ![]()
__________________
x-cart 4.1.6 PHP 4.4.2 MySQL server 4.0.26-log MySQL client 5.0.20 Operation system FreeBSD Perl 5.008008 |
|||||||
#5
|
|||||||
|
|||||||
![]() How do I figure out the label name I've set for pictures?
|
|||||||
#6
|
|||||||
|
|||||||
![]() If you log into your admin area, then go to languages, select english. Then scroll down to apply filter, type in pictures and it should find that label.
Hope that helps
__________________
x-cart 4.1.6 PHP 4.4.2 MySQL server 4.0.26-log MySQL client 5.0.20 Operation system FreeBSD Perl 5.008008 |
|||||||
#7
|
|||||||
|
|||||||
![]() Hmmm, tried that and it returns nothing. How else can I find out the label?
I have a fair few static pages I need to create so I hope I can figure this out. ![]() |
|||||||
#8
|
|||||||
|
|||||||
![]() thats strange it should have showed up, when you typed in "pictures" in the apply filter box did you have the select topic option set to all?
Well if you can't find it, no big deal, just create a new label. You can do that near the bottom of the screen you're on. Select labels for the type and call the variable, which I have been referring to as the name, anything you want starting with lbl_ and there should be no spaces, and then for the value enter Pictures. Then change that small line of code with your label name and correct page ID#. Do the same thing for all the static pages you want to make. You will have to remember once you edit the help.tpl file to remove the pictures link, after that any new static pages you create will not show up anywhere on the stie, you have to manually place them where you want using that code. Well let me know how you make out.
__________________
x-cart 4.1.6 PHP 4.4.2 MySQL server 4.0.26-log MySQL client 5.0.20 Operation system FreeBSD Perl 5.008008 |
|||||||
#9
|
|||||||
|
|||||||
![]() How do I figure out the page ID#?
Thanks Shaun |
|||||||
#10
|
|||||||
|
|||||||
![]() You normally just have to hold your mouse over the link and at the bottom of the browser it will show the link to the page, at the end it will have the number. I see you have a SEO mod for the links so it doesn't show that anymore, I have a feeling your picture page id# is 03, as there is a 3 there. If that's not it log into the admin area, go to the static pages and open the page there, hopefully up top in address bar it will show it.
__________________
x-cart 4.1.6 PHP 4.4.2 MySQL server 4.0.26-log MySQL client 5.0.20 Operation system FreeBSD Perl 5.008008 |
|||||||
|
|||
X-Cart forums © 2001-2020
|