I did a search on this site and google, but couldn't really find what I was looking for. I am wondering if it is possible to use a completely different jpg/gif image to replace the title of each block? I know that I can go into the templates and modify it so that ALL blocks have the SAME image, but I am having trouble trying to use different images for each block. I figure that this has been brought up before, but I just can't seem to find the right words to search on to find it .
Stephen2417 Major
Joined: Dec 26, 2003
Posts: 1135
Location: Bristolville, OH (US)
Posted:
Sat Feb 21, 2004 11:04 am
Humm.. I have seen this done b4, ill try to find it.. Mabye one of the other guys will come up with it before i do.
_________________
Backup files BEFORE altering
Use PHPNuke 7.6 with patches!!
No private messages please, POST in forums.
Stephen2417 Major
Joined: Dec 26, 2003
Posts: 1135
Location: Bristolville, OH (US)
Posted:
Sat Feb 21, 2004 11:25 am
Yep thats it, thanks.. i frogot to bookmark it b4
telli Support Mod
Joined: Aug 21, 2003
Posts: 335
Posted:
Sat Feb 21, 2004 11:54 am
There is actually quite a few ways to achieve this. You can also enter them into the databse as the block title. ex <img src='images/mainmenu.gif'> That will do the same thing or you can use "if" statements in a blocks.php.
If you keep the string short, one can do it very easely.
In admin/blocks, select the block and where one can type in the title, just type (for instance):
<img src=image.gif>
That is all you need to do, no double quotes or whatever, but, keep it short otherwise you run out of space.
And I suppose, you could fix that in the database tables.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum