Welcome,
Guest
|
|
Joomla version 2.5.3
Easy Language version 1.0.1 Template : Artisteer template Issue : Article title is not processed in Read More button on front page and appears exacly as inserted in editor when used with Artisteer made template. eg. Read more:{lang XX}one{/lang}{lang YY}two{/lang} I have tested it and default joomla templates provided with joomla 2.5.3 working ok with Easy language. However when using Artisteer made templates Read More button shows exact content of title inserted in editor along with {lang} tags. I understand that your answer may be that its not Easy Language plugin fault, because it works ok with default templates. However at this time Artisteer is one-and-only available proffesional software to create CMS templates and because of this fact Artisteer templates are widely used by more and more people in his CMS's It would be very nice if you would like to test your plugin with Artisteer template and try if there is way to make it compatible. If you would like to test your plugin with Artisteer template, HERE you can download free artisteer template's. (I believe that if you can make it compatible with one template then it will be compatible with all templates because they are all same just different look) |
Last Edit: 05 Apr 2012 14:38 by AXiaofeng.
The administrator has disabled public write access.
|
|
I found the problem ...
the template change the text of read more, replacing spaces with html entities and thus Easy Language fails. To resolve you can manually edit the file templates/temp/classes/ArtxContentItem.php at line 70 about: public function readmore($readmore, $readmoreLink)
{
return '<p class="readmore">' . artxLinkButton(array(
'classes' => array('a' => 'readon'),
'link' => $readmoreLink,
'content' => $readmore
)) . '</p>';
} |
If you like, if it was useful, consider a donation, Thanks
Se vuoi, se ti siamo stati utili, considera una donazione, Grazie Help us by voting our extensions on Joomla.org: JiFile JoomPhoto Mobile Easy Language
The administrator has disabled public write access.
The following user(s) said Thank You: AXiaofeng
|
|
Oh yes indeed,
There is str_replace(' ', ' ', $text) in template. Btw, if someone will have similar problem with Artisteer template changing spaces to nonbreaking space codes, in my template it was in templates\templatename\functions.php Thank you for help and quick reply. Btw, while we allready know such problem may sometime appear, and why exacly it is happening, wouldnt it be good idea to update your Easy Language plugin regex to process both normal spaces ( ) and nonbreaking spaces ( ) ? It would make your plugin even more perfect, (Easy Language is indeed awesome) and save all future users from confusion in case something would convert his spaces to non breaking. |
Last Edit: 05 Apr 2012 00:31 by AXiaofeng.
The administrator has disabled public write access.
|
|
sure, I'll do it!
The solution I proposed is a temporary, before updating Easy Language. Thanks to you |
If you like, if it was useful, consider a donation, Thanks
Se vuoi, se ti siamo stati utili, considera una donazione, Grazie Help us by voting our extensions on Joomla.org: JiFile JoomPhoto Mobile Easy Language
The administrator has disabled public write access.
The following user(s) said Thank You: AXiaofeng
|
|
Thank you again !
Your Easy Language plugin is awesome. I give it 5 star in Joomla Extensions. |
The administrator has disabled public write access.
|
If you not change browser settings, you agree to it. Learn more