×
Please post here in the Suggestion Box your feedback and feature requests for upcoming releaes.
- statler
-
Autor del tema
- Fuera de línea
- Navegador Junior
-
Menos
Más
- Mensajes: 34
- Gracias recibidas: 0
12 Nov 2012 12:04 #235
por statler
PDF Publicado por statler
How can I handle PDFs in different languages?
Kind regards,
Rolf
Kind regards,
Rolf
Por favor, Identificarse para unirse a la conversación.
- joomod
-
- Fuera de línea
- Administrador
-
Menos
Más
- Mensajes: 130
- Gracias recibidas: 34
13 Nov 2012 16:08 #239
por joomod
Respuesta de joomod sobre el tema Re: PDF
At the moment only by making a multi language pdf.
Kind regards Oliver
Kind regards Oliver
Por favor, Identificarse para unirse a la conversación.
- statler
-
Autor del tema
- Fuera de línea
- Navegador Junior
-
Menos
Más
- Mensajes: 34
- Gracias recibidas: 0
13 Nov 2012 16:20 #245
por statler
Respuesta de statler sobre el tema Aw: Re: PDF
I have solved it for the moment so that the PDF's have a voice at the end of each identifier (de, en, or it) as U019_2013_de.pdf
And this identifier I query as follows:
And this identifier I query as follows:
<?php foreach($this->pdfs as $pdf) {
// echo '<div class="pdflink"><a href="'.JURI::root().'images/jooproperty/pdfs/'.$pdf->parent.'/'.substr($pdf->archivo,0 ,-6).JText::_('COM_JOOPROPERTY_PDF_EXTENSION').'" target="_blank">'.$pdf->name.'</a></div>';
// $pdf_lang=JURI::root().'images/jooproperty/pdfs/'.$pdf->parent.'/'.substr($pdf->archivo,0 ,-6).'en" target="_blank">'.$pdf->name;
if ($z==0) {
switch (JText::_('COM_JOOPROPERTY_PDF_EXTENSION')){
case "es":
echo '<div class="pdflink"><a href="'.JURI::root().'images/jooproperty/pdfs/'.$pdf->parent.'/'.substr($pdf->archivo,0 ,-6).'es.pdf" target="_blank">'.$pdf->name.'</a></div>';
$z++;
break;
case "en":
echo '<div class="pdflink"><a href="'.JURI::root().'images/jooproperty/pdfs/'.$pdf->parent.'/'.substr($pdf->archivo,0 ,-6).'en.pdf" target="_blank">'.$pdf->name.'</a></div>';
$z++;
break;
case "de":
echo '<div class="pdflink"><a href="'.JURI::root().'images/jooproperty/pdfs/'.$pdf->parent.'/'.substr($pdf->archivo,0 ,-6).'de.pdf" target="_blank">'.$pdf->name.'</a></div>';
$z++;
break;
}
}
} ?>
Por favor, Identificarse para unirse a la conversación.
- joomod
-
- Fuera de línea
- Administrador
-
Menos
Más
- Mensajes: 130
- Gracias recibidas: 34
13 Nov 2012 16:23 #246
por joomod
Respuesta de joomod sobre el tema Aw: Re: PDF
Fine!
I will tell Michael to check this and integrate it in our code.
Thanks,
Oliver
I will tell Michael to check this and integrate it in our code.
Thanks,
Oliver
Por favor, Identificarse para unirse a la conversación.
Tiempo de carga de la página: 0.062 segundos