Welcome,
Guest
|
|
Hi, thanks for the easy language plugin has solved my problem very well I'm developing a 4 language website.
The only issue is on the home page wher I've some news managed by the mambo pagebreak system and the read more button instaed of reporting the title in right language shows this: Leggi tutto: {lang it}PRIMA VITTORIA DELLA MV AUGUSTA F3 IN EUROPA{lang en}Agusta F3, the first... but them main title is ok just "PRIMA VITTORIA DELLA MV AUGUSTA F3 IN EUROPA" per the italian and so on... where is the mistake? I'm not a pro/super joomla user, so be patient and please help me PS Ho scritto in inglese per rendere internazionale la discussione ma se preferite andiamo d'italiano, ciao grazie molto sin da ora |
The administrator has disabled public write access.
|
|
I've found on the forum a solution and I've applied it
(I've used artisteer for the template) this is your code public function readmore($readmore, $readmoreLink) { return '<p class="readmore">' . artxLinkButton(array( 'classes' => array('a' => 'readon'), 'link' => $readmoreLink, 'content' => $readmore )) . '</p>'; } I can see first news (the most recent one) title ok - read more ok second news the title is missing and the read more shows the full muktilanguage title could please somebody help me? |
The administrator has disabled public write access.
|
|
Hi,
you can try to modify the code as: public function readmore($readmore, $readmoreLink)
{
$easyLanguage = JPATH_PLUGINS.'/system/easylanguage/easylanguage.php';
if(file_exists($easyLanguage)) {
require_once $easyLanguage;
if (method_exists('plgSystemEasyLanguage','filterText')) {
$readmore = plgSystemEasyLanguage::filterText($readmore);
}
}
return '<p class="readmore">' . artxLinkButton(array(
'classes' => array('a' => 'readon'),
'link' => $readmoreLink,
'content' => $readmore
)) . '</p>';
} I can not prove it, so it might not work, Try it and let us know. |
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.
|
|
Thanks a lot, but it doesn't work ...
page totally empty nothing to see. |
The administrator has disabled public write access.
|
|
Andiamo di italiano va, poi la soluzione la metto in inglese
Se ti è uscito pagina bianca sicuramente c'è un errore di sintassi. Mi è venuto un dubbio che versione di Easy Language usi? Perchè il codice che ti ho scritto va bene solo dalla 1.1.0 Comunque puoi abilitare la visualizzazione degli errori? così vediamo qual è l'errore. (configurazione globale di Joomla, nella scheda Server: parametro “Rapporto errori“ metti temporaneamente Massimo) |
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: marco
|
|
Ok andiamo di Italiano;-)
la versione l'ho scaricata 2-3 settimane fa dal vostro sito... Grazie Antonio, purtroppo fino a lunedì ho le mani legate. Appena posso faccio caricare la pagina bianca e ti copio gli errori qui. Intanto buon weekend Marco |
The administrator has disabled public write access.
|
|
Parse error: syntax error, unexpected T_DEC, expecting T_FUNCTION in /web/htdocs/www.ellanvanninmotorclub.it/home/ev/templates/ellanvannin270313/library/Artx/Content/Item.php on line 98
Questo è l'errore che aspettavamo.. resto in attesa grazie |
The administrator has disabled public write access.
|
|
Prova a mandarmi quel file che va in errore, che dovrebbe esser quello in cui hai effettuato la modifica,
home/ev/templates/ellanvannin270313/library/Artx/Content/Item.php |
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: marco
|
If you not change browser settings, you agree to it. Learn more