[support] Views peekaboo

Shai Gluskin shai at content2zero.com
Thu Dec 3 16:55:30 UTC 2009


Mihaela,

Here is another possibility:

http://drupal.org/project/conditional_fields

Shai

On Thu, Dec 3, 2009 at 11:28 AM, William Smith <william.darren at gmail.com>wrote:

> This should be a very simple task with jquery (included with Drupal core).
> Given your description of what you need to do, I'd hide the items via css or
> via the js (http://docs.jquery.com/Effects/hide), add a 'Show full
> content' link in the View header, and then on the click event (
> http://docs.jquery.com/Events/click#fn), show those elements (
> http://docs.jquery.com/Effects/show)
>
> See also: http://drupal.org/node/121997 ('Javascript and Drupal' in the
> Developing for Drupal handbook)
>
> Hope that is of some help,
> William
>
> On Thu, Dec 3, 2009 at 2:17 AM, Prkos <prkos at prkos.hr> wrote:
>
>> I need to create a views list of nodes with lots of different cck
>> fields, but in a way that only a couple of the fileds are visible right
>> away (for each node), and the rest of them are revealed after clicking
>> on a link or something similar (Show full content) that is there for
>> each node in the list.
>>
>> There's no need to ajax-load the content, it can be there only hidden
>> and revealed onclick, and there's no need for any kind of animation.
>>
>> I guess it's something like collapsible fieldsets on node-edit pages, or
>> exactly like that. Can it be done with grouping fields? Is there a
>> module that does something similar?
>>
>> Thank you
>> Mihaela
>> --
>> [ Drupal support list | http://lists.drupal.org/ ]
>>
>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20091203/4ee87b44/attachment.html 


More information about the support mailing list