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.
maddentim's picture

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.

Comments

That's not a bad way unless

juliavdw's picture

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

Ofer Morag's picture

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

juliavdw's picture

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

Scott Reynolds's picture

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:

dawehner's picture

There is a patch for this: http://drupal.org/node/564106

Views Developers

Group organizers

Group notifications

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