How can i hide the node gallery in the teaser view? The settings for "Gallery teaser(list) view settings" do not provide a 'none' option.. neither does the 'exclude' in teaser display option for the content type help.

Comments

justintime’s picture

I'm assuming you mean you want to only show the gallery metadata in teaser view, and not the image thumbs?

Visit admin/build/views/edit/node_gallery_gallery_image_views, and modify that view so that it outputs nothing. You could hide the fields, modify the filters, or whatever.

dddave’s picture

Status: Active » Fixed

Guess this is fixed.

njathan’s picture

Yes it is fixed. Thanks!
I created a view producing NULL results and used it in the teaser.
Just curious to know... does this method not utilize memory and/or processing power? Would it be a major concern one day when the traffic increases?

crea’s picture

If we don't have an option to disable this completely, than this could be a bug: even empty view processing wastes some resources.

scroogie’s picture

Version: 6.x-3.0-beta2 » 6.x-3.0
Status: Fixed » Needs work

I agree, there could be a simple "none" option that skips the embedding.

crea’s picture

Title: Hide node gallery in teaser view » Hide node gallery in teaser view and don't waste resources on View processing
Version: 6.x-3.0 » 6.x-3.0-beta2
Category: support » bug
Status: Needs work » Fixed
scroogie’s picture

Title: Hide node gallery in teaser view and don't waste resources on View processing » Option to hide node gallery in teaser view and don't waste resources on View processing
Version: 6.x-3.0-beta2 » 6.x-3.x-dev
Status: Fixed » Active

I guess the fixed was not on purpose.

crea’s picture

Title: Option to hide node gallery in teaser view and don't waste resources on View processing » Option to disable gallery-embedded views to save resources and to not break alternate rendering methods
Status: Active » Needs review
StatusFileSize
new2.52 KB

I'm using Panels together with Node Gallery. If I invoke nodeapi view hook, Node Gallery breaks content rendering. So I fixed this both for teaser and full page views.
I know, this could be better UI-wise if implemented with separate checkboxes, but I'm lazy and I think we have already too much clutter on relationship form anyway.

crea’s picture

Slightly better patch

zengenuity’s picture

Status: Needs review » Closed (won't fix)

Issue queue cleanup. No more additions to 6.x series.