Drupal Updates

Friday, May 7, 2010

Drupal: HOWTO – Link teaser to node in a View(Drupal 5)

Someone asked me how to link a teaser to node in a View using Drupal 5.
This is how it could be done in a list view:
1. Change the view type to list view
2. Add your teaser field and any other fields you need
3. You add the node id field and save the view
4. Go to example.com/?q=admin/build/views/wizard, and select the view
5. Make the theme type simple list
6. Click select theme type
7. Paste all the code in the correct files
Your view should be showing with the node ids by now. Next, we go and convert our node ID into a URL in the theme

Click here to view the rest of the solution.

No comments:

Post a Comment