| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
| 
 | 
||||||||||
| X-Cart Home | 
help.php?section=xyz and static pages | |||
![]()  | 
	
	
		
			 | 	
	
||
| 
		 | 
	Thread Tools | Search this Thread | 
| 
		 
			 
			#1  
			
			
			
			
		 
		
		
	 | 
|||||||
		
		
  | 
|||||||
| 
	
	
		
        	 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. 
				__________________ 
		
		
		
		
	
		
		
		
	X-Cart Version: 4.0.17 Operating System: Linux Add Ons: N/A URL: http://www.thumbsatplay.com  | 
|||||||
| 
		 
			 
			#2  
			
			
			
			
		 
		
		
	 | 
|||||||
		
		
  | 
|||||||
| 
	
	
		
        	 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. 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
		
		
		
	Padraic Ryan Ryan Design Studio Professional E-Commerce Development  | 
|||||||
| 
		 
			 
			#3  
			
			
			
			
		 
		
		
	 | 
|||||||
		
		
  | 
|||||||
| 
	
	
		
        	 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. 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
		
		
		
	X-Cart Version: 4.0.17 Operating System: Linux Add Ons: N/A URL: http://www.thumbsatplay.com  | 
|||||||
| 
		 
			 
			#4  
			
			
			
			
		 
		
		
	 | 
|||||||
		
		
  | 
|||||||
| 
	
	
		
        	 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. 
				__________________ 
		
		
		
		
	
		
		
		
	Padraic Ryan Ryan Design Studio Professional E-Commerce Development  | 
|||||||
| 
		 
			 
			#5  
			
			
			
			
		 
		
		
	 | 
|||||||
		
		
  | 
|||||||
| 
	
	
		
        	 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 
				__________________ 
		
		
		
		
	
		
		
		
	success is a matter of luck...ask any failure earl wilson gold v4.0.14  | 
|||||||
| 
		 
			 
			#6  
			
			
			
			
		 
		
		
	 | 
|||||||
		
		
  | 
|||||||
| 
	
	
		
        	 Just hard-code the link in the bottom of categories.tpl 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
		
		
		
	Padraic Ryan Ryan Design Studio Professional E-Commerce Development  | 
|||||||
![]()  | 
		
	
		
			 | 	
	
| Thread Tools | Search this Thread | 
		
  | 
	
		
  | 
| 
 | 
|||
| 
 
X-Cart forums © 2001-2020
 
 | 
|||