FAQ - How to include IE7 FIX by Dean Edwards in Joomla templates
Moderator: mcsmom
- guilliam
- Joomla! Enthusiast
- Posts: 159
- Joined: Thu Aug 18, 2005 10:27 am
- Location: Sunny City Cebu, Philippines!
- Contact:
FAQ - How to include IE7 FIX by Dean Edwards in Joomla templates
hello,. have checked the "other" forum and there are questions there that is exactly as mine.
QUESTION: where do i put the calling script in my mambo template???
heres a quick link:
http://dean.edwards.name/IE7/usage/
for those asking what IE7 fix is.. check the link:
http://dean.edwards.name/IE7/overview/
thank you for any replies...
(hope hazman sees this.. i'll give you a pm hazman)
QUESTION: where do i put the calling script in my mambo template???
heres a quick link:
http://dean.edwards.name/IE7/usage/
for those asking what IE7 fix is.. check the link:
http://dean.edwards.name/IE7/overview/
thank you for any replies...
(hope hazman sees this.. i'll give you a pm hazman)
Last edited by guilliam on Wed Jan 18, 2006 11:06 am, edited 1 time in total.
"I was one of those who wondered why people would pay so much $$$$ to do something that was so much fun!" -R. Harkrider, Fortran Code Engr.
^If u read that in $GREEN, you clearly missed the HIGHLIGHTS!
http://www.joomlancers.com | http://www.joomlaconsultancy.net
^If u read that in $GREEN, you clearly missed the HIGHLIGHTS!
http://www.joomlancers.com | http://www.joomlaconsultancy.net
- Dragon Company
- Joomla! Fledgling
- Posts: 4
- Joined: Thu Aug 18, 2005 3:43 pm
- Location: France
- Contact:
Re: IE7 FIX by Dean Edwards - PLease teach where to place in the $ambo template.
Think it's in head tag .. after all meta ... so just before end tag of head part ....
- Predator
- Joomla! Enthusiast
- Posts: 220
- Joined: Wed Aug 17, 2005 10:12 pm
- Location: Germany-Bad Abbach
- Contact:
Re: IE7 FIX by Dean Edwards - PLease teach where to place in the $ambo template.
Think it's in head tag .. after all meta ... so just before end tag of head part ....
This is quite right i.e.
Code: Select all
<?php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
// needed to seperate the ISO number from the language file constant _ISO
$iso = explode( '=', _ISO );
// xml prolog
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php mosShowHead(); ?>
<?php
if ( $my->id ) {
initEditor();
}
$collspan_offset = ( mosCountModules( 'right' ) + mosCountModules( 'user2' ) ) ? 2 : 1;
//script to determine which div setup for layout to use based on module configuration
$user1 = 0;
$user2 = 0;
$colspan = 0;
$right = 0;
// banner combos
//user1 combos
if ( mosCountModules( 'user1' ) + mosCountModules( 'user2' ) == 2) {
$user1 = 2;
$user2 = 2;
$colspan = 3;
} elseif ( mosCountModules( 'user1' ) == 1 ) {
$user1 = 1;
$colspan = 1;
} elseif ( mosCountModules( 'user2' ) == 1 ) {
$user2 = 1;
$colspan = 1;
}
//right based combos
if ( mosCountModules( 'right' ) and ( empty( $_REQUEST['task'] ) || $_REQUEST['task'] != 'edit' ) ) {
$right = 1;
}
?>
<"meta http-equiv="Content-Type content="text/html; <?php echo _ISO; ?>" />
<!-- compliance patch for microsoft browsers -->
<!--[if lt IE 7]>
<script src="/ie7/ie7-standard-p.js" type="text/javascript">
</script>
<![endif]-->
Important is after a meta http-equiv="Content-Type and before
btw this are nice "hacks" from Dean Edwards.
Last edited by Predator on Fri Aug 26, 2005 10:10 pm, edited 1 time in total.
The "Humor, Fun and Games" forum has more than 2500 Posts, so why not build a "Humor, Fun and Games Working" Group?
.....
Malicious tongues say we have this WG right from the start, they call it core team
.....
Malicious tongues say we have this WG right from the start, they call it core team
- mambostoked
- Joomla! Apprentice
- Posts: 6
- Joined: Wed Aug 24, 2005 3:35 pm
- Location: Cape Town, South Africa
- Contact:
Re: IE7 FIX by Dean Edwards - PLease teach where to place in the $ambo template.
thats where i put mine and it seems to work
http://www.joomlajunkie.com - Bringing Color to the Joomla! Community.
http://www.webmonkeys.co.za - Joomla Design and Development Services.
http://www.webmonkeys.co.za - Joomla Design and Development Services.
- guilliam
- Joomla! Enthusiast
- Posts: 159
- Joined: Thu Aug 18, 2005 10:27 am
- Location: Sunny City Cebu, Philippines!
- Contact:
Re: IE7 FIX by Dean Edwards - PLease teach where to place in the $ambo template.
@Predator, thank you so much for the prompt reply.. i applied what you posted. apologies wasnt able to reply sooner. i'll make another walkthru for this(very helpful for newbies and be added to my guilliam's idi*t guides. .ehheheh)
@dragon, thanks mate! ~winks~
guilliam
@dragon, thanks mate! ~winks~
guilliam
"I was one of those who wondered why people would pay so much $$$$ to do something that was so much fun!" -R. Harkrider, Fortran Code Engr.
^If u read that in $GREEN, you clearly missed the HIGHLIGHTS!
http://www.joomlancers.com | http://www.joomlaconsultancy.net
^If u read that in $GREEN, you clearly missed the HIGHLIGHTS!
http://www.joomlancers.com | http://www.joomlaconsultancy.net
- Predator
- Joomla! Enthusiast
- Posts: 220
- Joined: Wed Aug 17, 2005 10:12 pm
- Location: Germany-Bad Abbach
- Contact:
Re: IE7 FIX by Dean Edwards - PLease teach where to place in the $ambo template.
No prob you`re welcome
The "Humor, Fun and Games" forum has more than 2500 Posts, so why not build a "Humor, Fun and Games Working" Group?
.....
Malicious tongues say we have this WG right from the start, they call it core team
.....
Malicious tongues say we have this WG right from the start, they call it core team
Re: IE7 FIX by Dean Edwards - PLease teach where to place in the $ambo template.
don't laugh
But in which files???
Joe
Couldn't find the http-equiv="Content-Type string anywhere in my copy of joomla
But in which files???
Joe
Couldn't find the http-equiv="Content-Type string anywhere in my copy of joomla
Last edited by jloyzaga on Fri Jan 13, 2006 7:39 am, edited 1 time in total.
Re: IE7 FIX by Dean Edwards - PLease teach where to place in the $ambo template.
oot
isnt this post supposed to be in the FAQ forum?
isnt this post supposed to be in the FAQ forum?
Waddaya mean I can't swing my lightsaber in the forum??
- guilliam
- Joomla! Enthusiast
- Posts: 159
- Joined: Thu Aug 18, 2005 10:27 am
- Location: Sunny City Cebu, Philippines!
- Contact:
Re: IE7 FIX by Dean Edwards - PLease teach where to place in the $ambo template.
[ To be moved to the FAQ as requested. ]
- g
- g
"I was one of those who wondered why people would pay so much $$$$ to do something that was so much fun!" -R. Harkrider, Fortran Code Engr.
^If u read that in $GREEN, you clearly missed the HIGHLIGHTS!
http://www.joomlancers.com | http://www.joomlaconsultancy.net
^If u read that in $GREEN, you clearly missed the HIGHLIGHTS!
http://www.joomlancers.com | http://www.joomlaconsultancy.net
-
- Joomla! Apprentice
- Posts: 17
- Joined: Wed Aug 24, 2005 7:20 pm
- Location: Los Angeles
- Contact:
Re: FAQ - How to include IE7 FIX by Dean Edwards in Joomla templates
I have used this set of scripts several times on my Mambo/Joomla sites. I'd like to put it in the /includes folder rather than add it to my templates. Of course, that's easy enough, but I'd like to provide it easily to others as well as a component. Can a mambot/component/module install files to the /includes directory?