Mercury5 Posted June 29, 2010 Share Posted June 29, 2010 Hi Guys :) Is it possible to have this to open in a new window please like we had before? :unsure: I know it's easy enough to right click then open the new window but takes more time, I want to be in two places at once..:lol: Link to comment Share on other sites More sharing options...
shought Posted June 29, 2010 Share Posted June 29, 2010 Edit your skin and include target='_blank' in the link ;) Link to comment Share on other sites More sharing options...
Mercury5 Posted June 30, 2010 Author Share Posted June 30, 2010 Edit your skin and include target='_blank' in the link ;) Where abouts in the skin can I find the part to edit? :) Link to comment Share on other sites More sharing options...
TestingSomething Posted June 30, 2010 Share Posted June 30, 2010 They did it this way because it's suggested for sites to leave it up to the user whether to open it in a new window or not. I forget if it's actually specified in hxtml or where exactly it was recommended. Personally I would rather it automatically pop up though and I think IPS did make some other links automatically pop up still. Link to comment Share on other sites More sharing options...
townie83 Posted June 30, 2010 Share Posted June 30, 2010 Where abouts in the skin can I find the part to edit? :) It's in Global Templates > GlobalTemplate and its approx 35 lines down Find:<a href="{$this->settings['_admin_link']}" title='{$this->lang->words['admin_cp']}'>{$this->lang->words['login_to_acp']} ></a> And change to: <a href="{$this->settings['_admin_link']}" "target=_blank" title='{$this->lang->words['admin_cp']}'>{$this->lang->words['login_to_acp']} ></a> Regards Link to comment Share on other sites More sharing options...
TestingSomething Posted June 30, 2010 Share Posted June 30, 2010 great now I can't even type xhtml without typoing. Link to comment Share on other sites More sharing options...
shought Posted June 30, 2010 Share Posted June 30, 2010 It's in Global Templates > GlobalTemplate and its approx 35 lines down Find:<a href="{$this->settings['_admin_link']}" title='{$this->lang->words['admin_cp']}'>{$this->lang->words['login_to_acp']} ></a> And change to: <a href="{$this->settings['_admin_link']}" [color="#FF0000"]"target=_blank"[/color] title='{$this->lang->words['admin_cp']}'>{$this->lang->words['login_to_acp']} ></a> Regards You made a small mistake in ' "target=_blank" '. It should be: target="_blank" So change from: <a href="{$this->settings['_admin_link']}" title='{$this->lang->words['admin_cp']}'>{$this->lang->words['login_to_acp']} ></a> to <a href="{$this->settings['_admin_link']}" target="_blank" title='{$this->lang->words['admin_cp']}'>{$this->lang->words['login_to_acp']} ></a> Link to comment Share on other sites More sharing options...
Mercury5 Posted June 30, 2010 Author Share Posted June 30, 2010 Thanks for the coding guys, works a treat. :thumbsup::D Link to comment Share on other sites More sharing options...
Morrigan Posted July 1, 2010 Share Posted July 1, 2010 The removal of the Popup (using target=_blank) is because they are moving forward with web-design and the target attribute in XHTML 4.0 compliant sites is not allowed. <_< http://articles.sitepoint.com/article/standards-compliant-world Just so you know. Link to comment Share on other sites More sharing options...
Mercury5 Posted July 1, 2010 Author Share Posted July 1, 2010 I did wonder why it was taken away. Thanks! :) Link to comment Share on other sites More sharing options...
China J Posted July 2, 2010 Share Posted July 2, 2010 The removal of the Popup (using target=_blank) is because they are moving forward with web-design and the target attribute in XHTML 4.0 compliant sites is not allowed. <_< [url="http://articles.sitepoint.com/article/standards-compliant-world"]http://articles.site...compliant-world[/url] Just so you know. I'm just replying in general but only admins can see the link thus guests or bots can't validate whether the link is formatted correctly. So that means the intent of that link falls back on to IPS and their reasons for not opening in new window. Most likely some customers, not us in the forums - You know the one's that call in may have complained about the link opening in new tab *cough* lol :P Link to comment Share on other sites More sharing options...
bfarber Posted July 6, 2010 Share Posted July 6, 2010 No, the XHTML specifications do not allow for the "target" attribute on anchor tags anymore. Full stop, end of story. There's really little to it beyond that. We've added an alternative which you can enable in the ACP for external links (using javascript), but the only reason we don't use target anymore is, as I said, it's not allowed using XHTML strict. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.