Closed (fixed)
Project:
Service links
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2008 at 15:03 UTC
Updated:
31 Jul 2008 at 04:47 UTC
I'm happily using service-links in many websites..
but then i ran into this issue:
i wanted to output the service links content in a node template above the $links with "add a comment" and everything else.
When i did this the service links worked correctly but i could't have the $links anymore. I see a text "Array" instead. The div.links is still there but it is empty with only the "Array" text being shown.
If i come back putting $links above the service links everything works.
Did anyone notice this?
Is there a different way to output service links in a node template other than:
<?php
$links = service_links_render($node, TRUE);
print theme('links', $links);
?>Thanks,
Da.
Comments
Comment #1
planctus commentedOk, i fixed this...
I was using that code i wrote to output service links in the node template.
Then i figured out there was an other way (the one using the snippet in template.php)to do this and it worked.
Thanks
Da.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.