View Single Post
  #4  
Old 11-03-2011, 06:27 AM
 
nickff nickff is offline
 

Senior Member
  
Join Date: Aug 2010
Posts: 132
 

Default Re: Modify Titles for jQuery UI Dialogs

I think I figured out a workaround..

Rather than setting a "Default Site Title", I set the homepage title in service_head.tpl since the homepage was the only page I wanted to receive this default title:

HTML Code:
{if $main eq "catalog" && $current_category.category eq ""} <title>HOMEPAGE TITLE GOES HERE</title> {elseif $page_data.metatitle} <title>{$page_data.metatitle}</title> ...

Now, the jQuery dialogs stop inheriting that default title and have their correct titles.

I still think, however, that setting the default site title should not be inherited by jQuery dialogs across the site!
__________________
nick hoag
looking forward to the future
http://thefutureforward.com
xcart versions 4.2.x, 4.3.x, 4.4.x
Reply With Quote