- b2evolution CMS Support Forums
- b2evolution Support
- Plugins & Extensions
- democracy_plugin-2.2.0 -
1 chris_bbg888 Oct 02, 2008 11:58
hey
i just integrated the domocracy plugin into my website.
maybe you can help me:
- Id like to have a border between the poll and the kalendar. but if i use the code as given that doesnt work.
- in addition id like to change the colors that it looks nicer. maybe no color for the backround and other colors for the bars. how do i do that?
i attached you the code that I insered in my template.
http://blog_a.weiterweg.org
many thanks
chris
p.s i changed the code slightly instead of 'block_end' => '%gt;/div>', I used 'block_end' => </div>', to prevent from another error message
<?php $Plugins->call_by_code( 'democrcy', array( // Add parameters below:
'block_start' => '<div class=bSideItem">', // Your skin may use another class for sidebar blocks
'block_end' => '%gt;/div>',
'title' => '<h3>'.T_('Poll').'</h3>', // Set to '' if you don't want a title
'before_q' => '<strong id="poll-question">', // Change how the question looks
'after_q' => '</strong>',
'archive_link' => false, // Set this to true after you set up for archives (see below)
'gft' => true, // Set to false and winning option is 100% of the graph, and other answers are a percent of that
'gct' => '#06c', // Color for graph bars top
'gcb' => '#05a', // Color for graph bars bottom. Make it a bit darker than the top, for a slight 3d effect
) ); ?>