Support Forums

Old 05-17-2009, 09:14 AM   #1
Senior Member
 
 
Join Date: Jan 2007
Posts: 312
Rep Power: 17
michael is a jewel in the rough
Lightbulb A Useful little 'fix' for layout.tpl

Well not so much a fix as a 'patch up' to cover Internet Explorers dismal rendering failure!

Current code with problem in red:

Code:
<!-- // Content // -->
<br /><br />
                        {* This includes the content portion *}
                        {include file=$body}
 <!-- // End Content // -->
Those two break tags were so frustrating! I suspect they were only ever placed there because IE sucked at rendering the original code, but by using them all other browsers had to pay the price in the form of some useless, dead whitespace beneath the search bar - right in the top, middle of your home page! I stripped them out and replaced them with a common enough hack as follows;

My new code with solution in red:

Code:
<!-- // Content // -->
<!--[if IE]>
    <br />
<![endif]-->
                        {* This includes the content portion *}
                        {include file=$body}
 <!-- // End Content // -->
__________________
M Michael
V4.1.3 Developer - 3 Column Default Template


"All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642)

Last edited by michael; 05-17-2009 at 09:16 AM. Reason: spelling
michael is offline   Reply With Quote
Old 05-18-2009, 09:57 AM   #2
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,836
Rep Power: 111
Eric Barnes is a jewel in the rough
Default

Thanks. Would you mind adding this to our bug tracker so I don't forget to fix this?
http://www.68classifieds.com/forums/.../bug-list.html
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 05-18-2009, 11:25 AM   #3
Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,384
Rep Power: 41
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

Michael,

Thanks for taking the time to post this thread. This is the type of community input that helps everyone and helps make the product better now and in the future. I added to your reputation for this post!
__________________
Mike-N-Tosh
v3.1.10 Developer IndianaPC.org - A community website
Sandbox v4.0.9, 4.1
Templates, Mods & Docs for sale | My blog with much content for 68 Classifieds.
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 05-18-2009, 11:53 AM   #4
Moderator
 
 
Join Date: Mar 2008
Posts: 824
Rep Power: 22
seymourjames has a spectacular aura about
Default

Good one Michael. IE is just a royal pain as they say.
__________________
TemplateCodes.com
seymourjames is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
New layout.tpl hel68c v4 Modules / Modifications 7 08-11-2008 06:46 PM
add php to layout.tpl.php lorenww v3.1 Questions & Support 3 09-06-2007 11:26 AM
Memberships 'fix' for 3.1.x Maffo v3.1 Questions & Support 0 03-24-2007 02:46 AM


All times are GMT -4. The time now is 05:12 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0