Closed (won't fix)
Project:
Panels
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2008 at 23:50 UTC
Updated:
1 Feb 2012 at 02:45 UTC
I have managed to user panels for full node overrides, is it possible to use panels just for teaser override??
Thank you!
Comments
Comment #1
merlinofchaos commentedNot with the current system. If you do some development work you probably could come up with something.
Comment #2
pribeh commentedWould this mean being able to override teaser text lengths and the like?
I hate Drupal 5's single tier teaser length and dislike having to code a custom_whatever.tpl.php every time I want to change the length of a (set of view) teaser(s).
Doesn't Drupal 6 allow for more than a single teaser length or preset? Could we borrow/learn from Drupal 6 how to implement this into panels. You should know Merlin - I watched your screen-cast.
I can't develop just ask and test... sorry.
Comment #3
merlinofchaos commentedDrupal 6 doesn't really do anything different for teasers, I'm afraid.
Comment #4
jerepops commentedIf I am not mistaken, when you are adding content on drupal 6, you can set where you want the teaser to end by clicking split content at cursor next to the input field.
Comment #5
pribeh commentedya, I design for a community driven content site with no editorial staff. A big portion of the user base doesn't know how to use said features, or even use the provided teaser/summary field. When generating different layouts for teasers to be displayed you want to be able to cut teaser lengths/dimensions for the various content being generated by a huge user base automatically. Especially when you want to vary the manner in which people can navigate websites (ie, publication sites), you want to be able to set numerous teaser lengths/dimensions. Wish someone would come up with a module for it. Maybe I should pay someone to do it. anybody reading this who might know how to do this?
Comment #6
zilla commentedteaser by content type? it is a module...but not for d6 yet: http://drupal.org/project/teaserbytype
Comment #7
pribeh commentedwell, I'm pretty sure droople is looking for something else. Setting up a "teaser by content type" I'm sure is useful for some purposes, but I'd kill for the ability to edit (within a gui) the separate teaser lengths for a single view, one for 'full page' and another for 'block', or simply within a pane when selecting it under 'content'. This would be a killer feature for publication sites.
Comment #8
gpk commentedIn D6 the teaser generation function http://api.drupal.org/api/function/node_teaser/6 has an argument to allow a specific length to be added. I thought this API addition was for the benefit of Views, but maybe I'm mistaken ...
Comment #9
sunComment #10
reij commentedI would really like it if Panels could format the teaser.
I am using panels to format a CCK content type with many fields and it works great. The teaser view, however, just lists all the field values in a plain list. It would be very helpful if I could control the teaser view just like the content view using panels.
BTW, this is a wonderful module.
Comment #11
merlinofchaos commentedPanels 2 is no longer available and is unsupported. Marking all Panels 2 issues won't fix.
Comment #12
mikeytown2 commentedDoes 3.x allow for this?
Comment #13
merlinofchaos commentedHm. No. It'd have to be through some mechanism other than page manager, or perhaps a special function of the node_view task which could allow the display to be used for the teaser. I guess that's actually not that tough.
Comment #14
merlinofchaos commentedIMO, this should probably be a separate module that provides this using the Panels API. It could conceivably try to hook into page manager and offer up its variants for use, even, though it seems unlikely that page variants would really be the same thing you use for teaser variants.
I don't think I would offer this module in Panels itself. It's a neat idea, but has a fairly narrow use case. People would use it, but not many.
Comment #15
Ghostthinker commented+1 really "won't fix" status?
Comment #16
Ghostthinker commentedQuick notes on this.
- Theres a module that allows minipanels to be used als views rowstyle plugin. Thats works great.
- For nodereferences I wrote a small module that creates a new formatter "minipanel_teaser". Formatters can't have options, so all I do in the formatter is to look for a minipanel called "%type_node_teaser" and use it for rendering. Otherwise I just print the teaser. Maybe this helps someone.
Comment #17
jon pughHi all,
Yesterday I created a module that allows using Mini Panels for Teaser Layouts: http://drupal.org/project/panels_teasers
Really straightforward... Create a mini panel, add a required Node context, then visit the Node Type's settings page and select the Mini Panel to use for the teaser under the "Teaser Mini Panel" fieldgroup.
Comment #18
lhernon commentedCareernerd: This module is great! Especially love 2.0. Thanks...Laura
Comment #19
MichaelCole commentedHi, could this be easily implemented in page manager on node_view using "selection rules"?
Seems like the "PHP Code" rule could handle this simply. What would be the good code to detect if a node was being displayed as a whole page, or a teaser?
This could then be added as an option in the dropdown right? Is there a better way to do this?
Mike
Comment #20
MichaelCole commentedComment #21
merlinofchaos commentedYes, yes the panel teasers module as suggested above. The node_view page handles only the node/% page, not teasers.
See #17. I'm not sure why this issue was re-opened and then moved.
Comment #22
rogical commentedsee Panels Teasers, there's no D7 version, but we can use display suit for teaser currently.