jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => Bugs => Topic started by: Nyx on 10.03.2015 11:30:12

Title: 3 little (display) bugs - up to JD 3.2.27 stable - [Fixed in 3.2.28!!!]
Post by: Nyx on 10.03.2015 11:30:12
display - alt tag -> COM_JDOWNLOADS_SEARCH_LINKTEXT / COM_JDOWNLOADS_UPLOAD_LINKTEXT

IN:
/components/com_jdownloads/views/summary/tmpl/default.php

On Line 269:

false:
// build frontend upload link
       $upload_link = '<a href="'.JRoute::_('index.php?option=com_jdownloads&amp;view=form&amp;layout=edit&amp;Itemid='.$menuItemids['upload']).'">'.'<img src="'.JURI::base().'components/com_jdownloads/assets/images/upload.png" width="32" height="32" border="0" alt="'.JText::_('COM_JDOWNLOADS_SEARCH_LINKTEXT').'" /></a> <a href="'.JRoute::_('index.php?option=com_jdownloads&amp;view=form&amp;layout=edit&amp;Itemid='.$menuItemids['upload'].'').'">'.JText::_('COM_JDOWNLOADS_UPLOAD_LINKTEXT').'</a>';

      
right:
// build frontend upload link
       $upload_link = '<a href="'.JRoute::_('index.php?option=com_jdownloads&amp;view=form&amp;layout=edit&amp;Itemid='.$menuItemids['upload']).'">'.'<img src="'.JURI::base().'components/com_jdownloads/assets/images/upload.png" width="32" height="32" border="0" alt="'.JText::_('COM_JDOWNLOADS_UPLOAD_LINKTEXT').'" /></a> <a href="'.JRoute::_('index.php?option=com_jdownloads&amp;view=form&amp;layout=edit&amp;Itemid='.$menuItemids['upload'].'').'">'.JText::_('COM_JDOWNLOADS_UPLOAD_LINKTEXT').'</a>';

      


May be false? -> href link: .$menuItemids['base']). / .$menuItemids['root']).
But "base" and "root" are the same? - in the other view files are "root"

IN
/components/com_jdownloads/views/category/tmpl/default.php

On Line 186:

false ?:
       // build home link        
       $home_link = '<a href="'.JRoute::_('index.php?option=com_jdownloads&amp;Itemid='.$menuItemids['root']).'">'.'<img src="'.JURI::base().'components/com_jdownloads/assets/images/home_fe.png" width="32" height="32" border="0" alt="'.JText::_('COM_JDOWNLOADS_HOME_LINKTEXT').'" /></a> <a href="'.JRoute::_('index.php?option=com_jdownloads&amp;Itemid='.$menuItemids['base']).'">'.JText::_('COM_JDOWNLOADS_HOME_LINKTEXT').'</a>';

      
right ?:
       // build home link        
       $home_link = '<a href="'.JRoute::_('index.php?option=com_jdownloads&amp;Itemid='.$menuItemids['root']).'">'.'<img src="'.JURI::base().'components/com_jdownloads/assets/images/home_fe.png" width="32" height="32" border="0" alt="'.JText::_('COM_JDOWNLOADS_HOME_LINKTEXT').'" /></a> <a href="'.JRoute::_('index.php?option=com_jdownloads&amp;Itemid='.$menuItemids['root']).'">'.JText::_('COM_JDOWNLOADS_HOME_LINKTEXT').'</a>';
Title: Re: 3 little (display) bugs - up to JD 3.2.27 stable
Post by: Nyx on 11.03.2015 13:15:10
and one more:

Modul - Latest Download -> Tooltip wrong -> "MOD_JDOWNLOADS_TOP_DESCRIPTION_TITLE <-> MOD_JDOWNLOADS_LATEST_DESCRIPTION_TITLE"

/modules/mod_jdownloads_latest/tmpl/default.php

On Line: 120

wrong:
$link_text = '<a href="'.$link.'">'.JHtml::tooltip(strip_tags(substr($files[$i]->description,0,$view_tooltip_length)).$short_char,JText::_('MOD_JDOWNLOADS_TOP_DESCRIPTION_TITLE'),$files[$i]->file_title.' '.$version.$files[$i]->release,$files[$i]->file_title.' '.$version.$files[$i]->release).'</a>';               


right:
$link_text = '<a href="'.$link.'">'.JHtml::tooltip(strip_tags(substr($files[$i]->description,0,$view_tooltip_length)).$short_char,JText::_('MOD_JDOWNLOADS_LATEST_DESCRIPTION_TITLE'),$files[$i]->file_title.' '.$version.$files[$i]->release,$files[$i]->file_title.' '.$version.$files[$i]->release).'</a>';               

Title: Re: 3 little (display) bugs - up to JD 3.2.27 stable - [Fixed in 3.2.28!!!]
Post by: Arno on 11.03.2015 19:27:00
Hi Nyx,
many thanks for this hints. Is fixed in next version.  ;)