Keyword

Any way to disable item image lightbox?

  • Vivi Gamskjær Vroue
  • Vivi Gamskjær Vroue's Avatar
  • Offline
  • New Member
  • Owner of www.semignu.dk
More
11 years 8 months ago #96037 by Vivi Gamskjær Vroue
Replied by Vivi Gamskjær Vroue on topic Re: Any way to disable item image lightbox?
Can you please help me? :side:

My item.php dosen't look like that.

Here is line 200 - 222

$itemID = JRequest::getInt('id', NULL);

JTable::addIncludePath(JPATH_COMPONENT_ADMINISTRATOR.DS.'tables');
$catid = JRequest::getInt('cid');
$category = JTable::getInstance('K2Category', 'Table');
$category->load($catid);

require_once (JPATH_COMPONENT_ADMINISTRATOR.DS.'models'.DS.'extrafield.php');
$extraFieldModel = new K2ModelExtraField;

$extraFields = $extraFieldModel->getExtraFieldsByGroup($category->extraFieldsGroup);

$output = '<table class="admintable" id="extraFields">';
$counter = 0;
if (count($extraFields))
{
foreach ($extraFields as $extraField)
{
$output .= '<tr><td align="right" class="key">'.$extraField->name.'</td>';
$output .= '<td>'.$extraFieldModel->renderExtraField($extraField, $itemID).'</td></tr>';
$counter++;
}
}


I have no idea what to remove?

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum