Closed (fixed)
Project:
Favorite Nodes
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Jun 2008 at 11:10 UTC
Updated:
25 Jan 2011 at 18:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
dawehneradded a remove/add field, which displays add to favourite if its not a favorite yet
Comment #2
dawehnerthis is really working version!!
Comment #3
dawehnersome more features:
select wether to return to view or to userprofile
Comment #4
kbahey commented- "favouite" is mispelled and inconsistent.
- Patch does not apply on current DRUPAL-5 tag
Hunk #1 FAILED at 554.
Hunk #2 FAILED at 663.
2 out of 2 hunks FAILED -- saving rejects to file favorite_nodes.module.rej
Comment #5
itsGOTtobegroovy commentedNo need for a patch or extra theming. Here's what to do:
For the My Favorites page, go to Views"
Add field Node:nid
Check the box for "Output this field as a link"
In the box, put: favorite_nodes/delete/[nid]
You can check the box "Rewrite output for this field" in order to create your own link text. I used "Remove from favorites"
I figured this out by hovering over the "remove from favorites" link in the node view to see what URL was generated.
Comment #6
itsGOTtobegroovy commentedForgot to mention that favorite_nodes/delete/[nid] should go in the Link Path field
Comment #7
itsGOTtobegroovy commented