Postponed (maintainer needs more info)
Project:
Dynamic display block
Version:
7.x-1.0-rc1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Sep 2011 at 21:51 UTC
Updated:
15 Sep 2011 at 05:00 UTC
Comments
Comment #1
Woggers commentedThat tutorial is for Drupal 6. Process is quite likely very different now.
Comment #2
borgeous commentedDo you know how to link the readmore button to a specified url under drupal 7?
Comment #3
ppblaauw commentedddblock for drupal 7 does not use preprocess function in the template.php file anymore.
It uses mapping of views fields to slideshow template variables.
1.) When you want to link the readmore button to another page, you can add a link field (needs link module) to the content type (for example a field called: "slide_url") and also add this link field to the views block display for the slideshow. In the link field you can give a URL and a text for the URL.
When you have the "slide_url" field set in the views block display, you can map this "slide_url" field to the slide_read_more template variable in the ddblock configuration page.
2.) When you want to link the readmore button to the node of the slide itself, you can add a "Node: Link" (Provide a simple link to the node.) field to the views block display used for the slideshow.
In the "node:link" views field options you have a setting "Text to display".
You can set this to: Read more...
When you have the "node:link" field set in the view block display, you map this "Node:link" field to the slide_read_more template variable in the ddblock configuration page.
Hope this helps you further, please let me know.
Comment #4
borgeous commentedI tried it but it didn't seem to work,
my read more button has disappeared, im using the upright60p theme, can i link the slide title to another url?
thanks for your help!
also this is the site im working on, the slideshow is on the front page
http://borgeous.us/
Comment #5
ppblaauw commentedSteps to link the readmore button to other pages:
Please make another issue to link the slide title to another url, so searching on issues and finding answers stays useful.