The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.



Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Wed Dec 17, 2008 9:20 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Oct 27, 2008 7:12 pm
Posts: 8
For some reason swfobject in conjunction with the base href tag is creating a nasty error in IE6. Is there a way I can remove it from within the template? I'd rather not touch the core files.

Thanks.


Top
 Profile  
 
PostPosted: Sun Dec 28, 2008 4:34 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Aug 03, 2006 7:29 pm
Posts: 31
Location: Fort Collins, CO, USA
have a look at this discussion:
viewtopic.php?f=428&t=268149

I think it covers the base causes of this issue

_________________
Kitty Cooper
http://OpenSkyWebDesign.com


Top
 Profile  
 
PostPosted: Thu Jan 01, 2009 5:48 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Oct 27, 2008 7:12 pm
Posts: 8
Thanks, I saw that before I posted. In my case, the base href doesn't appear to be wrong. Especially so in this case as it's the home page so there's no directory to mess with.


Top
 Profile  
 
PostPosted: Fri Sep 03, 2010 11:49 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Jun 17, 2009 2:41 pm
Posts: 22
Location: Bangalore
We can use this Plugin for remove base href tag.
http://extensions.joomla.org/extensions ... adata/7153

_________________
Hemanathagiribabu
http://valapady.com


Top
 Profile  
 
PostPosted: Fri Jan 20, 2012 8:05 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Jan 15, 2012 6:40 pm
Posts: 2
PLUGIN for REMOVING TAG?!
You have to be crazy people ...


Top
 Profile  
 
PostPosted: Mon Jan 23, 2012 7:49 am 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Feb 03, 2009 4:04 am
Posts: 19
Location: Redondo Beach, CA
To remove the base tag in the header simply add this to your template file (index.php)

Code:
$this->base = '';


It will set the base element to nothing and therefor the base tag will not be rendered in the header.

Hope this helps. It drove me crazy!

_________________
Jonathan Lackey | creative director
http://zunostudios.com


Top
 Profile  
 
PostPosted: Tue Mar 27, 2012 5:16 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Apr 28, 2009 10:28 pm
Posts: 3
Probably not recommended but if other solutions here don't work and you want to hack the core the files you need are in libraries/joomla/document/html/renderer/head.php

Just comment out

Code:
$strHtml .= $tab.'<base href="'.$document->getBase().'" />'.$lnEnd;


around line 96

_________________
Please read the forum rules regarding the use of signatures: viewtopic.php?f=8&t=65


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 



Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group