I think something happened with the upgrade to the RECENT ARTICLES plugin. It used to look like this...
John Oliver Agrees with Fox News that Obama is Hitler November 14 2008
now it looks like this
Daily Show John Oliver Agrees with Fox News that Obama is Hitler
November 14 2008
It just doesnt look right.. You get a sense that something is wrong
I would not mind having no date at all, but when I delete the code in the plugin box it comes right back when I save.
http://rackjite.com
tkhanx
recent article plugin format
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
It appears to have been changed from <a>TITLE</a><br />(possibly more than a single br)<div>DATE</div>. It is now a definition list. Many plugins were changed in 1.4 to remove forced markup, such as the line breaks, because that effect should really be achieved through style (css). Yellowled spent a good deal of time editing every plugin he could find that used markup to achieve an effect best presented by css, and I believe all CORE templates were revised to include css that, at minimum, restored the plugin appearance to its original format prior to modifications.
I checked bulletproof, and at the bottom of its base.css stylesheet are all the 1.4 compatibility styles. This is what exists for the recent entries plugin:
You might want to start by adding those styles to your template, and modify to taste.
Personally, I would love to see that plugin modified to use smarty templates as an option.
I checked bulletproof, and at the bottom of its base.css stylesheet are all the 1.4 compatibility styles. This is what exists for the recent entries plugin:
Code: Select all
.serendipity_recententries_entrylink { margin-bottom: 2px; }
.serendipity_recententries_entrydate { margin: 0 0 4px 0; }Personally, I would love to see that plugin modified to use smarty templates as an option.
=Don=
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Yes.rj wrote:I take it those would be put in my blogs style.css file?
Well, you can modify the plugin code to not emit the dd, or you could use simple css .rj wrote:And is there any way to just totally elimate the dates from the plugin window in that code box? Like a special character to put in DONT PRINT!
that would be cool...
Code: Select all
serendipity_recententries_entrydate { display: none}.=Don=
You're perfectly right: All core plugins and templates in 1.4 (i.e. all plugins and templates shipped with the s9y distribution) were updated to emit sensible, semantically correct HTML (that refers to the plugins, of course) yet display it without any optical changes.Don Chambers wrote:Yellowled spent a good deal of time editing every plugin he could find that used markup to achieve an effect best presented by css, and I believe all CORE templates were revised to include css that, at minimum, restored the plugin appearance to its original format prior to modifications.
I checked bulletproof, and at the bottom of its base.css stylesheet are all the 1.4 compatibility styles.
Now, of course I cannot update every template there is, especially if it isn't in a public repository
Depending on the way your template deals with margins and padding, you might want to use non-px values for those.
Hope that helps
YL