Totally Zenned
- Join Date:
- Jan 2006
- Location:
- Downunder - QLD - Gold Coast
- Posts:
- 921
- Plugin Contributions:
- 0
How to point image variable for the template directory in 'root/aaa/' folder?
Hi,
Some of my mod images aren't showing. Mod is installed in
https://www.abc.com/AAA/includes/modules/my_mod folder (not in admin)
I have following code
$this->icon = $template->get_template_dir('bbb.jpg', '' ,'','images/icons'). '/bbb.jpg';
and
$this->logo = $template->get_template_dir('ccc.jpg', '','' ,'images/icons'). '/ccc.jpg';
but when I follow the no-image icon it points to
https://www.abc.com/AAA/admin/includes/templates/template_default/images/icons/bbb.jpg
How can I modify the code so that images are correctly found and linked.
Can anyone please assist?