Posted by kims on February 25, 2010 at 6:14am
Jump to:
| Project: | SexyBookmarks |
| Version: | 6.x-1.1 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I use custom tpl php files and I am not using the $content field, how do i get SexyBookmarks into my tpl.php file?
Thanks
Kims
Comments
#1
Hi Kims,
Use the following code:
<?phpprint theme('sexybookmarks', $node);
?>
Cheers,
Deciphered.
#2
Thanks for your very very quick reply
Kims
#3
Glad to help.
#4
I tried your code in my custom block with php filter
but it gets empty result
here is the code
<?php$node = node_load(arg(1));
print theme('sexybookmarks', $node);
?>
What am i doing wrong ?
Thanks,
Volkan.
#5
Hi Volkan,
The problem is that the CSS and the JS aren't being attached as the page isn't expecting the SexyBookmarks to be there.
Will commit a fix for the problem shortly.
Cheers,
Deciphered.
#6
Fix committed to SexyBookmarks 6.x-1.1.
Cheers,
Deciphered.
#7
Hi Deciphered,
Is there any way in which I can use sexybookmarks with Views?
Thanks in Advance!
#8
Automatically closed -- issue fixed for 2 weeks with no activity.