How to link block display's "more" link to panel page instead of view page

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by maddentim on April 21, 2010 at 2:40am

I am building a site with most content displayed through panels pages. The home page has a pane with a views block with a short list of content. I would like the "more" link to go to a panels page that contents the full page view of this particular content but the more link will only link to the view's page display. I suppose I could just put a footer in the block with a manual link... Is that the best way? Thanks.

Categories: ,

Comments

That's not a bad way unless

Posted by juliavdw on April 30, 2010 at 12:11am

That's not a bad way unless you want the individual items to link to their respective panel pages like how I do. I'm almost ready to re-do all my panels pages as views pages just for this. Hmm.

Link from View entries to Panel Page

Posted by Ofer Morag on November 29, 2010 at 7:31am

Hi,

I've been trying to find a way to link from a list of node titles (in a view) to individual panel pages.

Is this what you're doing? Can you point me in the right direction?

Thanks,

Ofer

Hi Ofer, what I ended up

Posted by juliavdw on November 29, 2010 at 8:27am

Hi Ofer, what I ended up doing for my site was to create a taxonomy vocabulary with the terms being the same as my panel page paths, assigning the terms to their respective pages and then including the taxonomy term fields into the view. I either used the terms as tokens to construct the link or made a view-field.tpl.php, I don't remember which method won out.
There may be a more efficient way to solve it (another suggestion was to do pre-process functions) but this worked for my project.

I do this in a

Posted by Scott Reynolds on April 30, 2010 at 12:26am

I do this in a preprocess_views_view, and adjust the $vars['more'] to whatever it is I want.

There is a patch for this:

Posted by dawehner on November 30, 2010 at 6:46am

Views Developers

Group organizers

Group notifications

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

AltStyle によって変換されたページ (->オリジナル) /