Gossamer Forum
Quote Reply
Poll Plugin: colors
How i can change the colors of the bars, where the results are showed?

Thanx.




http://www.webconferencia.net/

Last edited by:

acidoinmetal: Aug 30, 2002, 3:50 AM
Quote Reply
Re: [acidoinmetal] Poll Plugin: colors In reply to
The bars are produced by three images called leftbar.gif, mainbar.gif, and rightbar.gif. The easiest thing is to open those images with a image manipulation program, and change the colors from there. You can also take other images, you might have to play around a bit.

I hope this helps.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Poll Plugin: colors In reply to
Thanx Iván Wink




http://www.webconferencia.net/
Quote Reply
Re: [acidoinmetal] Poll Plugin: colors In reply to
Thinking of colors here.

Does the poll plugin do different colors per choice?

Also, how about where the color is different for the top winning poll.

? Angelic

openoffice + gimp + sketch ... Smile
Quote Reply
Re: [QooQ] Poll Plugin: colors In reply to
You could have different colors quite easily. You would need a set of n images, and call them leftbar-xx.gif etc, where xx runs from 0 to n-1. Then you could do in you templates
<%set image_number = $row_num % n%>
<img src="leftbar-<%image_number%>.gif"> etc etc.

Does that make sense?


For the winning poll, I would probably have to add some code.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [acidoinmetal] Poll Plugin: colors In reply to
You can use Paint Shop Pro or Photoshop to easily modify these colors.... I change mine to a blue in a few minutes. I am sure you have already worked this out.

Here are some blue ones that I use on MacScripts if anyone wants them.


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [yogi] Poll Plugin: colors In reply to
cool, it was just an idea I had. Angelic

openoffice + gimp + sketch ... Smile
Quote Reply
Re: [QooQ] Poll Plugin: colors In reply to
I like the different color for the wining poll idea.
Quote Reply
Re: [Ian] Poll Plugin: colors In reply to
I added a flag "poll_answer_is_leading" to the "poll_loop" in the forum_view_(flat|threaded|printable).html templates. You can now do something like

<%if poll_answer_is_leading%>
... (one colour)
<%else%>
... (other colour)
<%endif%>

I have uploaded the new version (1.0.6) to the GT server, so you should be able to download it.

Ivan
-----
Iyengar Yoga Resources / GT Plugins

Last edited by:

yogi: Aug 31, 2002, 12:35 PM
Quote Reply
Re: [yogi] Poll Plugin: colors In reply to
Cool nice !

openoffice + gimp + sketch ... Smile
Quote Reply
Re: [yogi] Poll Plugin: colors In reply to
Good work Ivan. Merci.