Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

I'm trying to create a view that works as category page (aggregates a list of titles from content pages I've created). I need that list to link out to another view that is used to display photo galleries. Am I approaching this the correct way?

I want it to be dynamic so the customer can create photo galleries and they will automatically populate in the category page; then, a link send you to the proper display view.

share|improve this question
    
Hi ! - Are you photo galleries content types or taxonomy terms ? When you say "link out to", do you mean simply display a link to the page of the gallery ? –  Gregory Kapustin Dec 14 '12 at 21:56
    
Hi Gregory. As it is right now- I'm just using content types with a tag (with unlimited image field) to display a certain gallery. I want to be able to have several galleries and seperate them within categories. Should I do this another way? –  James30 Dec 14 '12 at 23:50
    
I figured out what to do. I created a new field on the content page, used it as the gallery view url. Then used the rewrite token of that field for linking url. The title categories will now go to that view. Thanks for the help. -James –  James30 Dec 15 '12 at 2:16
    
It's great that you figured it out. You can submit an answer to your own question to help others with the same problem. –  beth Dec 15 '12 at 14:44
add comment

2 Answers

Solution to this issue:

Use a tag, on your content page, that has the same url as your gallery view has. Make sure that the order of your fields, in the views config page, has the title field coming after the tag field.....in order for the tokens to appear in the rewrite section of the title field. Add the content:tag token to your title field, as the link url. Now you have a category page that uses titles to link to view galleries. Create view as a block to offer list on other pages.

share|improve this answer
add comment

Suppose the name of views are view1 and view2 as content pane.You have to link view2 to view1.

For linking one view to another you would have to follow some simple steps:

  1. In view2 you have an option under PANE SETTINGS 'Link to view' and select Yes.
  2. In view1 also you have an option under PANE SETTINGS 'Link to view' and select Yes.
  3. Now decide the place where you want to display view2.
  4. Suppose its the footer region. Go to the footer region and add a Global:View area.
  5. There you have a list of all views. Select view2 and save the view.

This way you can let one view execute under another view.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.