Integration with Content Template Module

thechanceg - October 1, 2009 - 23:53
Project:Share
Version:6.x-2.0-alpha2
Component:Documentation
Category:support request
Priority:normal
Assigned:thechanceg
Status:active
Description

Hello,

I was wondering if there is any way of incorporating this into the Content Template module, http://drupal.org/project/contemplate. I thought I could just leave the share module set to "links" and include this code...

<?php
if ($links):
?>

<?php
print $links
?>

<?php
endif
?>

...into the content template where I wanted it, but no luck.

What I am trying to do is to get the "Share This" button to appear directly underneath the custom page title/byline that I have setup.

I could force it into position with CSS but the size of the titles changes rather dramatically, and some content types have extra banners/images above the title/byline.

Thank you,

#1

thechanceg - October 1, 2009 - 23:55

I'm sorry,

This is how that code was supposed to look

<?php if ($links): ?>
<div class="node-links"><?php print $links ?></div>
<?php endif ?>

 
 

Drupal is a registered trademark of Dries Buytaert.