Great module, i'm wondering if maybe you could add some practical examples to the documentation. Will be great if can add how you accomplish the integration in the demo page.
Thanks
Great module, i'm wondering if maybe you could add some practical examples to the documentation. Will be great if can add how you accomplish the integration in the demo page.
Thanks
Comments
Comment #1
jhedstromHey rzo.
It's been awhile since I did the state fair site pointed to as a demo for this module, but I'll do my best to get you started.
All of the non-standard behavior on that site was accomplished by overriding the themeable functions for the session favorites module. For example, to get the custom links, we used this function in our template.php file:
and also (since this site was in Drupal 5) we had this in our phptemplate_preprocess_page() function:
which created a the count variable for the header (to be placed in the page.tpl.php file).
Finally, in the phptemplate_preprocess_node() function:
This allowed the add/remove link to be placed outside of the normal location for links associated with a node.
Hope that helps.
Comment #2
rzo commentedThanks man for your help, those snippets of code were really useful, awesome module. Thanks again!!!
Comment #3
sepp68 commentedHack of session_favorites.module: Simple block-functionality for session favorites
Sepp