I'm new to drupal and have no real php coding experience so excuse any ignorance. I'm trying to move a large cold fusion based site to drupal and learn drupal at the same time. I have reviewed all the comments and issues on the flag module and haven't found the issue I am experiencing.

1. I installed the flag module and enabled Flag and Flag Actions
2. Once I did step 1, I could see a link to My bookmarks in the Navigation bar
3. I have created a new content type/node - Events - and Events show up in a Calendar page. When people click on the Events, they can see a node teaser and click to see more.
4. When I try to either create a new flag (called My Events) or change the default bookmarks flag so that I can have people flag Events they want to attend, the new link My Events does not appear in the Navigation bar. The link to "attend" appears in the Node and Node teaser and it shows the Event as being flagged after you click the link. If I change anything about the default Bookmarks flag, the entire link to My bookmarks disappears and I cannot get it to come back even if I reset all the default settings.
5. Also, when you click the "attend" link, it redirects to a completely unformatted and weird page that shows the node teaser only but does show that the node has been flagged as "attending".

Can anyone help figure out what is going on. I have uninstalled and reinstalled the Flag module and this problem still happens. I have also tried changing themes and the problem still happens. I have tried using the new flag on different nodes to see if it is the Event node that is causing it but it does not work no matter what node I choose. My coding background is in cold fusion so I have little to no experience with php coding (although I am trying to learn) so please keep it simple and dumb it all down for me if possible if you know how to fix this. Thanks!!

Comments

quicksketch’s picture

The "My Bookmarks" link is actually not provided by Flag module. Flag module is simply a mechanism for flagging content, it doesn't provide any way to output lists of content at all. Instead, Flag comes with stellar Views module support, so you can build customized pages containing lists of any sort of flagged content.

The "My Bookmarks" page is provided as a demonstration of how to build a list of flagged content using Views. If you don't modify the bookmarks flag, you can visit admin/build/views, and clone the existing "bookmarks" view and modify it to work with your own custom flags. As you've noticed, if you renamed the "bookmarks" flag to something else, Flag assumes you don't want to have the "helper" view that it provides by default and removes it (since it would break anyway if you renamed the flag).

There's a good amount of documentation on making lists of flagged content in the Flag handbook: http://drupal.org/node/296971

quicksketch’s picture

Status: Active » Closed (fixed)