Modify

Opened 9 years ago

Last modified 2 years ago

#3303 new enhancement

Applying the display layout of the previous tBlog plugin to FullBlogPlugin

Reported by: DongInn Kim Owned by:
Priority: normal Component: FullBlogPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Hi,

I have tried to apply the display layout of the previous tBlog plguin to FullBlogPlugin on trac-0.11. This new layout is setup to be applied when the [[BlogList]] wiki macro is used.

It is a trivial change but I tried to change the layout because I like the display layout of the previous Trac blog plugin (tBlog) better. :-)

I hope that someone can try to use this patch and see that it is useful.

Regards,

-ps- My trac-0.11 is setup on RHEL4 Update 6. (python-2.3 :-( )

  • DongInn

Attachments (1)

tracfullblog_macrolayout.patch (3.2 KB) - added by DongInn Kim 9 years ago.
A patch for the new layout

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by DongInn Kim

A patch for the new layout

comment:1 Changed 9 years ago by DongInn Kim

Owner: changed from Alec Thomas to John Hampton

comment:2 Changed 9 years ago by Alec Thomas

Component: TracHacksFullBlogPlugin

Wrong component.

comment:3 Changed 9 years ago by Odd Simon Simonsen

The Genshi template <div> that is modified is used by all the various listings in the plugin - be it from a macro or plain listings.

No doubt the metadata display can be improved if so wish, but I'm sure the change can be much less intrusive by just doing minor modifications to template, and changing the current metainfo related CSS styles. As the metainfo listing is just a <ul> it could likely even be done as CSS only by setting list-style: none; and some further tweaking.

As for the change of introducing a 170px margin on all blog content, that cannot happen. For the site where this is done (likely for the menu on the side?), such a change should rather be in Trac layout.html or theme.html to squeeze the main Trac #content to the right - regardless of module or content.

Anyway, I'd very much like to review such a patch before changes are committed :-)

comment:4 Changed 2 years ago by Ryan J Ollos

Owner: John Hampton deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.