Custom Flags (formerly Views Bookmark) integration

joncup - June 11, 2008 - 00:04
Project:Session Favorites
Version:5.x-1.x-dev
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

+1 for making this work with Views Bookmarks

#1

christefano - June 13, 2008 - 07:20
Title:Views Bookmark integration» Custom Flags (formerly Views Bookmark) integration

Another cheer from the crowd.

#2

joncup - July 3, 2008 - 22:48
Title:Custom Flags (formerly Views Bookmark) integration» Views integration
Version:5.x-1.0» 5.x-1.x-dev

I changed the name of the tittle. This module has been coming along very nicely, if I could just theme the output of the favorites page I would be very happy in using this module instead of Views Bookmarks. Ideally integration with the views module so that I could just override the standard view for this module. Would also make it easy to put the menu link in a tab. Any ways, I just wanted to see how the this was coming, maybe start a dialog on the best way to implement this. Especially with the email module, this has become a very powerful easy to use module, I would love to see it get views support.
-J

#3

jhedstrom - July 3, 2008 - 23:30
Title:Views integration» Custom Flags (formerly Views Bookmark) integration

joncup,

Views integration is a possibility, but a different thing all together. By integration with views bookmarks and favorite nodes, I was envisioning a system where a visitor has a collection of Session Favorites, then they log in. Upon login, the Session Favorites module would (depending on how it was configured) transfer all the favorites stored via a session into the more permanent nid/uid association. The danger in relying solely on this module is that once a cookie is expired by php, or deleted by the browser, that visitor looses the entire list. Another problem is if the visitor browses from a different computer, they don't have their list.

Views integration is a strong possibility, but belongs in a separate issue.

Now, for an update on integration, given the recent release of the Session API module, I will probably build a hook system that gets invoked at the moment the user logs in (as described above). This way modules such as views bookmark or favorite node (or any other module that associates uids with nids) could hook into this module and others. Stay tuned.

Cheers,

Jonathan

 
 

Drupal is a registered trademark of Dries Buytaert.