procon_render_arguments($node)
spyderpie - March 29, 2008 - 14:21
| Project: | Pro and Con arguments |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
How do I use procon_render_arguments($node)?
I tried " print procon_render_arguments($node) " in php code and it printed the "pro arguments" and the "con arguements" below -- instead of in colums. Are there any ways to theme this? Or print only the pros or only the cons?
Thanks in advance,
julie

#1
They should be in columns. Doublecheck that the procon.css file is inserted and try with Garland theme so there isn't something with your themes css that breaks the column display.
#2
Thank you, I figure out that it had some thing to do with the css. Now I am just trying to figure out how to get it to only show on full nodes and not teasers ... is this possible?
#3
Yes, depends a bit on the context but for example in node.tpl.php you use
<?php if ($page == 0): ?>.#4
Automatically closed -- issue fixed for two weeks with no activity.