Download & Extend

Positioning SexyBookmarks manually.

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:

<?php
print theme('sexybookmarks', $node);
?>

Cheers,
Deciphered.

#2

Thanks for your very very quick reply

Kims

#3

Status:active» fixed

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

Title:Adding SexyBookmarks into custom tpl.php file» Positioning SexyBookmarks manually.
Status:fixed» active

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

Version:6.x-1.0» 6.x-1.1
Status:active» fixed

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

Status:fixed» closed (fixed)

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

nobody click here