Home » Forum
NoNumber!

Joomla!® Websites & Extensions
development  -  support  -  consultancy

I try to respond within 48 hours (excluding weekends).
If I haven't responded by then, feel free to post a reminder or bug me via email.

My last reply was: 3 Hours, 33 Minutes ago.

Welcome, Guest
Please Login or Register.    Lost Password?

How to add a class for readmore text ?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: How to add a class for readmore text ?
#7424
How to add a class for readmore text ? 1 Year, 11 Months ago  
Hi

How can I add a style class for readmore text.
My tags in my artical are :
{article 18} {introtext}{readmore:En savoir plus}{/article}

Example(code source) :
<a href="xxxx" class="readmore">En savoir plus</a>

Thanks
houba_houbi
Posts: 21
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#7429
Re: How to add a class for readmore text ? 1 Year, 11 Months ago  
There isn't an option for that within Articles Anywhere (yet?!).

But you could use ReReplacer to manipulate your output html...
Do you want to add a class to all the readmore links on your site?
Peter van Westen
Admin
Posts: 9169
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#7516
Re: How to add a class for readmore text ? 1 Year, 11 Months ago  
Hi

Thanks for your answer.

There isn't an option for that within Articles Anywhere (yet?!).
So for a new version...

But you could use ReReplacer to manipulate your output html...
I don't understand what I can do with replacer ? (I am french...and...) it's a search and replace text ?

Do you want to add a class to all the readmore links on your site?
Yes it will be wonderfull if you can help me , because with no "id" or "class" I can't stylize my readmore text.
Or I need to know in which file I can modify the output html.
houba_houbi
Posts: 21
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#7518
Re: How to add a class for readmore text ? 1 Year, 11 Months ago  
This should be something fixed in Articles Anywhere indeed.
On line 344 of /plugins/system/articlesanywhere/helper.php
Change:
$str = '<a href="'.JRoute::_( $link ).'">'.$readmore.'</a>';

To
$str = '<a href="'.JRoute::_( $link ).'" class="readmore">'.$readmore.'</a>';
Peter van Westen
Admin
Posts: 9169
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#7520
Re: How to add a class for readmore text ? 1 Year, 11 Months ago  
Yeahh ! Exactly !!
Thanks a lot !
houba_houbi
Posts: 21
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: Peter van Westen
MaxCDN | Content Delivery Network | Accelerate your site to the max
Open Source Training | Online Joomla! Training and Support
hosting joomla