![]() |
Modify Titles for jQuery UI Dialogs
Hi All,
I'm trying to figure out how to modify the "title" header text in the jQuery UI dialogs used across the site (for things like the login box, modify address box and product option edit box). It seems to just take the browser title and stuff it into the title of the box, which doesn't make much sense. If anyone knows how to modify the headers in the dialogs that would be amazing! |
Re: Modify Titles for jQuery UI Dialogs
You should check the "include/templater/plugins/function.get_title.php" script and make necessary adjustments there.
|
Re: Modify Titles for jQuery UI Dialogs
I think i've figured out the issue. The dialog for the "edit options" function on the cart page seems to inherit the "Default Site Title Tag" if it's set in the admin. If it's not, it correctly is set to "edit :: product name".
I definitely want to be able to set the default title for the homepage though... so how do I do so without it getting inherited by the dialogs as well? Let me know. Thanks so much! |
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:
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! |
All times are GMT -8. The time now is 07:06 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.