Panels drop in custom teasers

Events happening in the community are now at Drupal community events on www.drupal.org.
chrisschaub's picture

I'd like to create a custom link in the panels content popup (add new pane), like the current "Existing node" link, that would be "Custom teaser". The panels interface would prompt for node title/id and you could upload a custom thumbnail. Upon save, a single teaser would be dropped into the specified region. This way, users could easily drop teasers panes into regions/columns without having to see all the options under "add existing node." Any suggestions are appreciated.

Comments

Right up until you get to the

merlinofchaos's picture

Right up until you get to the custom thumbnail, it's a pretty straightforward cut & paste of the node content with the options you don't want removed.

The custom thumbnail, though, that's tougher. You've got to figure out storing the file and going thorugh the process of uploading. It's relatively complex to do all that.

One way to accomplish this

merlinofchaos's picture

One way to accomplish this (without the custom thumbnail) without code is to use Views to create the customized teaser. Then you can simply make the content pane available with minimal configuration settings.

Thanks for the help, take it

chrisschaub's picture

Thanks for the help, take it easy.

This module might provide the

chrisschaub's picture

This module might provide the groundwork for an approach to my problem. Just linking here in case it would help somebody else.

http://drupal.org/project/ctoolscustomplugins

Similar to the custom formatters concept, but you can just create a custom plugin and re-use the existing code which currently supports file uploading, images etc. Pretty, cool.

module

design10's picture

Have a look here as well
http://drupal.org/project/panels_teasers

Panels

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: