Reply to comment
Drupal overriding flag output
So I created a handy-dandy checklist using Drupal/CCK and Views. However, I need to add some additional text to add a "Skip" link to the checklist. This link will be the same as the "Done", but is there for UE, so the user can feel that the checklist is actionable. The documentation on the drupal flag module is not bad, starting here as a guide http://drupal.org/node/295373
I got this working with the following newbie stumbing blocks:
- Make sure you prefix the new template name with the "flag--" Yes, I forgot to do this
- When you name your new template file, give it your flag name, not the name of your CCK type (like I did) so if I have a CCK type of Checklist and a flag called "current_checklist_item_for_user", I need to call my template file "flag--current_checklist_item_for_user.tpl.php"
- DO not put your new template file in the flags theme module. Didn't pick up for me here. I put it in my theme directory. Hopefully you are running your own custom theme so your upgrades will be easy.
