Text only
|
Text with Images
VirtueMart Forum
VirtueMart 2 + 3 + 4
=> Templating & Layouts => Topic started by: wonderland on December 02, 2012, 01:42:55 AM
Title:
Is it possible to get category description in a module position
Post by:
wonderland
on
December 02, 2012, 01:42:55 AM
There is a parent category description in category view (
Code
Select
Expand
<?php
echo
$this
->
category
->
category_description
;
?>
)
I was wondering is it possible to get this description in a module position ? I would really need this for my template.
I tried adding
Code
Select
Expand
<?php
echo
$this
->
category
->
category_description
;
?>
in a php code module, but I got "Fatal Error:Using $this when not in object context" When I tried do that.
Text only
|
Text with Images