Support Forums

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

Your Time: Our Time:

SPShare plugin possible bug

Featured Lock Resolved
When sharing an article in Joomla 3 I've found that shared links only have the domain name without specifying any article, modifying line 160 of spshare.php does the trick:

original code
$this->_url             = substr(JURI::base(), 0, -1)."/".strstr($this->_path, 'index.php');

modified code
$this->_url             = substr(JURI::base(), 0, -1).$this->_path;

1 Answers

Pol Lop

More than a month ago #Permalink
When sharing an article in Joomla 3 I've found that shared links only have the domain name without specifying any article, modifying line 160 of spshare.php does the trick:

original code
$this->_url             = substr(JURI::base(), 0, -1)."/".strstr($this->_path, 'index.php');

modified code
$this->_url             = substr(JURI::base(), 0, -1).$this->_path;



And where do i find this ''line 160 of spshare.php'' ? Am using joomla 3 and Helix 2


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: 144
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 119
Toufiq

Toufiq

Total Accepted Answers: 65
Pavel

Pavel

Total Accepted Answers: 5
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