×
Please post here in the Suggestion Box your feedback and feature requests for upcoming releaes.
- statler
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 34
- Thank you received: 0
- joomod
- Offline
- Administrator
Less
More
- Posts: 130
- Thank you received: 34
- statler
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 34
- Thank you received: 0
13 Nov 2012 16:20 #245
by statler
Replied by statler on topic 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;
}
}
} ?>
Please Log in to join the conversation.
- joomod
- Offline
- Administrator
Less
More
- Posts: 130
- Thank you received: 34
13 Nov 2012 16:23 #246
by joomod
Replied by joomod on topic 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
Please Log in to join the conversation.
Time to create page: 0.160 seconds