Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

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

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-07-2008, 06:43 AM
 
parekh81 parekh81 is offline
 

Senior Member
  
Join Date: Nov 2007
Posts: 191
 

Question '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.
__________________
Gold 4.4.2 with 'some' customisation
Site review: http://forum.x-cart.com/showthread.php?t=63075
Reply With Quote
  #2  
Old 05-07-2008, 06:45 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 05-07-2008, 06:54 AM
 
parekh81 parekh81 is offline
 

Senior Member
  
Join Date: Nov 2007
Posts: 191
 

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

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!
Attached Thumbnails
Click image for larger version

Name:	example-staticpages.jpg
Views:	188
Size:	53.2 KB
ID:	932  
__________________
Gold 4.4.2 with 'some' customisation
Site review: http://forum.x-cart.com/showthread.php?t=63075
Reply With Quote
  #4  
Old 05-07-2008, 06:56 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 05-07-2008, 07:04 AM
 
parekh81 parekh81 is offline
 

Senior Member
  
Join Date: Nov 2007
Posts: 191
 

Default 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!
__________________
Gold 4.4.2 with 'some' customisation
Site review: http://forum.x-cart.com/showthread.php?t=63075
Reply With Quote
  #6  
Old 05-07-2008, 07:08 AM
 
parekh81 parekh81 is offline
 

Senior Member
  
Join Date: Nov 2007
Posts: 191
 

Default 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'.
__________________
Gold 4.4.2 with 'some' customisation
Site review: http://forum.x-cart.com/showthread.php?t=63075
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:47 AM.

   

 
X-Cart forums © 2001-2020