@Shai, I have tried both solutions, but neither one gives me a successful replacement, string doesnt change at all after flushing all caches.
@Shai,
I realize I should not hack the core module, as you can see I am still in the process of learning. I have not tried your answer yet but it looks promising. Thank you very much.On Tue, Apr 12, 2011 at 3:41 AM, nan wich <nan_wich@bellsouth.net> wrote:Gosh, all these great, complicated solutions. You can put a simple string translation in the bottom of your settings.php file. I don't have the format here handy, but I have used that to change the "Add new comment" string.
Nancy
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
From: Christian Quiñones <christian.p.quinones@gmail.com>
To: support@drupal.org
Sent: Mon, April 11, 2011 3:31:27 PM
Subject: Re: [support] Fwd: "Read more" edit
@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@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/ ]
--
[ Drupal support list | http://lists.drupal.org/ ]