Support Forums

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

Your Time: Our Time:

Read more in new window with Articles addon

Featured Lock Resolved Task
I'm trying to make 'open in a new tab' link for 'readmore' in Article addon, but something goes wrong and now it's opening but only home page (not a material)
I put
if($show_readmore) {
$output .= '<a class="sppb-readmore" href="" target="_blank" '. $item->link .'" itemprop="url">'. $readmore_text .'</a>';
}

inside site.php in the folder /com_sppagebuilder/addons/articles

Could you advise me?..

If to put
$output .= '<a class="sppb-readmore" href=" '. $item->link .'" itemprop="url" " target="_blank">'. $readmore_text .'</a>';
404 error...
but the link looks more correct
%20/news/79-our-team-at-blockchain-expo
if it'll be no '%20'

3 Answers

Please login to view replies.

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 190
Sifat

Sifat

Total Accepted Answers: 151
Toufiq

Toufiq

Total Accepted Answers: 64
Rifat Wahid Alif

Rifat Wahid Alif

Total Accepted Answers: 2
MW

Modus Works

Total Accepted Answers: 1

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