Images within modules!

Have a programming question regarding your component, plug-in, extension or core hacks? Have an interesting tidbit, FAQ or programming tip you’d like to share? This is the place for you.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Post Reply
spent
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Feb 22, 2007 6:12 pm

Images within modules!

Post by spent » Tue Feb 19, 2008 5:59 pm

Please help, I have posted this question in the modules section of 1.5 but have got no responses. I have created a simple module that works as a newsletter sign up form - it works fine on its own but calling it through Joomla the images I am using don't want to appear. I have them contained within the module itself so the dir structure is as follows

===
mod_mlist
------images
------tmpl
mod_mlist.php
mod_mlist.xml
===

Should I not have an image folder contained within the module? I have made all my references to the folder and its contents in the xml file and yet still I am seeing no images. Any and all help is appreciated greatly.

User avatar
Rogue4ngel
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 199
Joined: Sun Nov 26, 2006 10:46 pm
Location: New York

Re: Images within modules!

Post by Rogue4ngel » Tue Feb 19, 2008 11:43 pm

When you say you wrote a module, is it a joomla module, or are you calling it via a wrapper or something similiar?

I'm assuming you see place holders for the graphics. What does the pathing show in properties? That may give you a clue.
If you're not a part of the solution, you're a part of the problem.


Post Reply