Forum Support

Shape 5
May 13, 2021, 07:21:25 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Change text in "readmore"  (Read 525 times)
janken
Jr. Member
**
Offline Offline

Posts: 11



« on: January 31, 2015, 05:07:17 PM »

Hello,

I would like to change the text "Read more ..." in the module S5 News Display 2, but I can not find where to change it.

Does anyone know how to do it?

Regards,
Artur
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: February 02, 2015, 02:43:43 PM »

Hey Artur,

The text is a default Joomla read more text so if you change the read more text for Joomla it will change it for all your articles and this module too.  But you can just edit the text on this module by doing a little code change below.  NOTE: This won't suit multi language sites but you can hard code in a language here if you are only using one language on your site:

Open up:

modules\mod_s5_news_display_2\tmpl\_item.php

Look for:

Code:
echo '<p class="readmore s5modnews"><a class="s5btn" href="'.$item->link.'">'.$item->linkText.'</a></p>';

Change the below to whatever you desire:

Code:
.$item->linkText.'

For example:

Code:
echo '<p class="readmore s5modnews"><a class="s5btn" href="'.$item->link.'">More Information</a></p>';
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.