- Posts: 281
- Thank you received: 3
description bellow the category
9 years 9 months ago #257790
by francota
description bellow the category was created by francota
Please Log in or Create an account to join the conversation.
9 years 9 months ago #257793
by nicolas
Replied by nicolas on topic description bellow the category
Hi,
You can do that by editing the file "listing" of the view "category" via the menu Display>Views and moving the code:
before the line:
$html = ob_get_clean();
You can do that by editing the file "listing" of the view "category" via the menu Display>Views and moving the code:
Code:
if(($this->params->get('show_image') && !empty($this->element->file_path))|| ($this->params->get('show_description')&&!empty($this->element->category_description))){
?>
<div class="hikashop_category_description">
<?php
if($this->params->get('show_image') && !empty($this->element->file_path)){
jimport('joomla.filesystem.file');
if(JFile::exists($this->image->getPath($this->element->file_path,false))){
?>
<img src="<?php echo $this->image->getPath($this->element->file_path); ?>" class="hikashop_category_image" title="<?php echo $this->escape(@$this->element->file_description); ?>" alt="<?php echo $this->escape(@$this->element->file_name); ?>"/>
<?php
}
}
if($this->params->get('show_description',1)&&!empty($this->element->category_description)){
?>
<div class="hikashop_category_description_content">
<?php echo JHTML::_('content.prepare',$this->element->category_description); ?>
</div>
<?php
}
?>
</div>
<?php
}
$html = ob_get_clean();
Please Log in or Create an account to join the conversation.
9 years 9 months ago #257841
by francota
Replied by francota on topic description bellow the category
perfect
Thank you
Thank you
Please Log in or Create an account to join the conversation.
Time to create page: 0.151 seconds