Forum

JiFile for Joomla!

JIFile
JiFile is a component for Joomla! that allows you to index file contents (PDF, DOC, etc..) to perform searches in them.

Learn more...  Demo

JoomPhoto Mobile

JPhotoMobile
JoomPhoto Mobile is a component for Joomla! that allows you to share the photos from your Android device to your site Joomla.

Learn more...  Demo

iFile Framework

IFile
IFile is an open source framework written entirely in PHP, allows the indexing of textual content of a document (DOC, PDF, EXCEL, etc.) and a quick search within them.

Learn more...  Demo

Easy Language

EasyLanguage
Easy Language is a plugin for easy and immediate management of multilingual texts in every possible area of joomla, articles, components, modules, metadata, template, other components(example K2) etc.

Learn more...

Article Book Effect

Article Book Effect
View Joomla articles with the effect turns the page of a book. This plugin will display the contents of an article in Joomla as a real book or magazine, using all the benefits of HTML5

Learn more...  Demo

 

Passport photo

Passport photo
The most popular Android app that allows you to print photos cards for your documents with your Android smartphone, in a simple and intuitive way.

Learn more...

 

Crazy Shadow

Crazy Shadow
Crazy Shadow is the 3D fast-paced and fun puzzle Android game! Try to rotate and drag shapes in the position of their shadows without fail! Solve in succession all combinations of levels of the game.

Learn more...

 

Admin Countdown

Admin Countdown
Module for Joomla! 2.5 and 3.x displays in the administration part of the site, a timer with countdown of the time remaining in your session.

Learn more...  Demo

 
Welcome, Guest
Username: Password: Remember me

TOPIC: SOLVED : raw artile title in Read More button.

SOLVED : raw artile title in Read More button. 04 Apr 2012 02:54 #304

  • AXiaofeng
  • AXiaofeng's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 6
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.

Re: Issue : raw artile title in Read More button. 04 Apr 2012 21:53 #307

  • Antonio
  • Antonio's Avatar
  • OFFLINE
  • Administrator
  • Posts: 486
  • Thank you received: 66
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

Re: Issue : raw artile title in Read More button. 05 Apr 2012 00:28 #308

  • AXiaofeng
  • AXiaofeng's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 6
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.

Re: Issue : raw artile title in Read More button. 05 Apr 2012 09:35 #310

  • Antonio
  • Antonio's Avatar
  • OFFLINE
  • Administrator
  • Posts: 486
  • Thank you received: 66
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

Re: Issue : raw artile title in Read More button. 05 Apr 2012 13:42 #313

  • AXiaofeng
  • AXiaofeng's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 6
Thank you again !
Your Easy Language plugin is awesome.
I give it 5 star in Joomla Extensions.
The administrator has disabled public write access.