#126 ✓resolved

Right Boxes conventions

Reported by ProLoser | January 27th, 2010 @ 03:47 PM | in 0.6 alpha

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

Comments and changes to this ticket

  • dogmatic69

    dogmatic69 January 29th, 2010 @ 02:28 PM

    • 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

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Please use this for the current version of Infinitas only, if you are using a older version of the Infinitas report bugs in that project.

Please submit bugs only as pending, and if its a feature request submit the ticket with the milestone "Feature Requests".

Shared Ticket Bins

People watching this ticket