TECK
09-19-2002, 08:10 PM
ok, the posticons() function doesnt need to be modified, so this is considered more like a template mod...
here it is what i want to do:
i modified forumdisplay.php so it can act in certain forum id's as a news forum and list the content of the first post only beside the thread title.
i also use a customized set of icons for that specific forum (i hacked the vb options to list an array there, so is easy to set whatever forums you want to display the news articles).
when it comes to post a new thread i use a iif condition to select the correct forum array so the newthread.php file displays correctly the right set of icons.
now, i need a little piece of java code to display the news icons in a dropdown menu, in newthread template.
while selecting the dropdown, on the right side it will display the image, so if i have 285 icons for my news, it will not make it look like 5 pages long the newthread.php (like the way it is now).
i really like the idea so i was wondering if kier or anyone else good with jave could help me on this matter.
i searched the web for a relevant piece of code, but we need to keep the iconid values not the iconpaths, to display correctly the selection. so is a little more complicated.
any help will be greatly apreciated. :)
here it is what i want to do:
i modified forumdisplay.php so it can act in certain forum id's as a news forum and list the content of the first post only beside the thread title.
i also use a customized set of icons for that specific forum (i hacked the vb options to list an array there, so is easy to set whatever forums you want to display the news articles).
when it comes to post a new thread i use a iif condition to select the correct forum array so the newthread.php file displays correctly the right set of icons.
now, i need a little piece of java code to display the news icons in a dropdown menu, in newthread template.
while selecting the dropdown, on the right side it will display the image, so if i have 285 icons for my news, it will not make it look like 5 pages long the newthread.php (like the way it is now).
i really like the idea so i was wondering if kier or anyone else good with jave could help me on this matter.
i searched the web for a relevant piece of code, but we need to keep the iconid values not the iconpaths, to display correctly the selection. so is a little more complicated.
any help will be greatly apreciated. :)