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
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

fajerstarter - April 2, 2008 - 19:42

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

spyderpie - April 3, 2008 - 17:51

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

fajerstarter - April 4, 2008 - 16:20
Status:active» fixed

Yes, depends a bit on the context but for example in node.tpl.php you use <?php if ($page == 0): ?>.

#4

Anonymous (not verified) - April 18, 2008 - 16:21
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.