Hello,

Is it possible to change the text for the Read More button?

Thanks!

- jody

Comments

that0n3guy’s picture

georgedamonkey’s picture

I actually use that on my site all ready. But, oddly, it doesn't effect the text on ddblock.

airen2011’s picture

The next version of the ddblock module will contain translatable text for the prev, next and read more text.

As a workaround you can now change read more in the content preprocess function in template.php.

E.g

          if (isset($result->nid)) {
            $slider_items[$key1]['slide_read_more'] =  l('Read more...', 'node/' . $result->nid);
            $slider_items[$key1]['slide_node'] =  base_path() . 'node/' . $result->nid;
          }

into:

          if (isset($result->nid)) {
            $slider_items[$key1]['slide_read_more'] =  l('[YOUR TEXT HERE]', 'node/' . $result->nid);
            $slider_items[$key1]['slide_node'] =  base_path() . 'node/' . $result->nid;
          }

Hope this helps you further. Please let me know.

ppblaauw’s picture

Status: Active » Postponed (maintainer needs more info)

Status change

georgedamonkey’s picture

Thank you!

ppblaauw’s picture

Status: Postponed (maintainer needs more info) » Fixed

set status to fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.