Posted by pkcho on December 20, 2009 at 7:29am
I'm trying to implement Flags on my site (Open Publish 1.6), following the steps mentioned in the "Using Drupal" book. The steps seem simple enough, but for some reason the "flag this event" text does not show up on the event node.
I have included an image with parts of the flag setting and the node.
If someone could help me with this it would be greatly appreciated. The more I read about flags, the more excited I get about it. It would be nice to get it working.
| Attachment | Size |
|---|---|
| Flag_settings.jpg | 57.21 KB |
Comments
click the display tag in node tease checkbox
Click the display tag in node tease checkbox and save.
That should do the trick.
Did not work
I checked the display tag in node teaser setting, kept my fingers crossed... and it did not work. : (
node-event.tpl.php
It is likely that the flag module puts that link in the $links variable, and it is possible that variable is not being printed out in the node-event.tpl.php file. Try adding a
<?php print $links; ?>At the end of that file to see if that helps at all.
That worked!
I should'ved checked the other content types first. As soon as you mentioned your solution, I checked the other types and when selected they work. I doubled checked their '...tpl.php' file and saw that those content types had the 'print links' statement. I added the print statement to the event node.tpl.php and it worked perfectly!
Thank you for your help.
yupe it is
yeah it's really works... thanks for the support
sticker printing