![]() |
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. |
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.
|
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.
|
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. |
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 |
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.