Ticket #112 (closed enhancement: fixed)

Opened 1 year ago

Last modified 10 months ago

Weblog widget is narrow

Reported by: aconkling Assigned to: timh
Priority: lowest Milestone:
Component: core Version: None
Severity: minor Keywords:
Cc: misja, ewout, rho, dramirez Patch Included:
Review Stage:

Description (Last modified by timh)

The blog widget is quite narrow, making the posts quite hard to read, as well as rather long.

Example here:
http://ubuntero.org/news/profile/

Even here, where posts are made by multiple members on behalf of the account, the same icon is shown, and little info is gained on the left side of the widget.

Attachments

patch.diff (1.2 kB) - added by timh on 11/25/07 19:29:46.
patch diff to simplify the weblog widget for better use of avilable width

Change History

11/24/07 01:14:31 changed by timh

  • description changed.
  • severity set to blocker.

What about dropping the use of run("weblogs:posts:view", $post); from the weblog widget???

We could simply render out the blog post without the user icon taking up so much room on the left, perhaps put it inline at the top of the blog entry...

11/24/07 01:15:11 changed by timh

  • component changed from general to core.
  • severity changed from blocker to minor.

11/25/07 19:29:46 changed by timh

  • attachment patch.diff added.

patch diff to simplify the weblog widget for better use of avilable width

11/25/07 19:30:17 changed by timh

  • owner changed from nobody to timh.
  • status changed from assigned to new.

11/25/07 19:33:15 changed by timh

Any objections to dropping the use of run("weblogs:posts:view", $post) from the way weblog widget is rendered?

The attached patch renders out a simplified view of the blog on a widget. The problem with the current method is that the CSS styling from the full page blog view doesn't suit a widget.

(follow-up: ↓ 6 ) 11/25/07 19:33:21 changed by timh

  • status changed from new to assigned.

(in reply to: ↑ 5 ) 11/26/07 12:35:08 changed by misja

  • cc set to misja, ewout, rho, dramirez.

Replying to timh:

One of the benefits of having the keywords is being able to reuse content in an easy way. I would not be in favour of having duplicate code generating more or less the same output. Isn't it possible e.g. to let the widget override the default css for displaying weblog entries?

12/09/07 00:49:22 changed by timh

  • status changed from assigned to closed.
  • type changed from defect to enhancement.
  • resolution changed from None to fixed.

I'm committing a better approach to this then to include an inline style override (by loading a widget_css file) that can be used to control how the blog widget appears.

12/09/07 01:02:28 changed by rho

#190 is related, let's templates css override inline styles