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)
-   -   'Static page' showing with file extension in 'url' and 'help menu' - problem! (https://forum.x-cart.com/showthread.php?t=39611)

parekh81 05-07-2008 06:43 AM

'Static page' showing with file extension in 'url' and 'help menu' - problem!
 
When i create a static page. (eg example.htm) and enable it to show in 'help' menu - the name shows as 'example.htm' in the menu. Is it possible to have the name as just 'example' or a custom name.

Also the file extension appears in the url. See here http://www.passionexplosion.co.uk/Measuring-Guide.htm-sp-22.html

I tried saving without the .htm or .html extension. If i do that it doesn't show up in the admin section under static pages.

See example here
http://www.passionexplosion.co.uk/Measuring-Guide.htm-sp-22.html

I can send you my help.tpl and pages_menu.tpl code if required.

balinor 05-07-2008 06:45 AM

Re: 'Static page' showing with file extension in 'url' and 'help menu' - problem!
 
You just name the static page what you want it to be called in the 'Page Name' area. The name of the html file has nothing to do with how it is called.

parekh81 05-07-2008 06:54 AM

Re: 'Static page' showing with file extension in 'url' and 'help menu' - problem!
 
1 Attachment(s)
Quote:

Originally Posted by balinor
You just name the static page what you want it to be called in the 'Page Name' area. The name of the html file has nothing to do with how it is called.


But i can't edit the page names - this is a screenshot of my static page area. Am i seeing what everyone should be seeing. Or is there something wrong!

balinor 05-07-2008 06:56 AM

Re: 'Static page' showing with file extension in 'url' and 'help menu' - problem!
 
Click on one of the names, you'll see where you can edit it :)

parekh81 05-07-2008 07:04 AM

Re: 'Static page' showing with file extension in 'url' and 'help menu' - problem!
 
Quote:

Originally Posted by balinor
Click on one of the names, you'll see where you can edit it :)



That was a bit easy!!!!!!!!!

(I feel embarressed.)


Thanks Balinor!

parekh81 05-07-2008 07:08 AM

Re: 'Static page' showing with file extension in 'url' and 'help menu' - problem!
 
But the URL problem still exists even if i change the file name in the 'page area'.


All times are GMT -8. The time now is 06:46 PM.

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