Custom module style using template image(s)? - Joomla! Forum - community, help and support


okay, i've created custom template, , gotten working. however, i'm wanting create custom option displaying modules within template. found if create appropriate function in /html/modules.php file in template can make "<jdoc:include type="modules" name="menu" style="mycustom" />" call in template show modules using chrome.

that works fine, run problem chrome function wants use images template itself. in template index.php file have been accessing images in template folder "<img src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/images/logo.png" alt="my logo" />", "$this" object doesn't seem work in modules.php file. how can access "this" object template using, such can parameters? or how best should refer image in templates directory without hard-coding folder structure site has?






Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support