X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   help.php?section=xyz and static pages (https://forum.x-cart.com/showthread.php?t=14885)

thumbsatplay 06-29-2005 11:50 AM

help.php?section=xyz and static pages
 
When I create static pages, X-cart creates a link like this: http://www.mysite.com/store/pages.php?pageid=1

How do I get it so that the link is like:
http://www.mysite.com/store/help.php?section=about_us

It's more descriptive that way than having a page_id assigned to it. I've searched the forum to no avail. Thanks for any help.

balinor 06-29-2005 11:52 AM

That isn't the way the static pages work. If you want to use a link like the contact us forum, you need to create that in the help section, the index.tpl file.

thumbsatplay 06-29-2005 11:59 AM

Thanks Padriac. That's exactly what I was looking for. When I was creating static pages, it was automatically sticking them in the Help section, but the link was pointing to the page ID which is not intuitive. Thanks again.

balinor 06-29-2005 12:00 PM

You can remove/move the code that automatically places static pages in the help section. It is this piece of code in help.tpl:

{include file="pages_menu.tpl"}

You can put it in another menu, or remove it all together and just call your static pages using hard links.

jayzeey 07-05-2005 12:45 PM

If I were wanting to create a new page and make the link appear under the 'category' box on the left, what would I change the code to? Searched and could not find.
thank you
jayzeey

balinor 07-05-2005 12:48 PM

Just hard-code the link in the bottom of categories.tpl


All times are GMT -8. The time now is 07:06 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.