When i submit a story link, then click on the link (Title of the story), I go to the node itself and not the URL/address of the story.
When i submit a story link, then click on the link (Title of the story), I go to the node itself and not the URL/address of the story.
Comments
Comment #1
frjo commentedFrom the README file:
Theme story links:
-----------------
If you use a PHPTemplate theme you can theme story links nodes with a
"node-storylink.tpl.php" file.
An example "node-storylink.tpl.php" and "template.php" is included.
Place them in the folder of your theme. The examples are styled with the
css file "vote_up_down.css" in the vote_up_down module folder.
In "alternative" there are a "node-storylink.tpl.php" for use with the
"Alternative +1 vote style" (digg style) voting widget.
The example include these functions:
* Make the title an external link to the submitted story.
* Inserts the voting widget directly for greater control.
* Inserts the domain of the submitted story url like "(via example.com)".
* Displays a small user picture above the voting widget.
OBS! When using "node-storylink.tpl.php" you must turn off
"Vote widget display..." in "admin/settings/vote_up_down" to avoid
getting double voting widgets.
Comment #2
blackrain commentedThank you for the help that was very fast.
Comment #3
ssimmons commentedI just installed this using the "Zen" theme, which already has a template.php. I found that you just need to copy the following:
Paste that after this line: