Решено выкладываю может кому то интересно и понадобится тоже,
Версия 2,8
находим ../components/com_phocagallery/views/category/tmpl/default.php
и там редактируем со строчки 307 до 365 комментируем ну или удаляем строчки , а комментируется так /*php cod */ , может кто то не знает как комментировать .
вместо этого кода
//Detail Icon
if ($value->displayicondetail == 1) {
echo ' <a class="'.$value->button2->methodname.'" title="'. JText::_('Image Detail').'"'
.' href="'.$value->link2.'"';
if ($this->tmpl['detailwindow'] == 1) {
echo ' onclick="'. $value->button2->options.'"';
} else if ($this->tmpl['detailwindow'] == 2) {
echo ' rel="'. $value->button2->options.'"';
} else if ($this->tmpl['detailwindow'] == 4 ) {
echo ' onclick="'. $this->tmpl['highslideonclick'].'"';
} else if ($this->tmpl['detailwindow'] == 5 ) {
echo ' onclick="'. $this->tmpl['highslideonclick2'].'"';
} else if ($this->tmpl['detailwindow'] == 6) {
echo ' onclick="gjaks.show('.$value->linknr.'); return false;"';
} else if ($this->tmpl['detailwindow'] == 7 ) {
echo '';
} else if ($this->tmpl['detailwindow'] == 8) {
echo ' rel="lightbox-'.$this->category->alias.'2" ';
} else {
echo ' rel="'.$value->button2->options.'"';
}
echo ' >';
echo JHTML::_('image', 'components/com_phocagallery/assets/images/icon-view.'.$this->tmpl['formaticon'], JText::_('Image Detail'));
echo '</a>';
}
if ($value->displayiconfolder == 1) {
//echo ' <a class="'.$value->buttonother->methodname.'" title="'.JText::_('Sub category').'"'
echo ' <a title="'.JText::_('Sub category').'"'
.' href="'.$value->link.'">';
echo JHTML::_('image', 'components/com_phocagallery/assets/images/icon-folder-small.'.$this->tmpl['formaticon'], $value->title);
echo '</a>';
}
if ($value->displayicondownload > 0) {
// Direct Download but not if there is a youtube
if ($value->displayicondownload == 2 && $value->videocode == '') {
echo ' <a title="'. JText::_('Image Download').'"'
.' href="'.JRoute::_('index.php?option=com_phocagallery&view=detail&catid='.$this->category->slug.'&id='.$value->slug. $tmplCom.'&phocadownload='.$value->displayicondownload.'&Itemid='. JRequest::getVar('Itemid', 0, '', 'int') ).'"';
} else {
echo ' <a class="'.$value->buttonother->methodname.'" title="'.JText::_('Image Download').'"'
.' href="'.JRoute::_('index.php?option=com_phocagallery&view=detail&catid='.$this->category->slug.'&id='.$value->slug. $tmplCom.'&phocadownload='.(int)$value->displayicondownload.'&Itemid='. JRequest::getVar('Itemid', 0, '', 'int') ).'"';
if ($this->tmpl['detailwindow'] == 1) {
echo ' onclick="'. $value->buttonother->options.'"';
} else if ($this->tmpl['detailwindow'] == 4 ) {
echo ' onclick="'. $this->tmpl['highslideonclick'].'"';
} else if ($this->tmpl['detailwindow'] == 5 ) {
echo ' onclick="'. $this->tmpl['highslideonclick2'].'"';
} else if ($this->tmpl['detailwindow'] == 7 ) {
echo '';
} else {
echo ' rel="'. $value->buttonother->options.'"';
}
}
echo ' >';
echo JHTML::_('image', 'components/com_phocagallery/assets/images/icon-download.'.$this->tmpl['formaticon'], JText::_('Image Download'));
echo '</a>';
}
вставляем этот код
//Detail Icon
/*if ($value->displayicondetail == 1) {
echo ' <a class="'.$value->button2->methodname.'" title="'. JText::_('Image Detail').'"'
.' href="'.$value->link2.'"';
if ($this->tmpl['detailwindow'] == 1) {
echo ' onclick="'. $value->button2->options.'"';
} else if ($this->tmpl['detailwindow'] == 2) {
echo ' rel="'. $value->button2->options.'"';
} else if ($this->tmpl['detailwindow'] == 4 ) {
echo ' onclick="'. $this->tmpl['highslideonclick'].'"';
} else if ($this->tmpl['detailwindow'] == 5 ) {
echo ' onclick="'. $this->tmpl['highslideonclick2'].'"';
} else if ($this->tmpl['detailwindow'] == 6) {
echo ' onclick="gjaks.show('.$value->linknr.'); return false;"';
} else if ($this->tmpl['detailwindow'] == 7 ) {
echo '';
} else if ($this->tmpl['detailwindow'] == 8) {
echo ' rel="lightbox-'.$this->category->alias.'2" ';
} else {
echo ' rel="'.$value->button2->options.'"';
}
echo ' >';
echo JHTML::_('image', 'components/com_phocagallery/assets/images/icon-view.'.$this->tmpl['formaticon'], JText::_('Image Detail'));
echo '</a>';
}
if ($value->displayiconfolder == 1) {
//echo ' <a class="'.$value->buttonother->methodname.'" title="'.JText::_('Sub category').'"'
echo ' <a title="'.JText::_('Sub category').'"'
.' href="'.$value->link.'">';
echo JHTML::_('image', 'components/com_phocagallery/assets/images/icon-folder-small.'.$this->tmpl['formaticon'], $value->title);
echo '</a>';
}
if ($value->displayicondownload > 0) {
// Direct Download but not if there is a youtube
if ($value->displayicondownload == 2 && $value->videocode == '') {
echo ' <a title="'. JText::_('Image Download').'"'
.' href="'.JRoute::_('index.php?option=com_phocagallery&view=detail&catid='.$this->category->slug.'&id='.$value->slug. $tmplCom.'&phocadownload='.$value->displayicondownload.'&Itemid='. JRequest::getVar('Itemid', 0, '', 'int') ).'"';
} else {
echo ' <a class="'.$value->buttonother->methodname.'" title="'.JText::_('Image Download').'"'
.' href="'.JRoute::_('index.php?option=com_phocagallery&view=detail&catid='.$this->category->slug.'&id='.$value->slug. $tmplCom.'&phocadownload='.(int)$value->displayicondownload.'&Itemid='. JRequest::getVar('Itemid', 0, '', 'int') ).'"';
if ($this->tmpl['detailwindow'] == 1) {
echo ' onclick="'. $value->buttonother->options.'"';
} else if ($this->tmpl['detailwindow'] == 4 ) {
echo ' onclick="'. $this->tmpl['highslideonclick'].'"';
} else if ($this->tmpl['detailwindow'] == 5 ) {
echo ' onclick="'. $this->tmpl['highslideonclick2'].'"';
} else if ($this->tmpl['detailwindow'] == 7 ) {
echo '';
} else {
echo ' rel="'. $value->buttonother->options.'"';
}
}
echo ' >';
echo JHTML::_('image', 'components/com_phocagallery/assets/images/icon-download.'.$this->tmpl['formaticon'], JText::_('Image Download'));
echo '</a>';
}*/