Home Joomla: Get Category Title in Module override
Reply: 0

Joomla: Get Category Title in Module override

арно нюм
1#
арно нюм Published in 2018-01-11 14:31:39Z

I use the Joomla-core-module mod_banners, to display advertisments. I've set up my own override in template/html/mod_banners/default.php.

As I display the module output as style="none" (to get rid of the div "moduletable"), I have set a h4-headline-tag in the override.

What I want to achieve is

<h4>Ads in "categoryname"</h4>

Is there any way to pull the category title/name dynamically, depending on the category the module is showed in? something like:

<?php echo $item->category->catergoryname; ?>

Thanks in advance!

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.328323 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO