View Single Post
  #3  
Old 05-26-2006, 11:54 PM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

Works great, one question though
Because say for example the help pages are essentially the same page but with just different language variables controlled by the appending variable in the url string, how would I stop it from displaying the same title tag all the way through.

In my home.tpl i used to have

Code:
{elseif $main eq "product"}{if $product.product ne ''}{$product.product} | {if $current_category.page_title eq ""}:{$current_category.category_name|regex_replace:"/.*\//":""}:{$config.Meta.site_title}{else}{$current_category.page_title}{/if}{/if} {elseif $main eq "registration_landing"}User Registration - Just Hom Mens Underwear {elseif $main eq "faqs"}Frequently Asked Questions - Just Hom Mens Underwear {elseif $main eq "fts_sitemap"}Site Map - Just Hom Mens Underwear {elseif $main eq "site_map"}Links - Just Hom Mens Underwear {elseif $main eq "reviews_list"}Product Reviews - Just Hom Mens Underwear {elseif $main eq "feedback"}Feedback - Just Hom Mens Underwear {elseif $help_section eq "business"}Privacy Policy - Just Hom Mens Underwear {elseif $help_section eq "about"}Delivery - Just Hom Mens Underwear {elseif $help_section eq "returns"}Returns and Refunds - Just Hom Mens Underwear {elseif $help_section eq "conditions"}Terms and Conditions - Just Hom Mens Underwear {elseif $help_section eq "contactus"}Contact Just Hom {elseif $main eq "help"}Help Section - Just Hom Mens Underwear

After the last {if} statement but if I try to input that with this i just get a blank page.
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote