[support] Fwd: "Read more" edit

Neil Coghlan neil at esl-lounge.com
Mon Apr 11 19:45:30 UTC 2011


if you want to replace all instances of "Read More", then string 
overrides is the easiest way to do it.

On 11/04/2011 16:31, Christian Quiñones wrote:
> @Neil.  I am afraid I have to do some more research to learn how to 
> roll my own links.  I was hoping it was as simple as just "replacing" 
> keywords.
>
> @Earnie, I looked at the api and I dont' understand if I have to just 
> copy and paste into the node.api.php file or if I have to actually 
> create a module invoking this api.  If its tha latter, I will need to 
> keep searching for a better solution.
>
> Either way, thank you for your input.
>
> On Mon, Apr 11, 2011 at 7:40 PM, Earnie Boyd 
> <earnie at users.sourceforge.net <mailto:earnie at users.sourceforge.net>> 
> wrote:
>
>     Simply roll a custom module that implements hook_link_alter[1] for
>     D6 or
>     hook_node_view_alter[2] for D7.
>
>     [1]
>     http://api.drupal.org/api/drupal/developer--hooks--core.php/function/hook_link_alter/6
>     [2]
>     http://api.drupal.org/api/drupal/modules--node--node.api.php/function/hook_node_view_alter/7
>
>
>     --
>     Earnie
>     -- http://progw.com
>     -- http://www.for-my-kids.com
>     --
>     [ Drupal support list | http://lists.drupal.org/ ]
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110411/2c47d6c3/attachment-0001.html 


More information about the support mailing list