[support] Fwd: "Read more" edit

Neil Coghlan neil at esl-lounge.com
Tue Apr 12 00:18:59 UTC 2011


hmm, that's not really a workaround...you shouldn't touch core modules. 
I've been using String Overrides module for two years and it works like 
a charm. Could be a cache issue, always clear cache when working with 
those types of modules.

On 11/04/2011 21:04, Christian Quiñones wrote:
> I must be doing something wrong as I have done as you instructed with 
> no punctuations just the first letter capitalized.  However I did go 
> into the node.module file and found the string that defines "Read 
> more" and replaced it, and now my new text appears.  I guess there is 
> always a work around.
>
> On Mon, Apr 11, 2011 at 10:03 PM, Neil Coghlan <neil at esl-lounge.com 
> <mailto:neil at esl-lounge.com>> wrote:
>
>     if you install the module, you have a text box on the right and
>     one on the left.
>
>     In the left, you put the string exactly as it appears in the
>     module. "Read more" is not the same as "Read more?" I believe the
>     exact string in the node.module is "Read more". Only first word
>     capitalised, no punctuation.
>
>     then on the right, put what you want to appear. Refresh page.
>     Celebrate.
>
>
>     On 11/04/2011 16:55, Christian Quiñones wrote:
>>     Ok, so if I use string overrides, would I just use the word "Read
>>     More"?, when trying this, no changes take place.
>>
>>     On Mon, Apr 11, 2011 at 8:45 PM, Neil Coghlan
>>     <neil at esl-lounge.com <mailto:neil at esl-lounge.com>> wrote:
>>
>>         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/ ]
>>>
>>>
>>
>>         --
>>         [ 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/20110411/0b31005f/attachment.html 


More information about the support mailing list