Default module areas for plugins

What I would LOVE LOVE to see is updating Zenphoto themes and architecture that supports default modules areas that HAS to be on every theme.

For example from a end user stand point most new and custom plugins can be added to predefine areas that already exists in the THEME without the need for them to add the custom plugin code in the code

Example of default sections
top bottom and side panels , top and bottom of image.php , gallery.php album.php...etc .. understand?

Comments

  • acrylian Administrator, Developer
    You mean filters actually. We have some already for the `` section (for registering CSS and JS stuff), after body open and before body close.

    We could probably create more filters to be available to themes but not all themes are the same (not all have a sidebar) way structured. The codeblocks provide a similar purpose actually but the theme needs to have support for that.

    I actually had a thought about widget functionality as seen on Wordpress that plugins can register to so you can place them in certain places even via drag and drop. Is that something you have in mind, too?

    I have opened two tickets with ideas related to this:
    https://github.com/zenphoto/zenphoto/issues/314
    https://github.com/zenphoto/zenphoto/issues/315

    Btw 1.4.5 will have "content macros" plugins can register to. You maybe know simiilar as "shortcodes" from Wordpress.
Sign In or Register to comment.