- Posts: 1
- Thank you received: 2
A small fix
- razvan avramescu
-
Topic Author
- Offline
- Fresh Boarder
-
Less
More
13 years 2 months ago #509
by razvan avramescu
A small fix was created by razvan avramescu
I noticed in J2.5 this thing,
same module (news_article) published in frontend 6 times. 4 of them show the "below" correct, the first tho of them are not showing.
however i modified the otsocialshare.php line 120 until "{ return" with this:
instead of this:
Thanks,
great module
same module (news_article) published in frontend 6 times. 4 of them show the "below" correct, the first tho of them are not showing.
however i modified the otsocialshare.php line 120 until "{ return" with this:
Code:
if($position == 'above'){
if($row->fulltext == ''){
$row->text = $html . $row->text;
$row->introtext = $html . $row->introtext;
}else{
$row->text = $html . $row->text;
$row->introtext = $html . $row->introtext;
}
}
else{
if($row->fulltext == ''){
$row->text = $row->text . $html;
$row->introtext = $row->introtext . $html;
}else{
$row->introtext = $row->introtext . $html;
$row->text = $row->text . $html;
}
}
instead of this:
Code:
if($position == 'above'){
if($row->fulltext == ''){
$row->text = $html . $row->text;
$row->introtext = $html . $row->introtext;
}else{
$row->text = $html . $row->text;
}
}else{
$row->text .= $html;
$row->introtext .= $html;
}
Thanks,
great module
The following user(s) said Thank You: Linh Robert, makcim makcimov
Please Log in or Create an account to join the conversation.
- Linh Robert
-
- Offline
- Banned
-
Less
More
- Posts: 908
- Thank you received: 568
13 years 2 months ago #510
by Linh Robert
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket www.omegatheme.com/member/
Replied by Linh Robert on topic Re: A small fix
Thanks!

If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket www.omegatheme.com/member/
The following user(s) said Thank You: makcim makcimov
Please Log in or Create an account to join the conversation.
Time to create page: 0.184 seconds