Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Right Boxes conventions

#126

This is a thought I had looking at the blog plugin. Hopefully it might help other developers in picking up infinitas.

The Blog Plugin has an element called right_boxes.ctp. I'm sure you're using this filename as a convention. I also noticed it holds both comments information AND information unique to the plugin itself (blog posts pending, etc).

1: I think you should rename these elements to 'widgets'. Namely because position is arbitrary, say if a css designer makes a new admin layout with different placement. Widgets seem like small bodies of factoidal information.

2: I think you should move the 'comments' php into it's own comment widget. Make this widget available to all plugins that have commenting enabled. This way, developers only need hassle about functionality they bring to the table (pending blog posts). In addition, when designing the layout, they can choose wether or not they want to display this widget AND the comments widget.

I might be wrong in assuming you stack right-boxes together. I may also be suggesting a poor solution due to the issue of which plugins/tables/features implement the comments, or how those comments are counted, may be too unique from implementation to implementation in order to generalize.

I hope this isn't confusing

Reported by ProLoser · January 27th, 2010 @ 03:47 PM

State: resolved
Milestone: 0.6 alpha
Assigned to: dogmatic69 dogmatic69

Activity

  1. dogmatic69
    dogmatic69
    • State changed from new to resolved
    • Assigned user set to dogmatic69

    this has been implemented, its called "modules" and there are many in the frontend, and some in the backend

    January 29th, 2010 @ 02:28 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.