Strange problem with IE7
Strange problem with IE7
I'm not quite sure what to make of this problem. If I view my blog home page in Firefox all is well. When I view it in IE7 the title of the first shown entry is missing. I'm not sure where to even start trying to figure this out! I've been working on building the site using Firefox and did not check it in other browsers until today. Which won't be much help in tracking down when it became a problem!
Here's the home page:
http://www.rummyheads.com/serendipity/
Here's the home page:
http://www.rummyheads.com/serendipity/
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Looks like you are using a template named /templates/brownpaper/brownpaper/.... not sure why you have the template buried under a second, identically named folder.... but let's move on.
In templates/brownpaper/brownpaper/ there should be a file named entries.tpl. You need to open that file with a text editor, such as notepad or wordpad (NOT MS Word).
Beginning on the 12th line, you will see this:
change both instances of /h3 to /h4, in other words, it should look like this:
I do not know if that will solve your problem, but it IS a problem to start with.
In templates/brownpaper/brownpaper/ there should be a file named entries.tpl. You need to open that file with a text editor, such as notepad or wordpad (NOT MS Word).
Beginning on the 12th line, you will see this:
Code: Select all
{if $dategroup.is_sticky}
<h4 class="serendipity_date">{$CONST.STICKY_POSTINGS}</h3>
{else}
<h4 class="serendipity_date">{$dategroup.date|@formatTime:DATE_FORMAT_ENTRY}</h3>
{/if}Code: Select all
{if $dategroup.is_sticky}
<h4 class="serendipity_date">{$CONST.STICKY_POSTINGS}</h4>
{else}
<h4 class="serendipity_date">{$dategroup.date|@formatTime:DATE_FORMAT_ENTRY}</h4>
{/if}
Last edited by Don Chambers on Tue Sep 25, 2007 10:39 pm, edited 1 time in total.
=Don=
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
I think I figured out what the problem is. I was 'commenting out' some of the code in the entry footer area of entries.tpl.
I just edited the entries.tpl file to reverse the <-- & --> coding that I was experimenting with. Now it looks like it did before I started messing with it.
What I really want is to get rid of the names of the person posting the entries, the date and time of posting and the record of trackbacks. So this is what it looks like by default under each entry:
Posted by Nancy Lopez at 00:00 | Comments (0) | Trackbacks (0)
I want it to look like this:
Comments (0)
And under sticky postings I don't want anything in the footer at all for those entries.
(Can you tell that I am not proficient in these technologies? I know just enough to be dangerous!!)
I just edited the entries.tpl file to reverse the <-- & --> coding that I was experimenting with. Now it looks like it did before I started messing with it.
What I really want is to get rid of the names of the person posting the entries, the date and time of posting and the record of trackbacks. So this is what it looks like by default under each entry:
Posted by Nancy Lopez at 00:00 | Comments (0) | Trackbacks (0)
I want it to look like this:
Comments (0)
And under sticky postings I don't want anything in the footer at all for those entries.
(Can you tell that I am not proficient in these technologies? I know just enough to be dangerous!!)
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
You took out a few comment lines that need to remain. Look for this:
This needs to come before that block
and this needs to come after it:
The new 1.2 template "bulletproof" can handle everything you want regarding the display of sticky entries differently than the rest, and eliminating unwanted entry info from the entry footer. It may not be what you want graphically though.
Let's see if we can get you what you want in this template.
In entries.tpl, look for this line:and replace it with this:
In your css file, add this:
That should eliminate your entry footer for sticky entries.
The posted by info, date/time and track back sections can just be commented out or deleted. If deleted, this is what it would look like.....
fromto here (once you restore the comment tag):
You would insert this in place of what is already there:
None of this is tested, but I'm fairly certain it will work. Always keep a backup of your files before making these kinds of changes so they are easy to un-do if needed.
Code: Select all
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<rdf:Description
rdf:about="http://rummyheads.com/serendipity/index.php?/feeds/ei_20.rdf"
trackback:ping="http://rummyheads.com/serendipity/comment.php?type=trackback&entry_id=20"
dc:title="Kathleen (antiques_from_homewood)"
dc:identifier="http://rummyheads.com/serendipity/index.php?/archives/20-Kathleen-antiques_from_homewood.html" />
</rdf:RDF> Code: Select all
<!--Code: Select all
-->Let's see if we can get you what you want in this template.
In entries.tpl, look for this line:
Code: Select all
<div class="serendipity_Entry_Date">Code: Select all
<div class="serendipity_Entry_Date{if $dategroup.is_sticky} sticky_Entry{/if}">Code: Select all
.sticky_Entry .serendipity_entryFooter {display:none}The posted by info, date/time and track back sections can just be commented out or deleted. If deleted, this is what it would look like.....
from
Code: Select all
<div class='serendipity_entryFooter'>Code: Select all
<!--
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"Code: Select all
{if $entry.has_comments}
{if $use_popups}
<a href="{$entry.link_popup_comments}" onclick="window.open(this.href, 'comments', 'width=480,height=480,scrollbars=yes'); return false;">{$entry.label_comments} ({$entry.comments})</a>
{else}
<a href="{$entry.link}#comments">{$entry.label_comments} ({$entry.comments})</a>
{/if}
{/if}
{if $entry.is_entry_owner and not $is_preview}
| <a href="{$entry.link_edit}">{$CONST.EDIT_ENTRY}</a>
{/if}
{$entry.add_footer}
</div>
</div>=Don=
You've lost me a little on this part. I'm not sure what I should be changing and where.... (sorry to be such a pain!)Don Chambers wrote: The posted by info, date/time and track back sections can just be commented out or deleted. If deleted, this is what it would look like.....
fromto here (once you restore the comment tag):Code: Select all
<div class='serendipity_entryFooter'>You would insert this in place of what is already there:Code: Select all
<!-- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"None of this is tested, but I'm fairly certain it will work. Always keep a backup of your files before making these kinds of changes so they are easy to un-do if needed.Code: Select all
{if $entry.has_comments} {if $use_popups} <a href="{$entry.link_popup_comments}" onclick="window.open(this.href, 'comments', 'width=480,height=480,scrollbars=yes'); return false;">{$entry.label_comments} ({$entry.comments})</a> {else} <a href="{$entry.link}#comments">{$entry.label_comments} ({$entry.comments})</a> {/if} {/if} {if $entry.is_entry_owner and not $is_preview} | <a href="{$entry.link_edit}">{$CONST.EDIT_ENTRY}</a> {/if} {$entry.add_footer} </div> </div>
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
nancy - the separation between entries is due to the fact that the template author created bottom separation on the entry footer, not on the entry itself (which would have included the entry footer).
Find this in your style.css file:
Change that margin-bottom to 0, perhaps even the padding-bottom to zero. Directly below that, add this:
That is a reduction in the original margin, but I thought the original was excessive. Keep it at 5em if you prefer.
Regarding the "posted by", trackbacks, etc, it does not appear that you edited entries.tpl per my previous suggestion... otherwise, they would be gone. What did you do there?
Find this in your style.css file:
Code: Select all
div.serendipity_entryFooter {
font-family:Verdana, Arial, Geneva, Helvetica, sans-serif;
font-size: x-small;
padding-top: 10px;
padding-bottom: 4px;
margin-top: 20px;
margin-bottom:5em;
clear: both;
}Code: Select all
.serendipity_entry {
margin-bottom 2em;
}
Regarding the "posted by", trackbacks, etc, it does not appear that you edited entries.tpl per my previous suggestion... otherwise, they would be gone. What did you do there?
=Don=
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
I was thinking you had a chance of confusing the files, especially with your directory/folder structure.
Looks like you eliminated the display of "sticky postings" at some point in your editing. The text might be gone, but the "container" still exists, which is adding a bit of space to the top of your entry. You can add this to your style.css file to completely eliminate it:
Looks like you eliminated the display of "sticky postings" at some point in your editing. The text might be gone, but the "container" still exists, which is adding a bit of space to the top of your entry. You can add this to your style.css file to completely eliminate it:
Code: Select all
.sticky_Entry .serendipity_date {display: none}=Don=
Awesome!!! I really appreciate the help!!
I'm usually better about file management. I'm just a little overloaded at the moment. I'm not sure how I ended up with a double layer for the theme. I think it might have had something to do with an automatic installation but I'm not sure. Is there a way to correct that without undoing all the work I've done so far?
I'm usually better about file management. I'm just a little overloaded at the moment. I'm not sure how I ended up with a double layer for the theme. I think it might have had something to do with an automatic installation but I'm not sure. Is there a way to correct that without undoing all the work I've done so far?