normal A small fix

More
12 years 1 month 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:
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.

More
12 years 1 month ago #510 by Linh Robert
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.255 seconds

About Growth

Innovative tech for eCommerce growth

Contact Info

Head: No. 3, 175/55 Lane, Lac Long Quan St., Nghia Do Ward, Cau Giay District, Hanoi City, Vietnam