Post date missing after 4.2 upgrade

Reports about issues that you encounter in Suffusion
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

Post date missing after 4.2 upgrade

Postby zfirst » 24 May 2012, 12:03

After upgrading my organization's blog, http://thedx.druckerinstitute.com/, to Suffusion 4.2, the dates for all of our posts are no longer displaying. Anyone have any ideas about what I might do to correct this rather strange error?

In Skinning -> Date Box, I have selected "Show" "Custom," set the Date Box to Transparent, Top left, and set the Month, Date and Year Font to color 454545 at 50% size with all styles set at Normal.
zfirst
 
Posts: 3
Joined: 24 May 2012, 11:59

Re: Post date missing after 4.2 upgrade

Postby zfirst » 25 May 2012, 14:44

I've found a temporary fix to this issue that suggests there may be a bug somewhere in the Suffusion 4.2 code. In pullout.php, I changed:

Code: Select all
if ($show_date && $show_date != 'hide') {
   echo "<li><span class='pullout-date'><span class='icon'>&nbsp;</span>" . get_the_time(get_option('date_format')) . "</span></li>\n";
}


to

Code: Select all
echo "<li><span class='pullout-date'><span class='icon'>&nbsp;</span>" . get_the_time(get_option('date_format')) . "</span></li>\n";


by deleting the "if" statement. This caused the dates to reappear for all of my posts. Note that, prior to making this edit, no matter what display setting I selected in Skinning -> Date Box, the date would not appear.

A potentially related bug is that the <li> for the post's tags in the same pullout area has an erroneous bottom margin. The dotted line that appears underneath each pullout <li> is not spaced correctly. I have implemented a kludgey temporary fix by inserting a <br /> between </span> and </li> in the pullout.php code. This only fixes the display error for lists of tags that are one-line long. Multi-line listings of tags show the final line of tags superimposed on the dotted hairline that should be below.
zfirst
 
Posts: 3
Joined: 24 May 2012, 11:59

Re: Post date missing after 4.2 upgrade

Postby sayontan » 25 May 2012, 14:50

This should work:
Code: Select all
if ($show_date && $show_date !== 'hide') {
   echo "<li><span class='pullout-date'><span class='icon'>&nbsp;</span>" . get_the_time(get_option('date_format')) . "</span></li>\n";
}


A potentially related bug is that the <li> for the post's tags in the same pullout area has an erroneous bottom margin. The dotted line that appears underneath each pullout <li> is not spaced correctly. I have implemented a kludgey temporary fix by inserting a <br /> between </span> and </li> in the pullout.php code. This only fixes the display error for lists of tags that are one-line long. Multi-line listings of tags show the final line of tags superimposed on the dotted hairline that should be below.

See this: viewtopic.php?f=2&t=10251&p=39229&hilit=pullout.php#p39229
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: Post date missing after 4.2 upgrade

Postby zfirst » 25 May 2012, 15:13

Thanks, Sayontan. Those to fixes did the trick! :D
zfirst
 
Posts: 3
Joined: 24 May 2012, 11:59


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 3 guests