Postponed (maintainer needs more info)
Project:
Dynamic display block
Version:
6.x-1.0-rc6
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2009 at 21:28 UTC
Updated:
3 Dec 2009 at 01:21 UTC
Comments
Comment #1
ppblaauw commentedWhat is the code you use for the read more button in the content preprocess function for the ddblock module in your template.php file. Can you attach your template.php file so I can help you better.
Comment #2
mgladding commentedIs this what you are looking for?
From my template.php file:
Comment #3
ppblaauw commentedThe l() function in Drupal 6 uses an $options array where you can pass a fragment.
'fragment' - A fragment identifier (named anchor) to append to the link. Do not include the '#' character.
To split the named anchor from your original URL you can use:
The code, including an if statement to check if the URL has a named anchor part,would become:
Hope this helps you further, please let me know.
Make this a support request and will add this to the preprocess snippets at http://ddblock.myalbums.biz/preprocess_snippets