[support] Views - open nodes in colorbox
Jeff Brown
jeff at wildcoast.com
Fri Mar 30 06:57:31 UTC 2012
Thanks Joel, that helps somewhat.
Sure I don't need to highlight my embarassing ignorance of php and css, but
I'm stuck at trying to get the data into a table with 4 columns, now.
I came across semanticviews and watched Jeff Burnz's demo, and that seems
pretty cool... if only I had a table class in my theme, and didn't have to
try and figure that out from scratch. I can see that views uses a table with
1 column, but how would one override that in the theme?
In http://drupal.org/node/156863 Nancy outlines how to create a table in
php, but as a non-programmer who doesn't understand the Drupal API I kinda
get stuck trying to figure out where to put the code. table.tpl.php, or
what? I can't really see that helping me anyway, as it's specifically
selecting data which I want Views to do. (Although if I knew enough to
create that code in the right place, I guess I could just use that "simple"
table... since all my view is showing is a teaser of content that has been
promoted to front page.
Frankly, I'm stuck at a conceptual level, and can't see the wood for trees.
I don't mind doing the homework, but I'm pretty stuck for a starting point
at the moment.
Any help gratefully appreciated.
----- Original Message -----
From: "Joel Willers" <joel.willers at sigler.com>
To: <support at drupal.org>
Sent: Thursday, March 29, 2012 8:29 PM
Subject: Re: [support] Views - open nodes in colorbox
>I may not fully understand what you're asking, but there are many avenues
>to explore. You could use a field view instead of Node view and build it
>all that way. You could add all the fields, make them hidden, then use the
>tokens in Views to display them the way you want. You could make the
>.tpl.php file for your view and display it that way. Or you could use a CSS
>file to change how the layout works.
>
> If it were me, I'd probably do the Hidden Fields version. You select ALL
> of the info you want to include on the page, but have them Excluded from
> Display. Then you add (at the end) a Global Custom Text with all the
> tokens to build the display that you want.
>
> Hope that helps some!
>
> Joel
>
>
> -----Original Message-----
> From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
> Behalf Of Jeff Brown
> Sent: Thursday, March 29, 2012 11:48 AM
> To: support at drupal.org
> Subject: Re: [support] Views - open nodes in colorbox
>
> Okay, I was being, um, cerebrally challenged. I admit I don't grasp a
> fraction of Views, but anyway.
>
> In my Views Table I can place the "main image" field and open it in
> colorbox - but how does one get the table into a grid format? Is it
> possible?
>
>
>
> ----- Original Message -----
> From: "Jeff Brown" <jeff at wildcoast.com>
> To: <support at drupal.org>
> Sent: Thursday, March 29, 2012 6:26 PM
> Subject: [support] Views - open nodes in colorbox
>
>
>> Context: Simple front page showing a gallery of pictures with titles. I
>> want
>> the link to open the node in colorbox with all fields and additional
>> pictures displayed.
>>
>> Basically, I can't figure out how to display the teaser (photograph with
>> title) any way other than using the Grid display in Views; but it doesn't
>> seem to have any flexibility ITO rewriting the link.
>>
>> Thinking I could rewrite all node links to open in colorbox, I tried
>> implementing #28 from http://drupal.org/node/836160 but all I got was a
>> blank screen... even before I needed to figure out how to include the
>> URL.
>> It does seem quite extraordinarily difficult to open a node in colorbox.
>>
>> Simple question: How can one create a grid/table in Views that shows the
>> teaser, with photo? All I can get the table format to do is display text
>> links.
>>
>> Or is there another way?
>>
>> TIA for any and all help...
>>
>> --
>> [ Drupal support list | http://lists.drupal.org/ ]
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
> --
> [ Drupal support list | http://lists.drupal.org/ ]
More information about the support
mailing list