Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Slide readmore button text & JoomFish

Featured Lock Resolved
Hello!

I`m building multilangual site with JoomFish extension and have a problem with Simplicity template - "Slide readmore button text" does not translates, and it can be defined in teplate properties only in one language.

Maybe someone can help me with this part of code in \templates\joom_simplicity\index.php :

Line 174 if($showReadon) :
Line 175 echo "<br /><br /><a class=\"readon\" href='$link'>$readontext</a>";

How to modify this code to take READMORE from language file, but not from \templates\joom_simplicity\params.ini

:unsure:

1 Answers

AirDog

More than a month ago #Permalink
Just fixed it by myself :)

File to modify: \templates\joom_simplicity\lib\php\tmptools.php

Line 19 original:
$readontext = ($this->params->get("readontext", "Read More";));

Line 19 after modification:
$readontext = ($this->params->get('text', JText::_('READ MORE...')));

B)


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 122
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 115
Toufiq

Toufiq

Total Accepted Answers: 62
Pavel

Pavel

Total Accepted Answers: 4
Peter Atkin

Peter Atkin

Total Accepted Answers: 2

100+

Templates

200,000+

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us