teaser link

lesliewu - September 13, 2007 - 02:50
Project:Flag content
Version:5.x-2.5
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:needs work
Description

Is there any way to disable the "flag this" link in teaser?

#1

Sa_Bo_Nim - June 25, 2008 - 13:18

I wonder it too very much!!!

#2

lesliewu - June 25, 2008 - 16:22
Status:active» fixed

I figured this one out eventually.

On line 193 add &&!$teaser to the if statement, i.e if (is_numeric($eid) && !$teaser)

Hope this will work for you too.

#3

kbahey - June 25, 2008 - 16:56
Status:fixed» needs work

What if make it an option in the settings (show only in full node view, show in both teaser and full node view, none [controlled by the theme via custom code]).

Can you please create a patch for it?

#4

lesliewu - June 26, 2008 - 14:48

Your suggestion for the option is great. It was what I was looking for initially. I don't know how to create a patch, unfortunately. Just a drupal novice.

 
 

Drupal is a registered trademark of Dries Buytaert.