[support] Fwd: "Read more" edit
Shai Gluskin
shai at content2zero.com
Tue Apr 12 11:59:08 UTC 2011
Christian,
You have to restore node.module back to its pristine condition before this
will work. I would actually delete node.module completely and replace the
whole file with a fresh copy.
Shai
On Tue, Apr 12, 2011 at 7:44 AM, Christian Quiñones <
christian.p.quinones at gmail.com> wrote:
> @Shai, I have tried both solutions, but neither one gives me a successful
> replacement, string doesnt change at all after flushing all caches.
>
>
> On Tue, Apr 12, 2011 at 10:37 AM, Christian Quiñones <
> christian.p.quinones at gmail.com> wrote:
>
>> @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 at 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 at gmail.com>
>>> *To:* support at 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 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/ ]
>>>>
>>>
>>>
>>> --
>>> [ Drupal support list | http://lists.drupal.org/ ]
>>>
>>
>>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110412/2b30b369/attachment-0001.html
More information about the support
mailing list