Created
December 5, 2013 14:03
-
-
Save julienV/7805612 to your computer and use it in GitHub Desktop.
How to allow template override for your extension image files in joomla (media/com_mycomponent/images/).
just put the image to override in templates/<template>/images/com_mycomponent/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$img = JHTML::image('com_mycomponent/my_image.png', | |
JText::_('COM_MYCOMPONENT_MY_IMAGE_ALT'), | |
array('class' => 'myimg'), | |
true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment