Skip to main content
Home
The Baheyeldin Dynasty
The journey for wisdom starts with knowledge
  • Home
  • About
  • Site Map
  • Contact

Favorite Nodes Module

  1. Home

By Khalid on 2006/01/31 - 14:08, last updated 2006/02/05 - 00:38

While doing a site with lots of custom node types for a client, I decided to isolate some features into a generic and reusable module, and the favorite nodes module was born. This is a relatively straight forward module. The admin chooses which node types to enable favorites for, and users with the correct permissions see a link saying "add to favorites" at the bottom of the node. When they click that link, the node is added to a list of their favorites. When they click their "my account" link, they see a section titled favorites, and under it a section with a link for each node type. Clicking on the link will display all the nodes of that type that they have added to their favorites. Users can delete any node they added to the favorites. Other users can see what favorite nodes you have added as well.  The module is only available for Drupal 4.7. Update 2006-02-04: The module is now available for download at Drupal.org. 

Contents: 
Drupal
  • Add comment

Comments

merlinofchaos (not verified)

Amusing parallel

Tue, 2006/01/31 - 15:21

I am just finishing up writing one that relies on views, and allows the administrator to have complete control over the bookmarks in terms of naming and usability.

There are 2-3 things I still need to do: I want to include a default bookmark, so that lower-level admins can install it and have immediate functionality, and provide default views. And of course I need to provide a readme that describes what can be done.

Look in CVS under views_bookmarks.

(The one thing it doesn't do -- yet -- is allow a user to view other people's bookmarks, but that can be added as a view argument. I'll have to add it).

This is step 1 in my 2,287,897 step plan to get as many things as possible based upon Views.

  • reply

Khalid

Different approach

Tue, 2006/01/31 - 23:09

I already looked at what is out there last week before I started this, and contacted Jeff for his favorites module (which is geared towards a block of admin defined links, not necessarily links).

The views approach is much more powerful, but I would imagine that it is heavier on the database (more joins?), and requires the admin to define things that can be bookmarked.

My approach is simpler: the admin defines the type(s) of nodes that can be bookmarked, and then things start to roll.

There is no harm in variety, as long as it is not duplication of efforts for the same things.

  • reply

Erik Mallinson (not verified)

Drupal needs this

Tue, 2006/01/31 - 15:40

Drupal needs this module very badly, and I mean Drupal.org.

Right now commenting on a topic is the only way to 'bookmark' nodes that we want to follow.

Perhaps it could be installed when Drupal is upgraded?

  • reply

Khalid

I never thought of that

Tue, 2006/01/31 - 23:05

I developed this for a client, but found that instead of adding it to their modules, it is better to make it generic and usable for any node.

I will release it at some point to the community.

As for use on Drupal.org, it is up to Dries to decide.

  • reply

Jeff Robbins (not verified)

Bookmarks Module

Thu, 2006/02/02 - 08:25

Hi Khalid,

Just to note. Bookmarks module is heading in a similar direction as your favorite nodes module. It will work like del.icio.us with the ability to tag and make notes on local page links and (optionally) external links as well. The big change is that in order to benefit from taxonomy and many of the other Drupal tricks, the bookmarks will become nodes. If the nodes part isn't a deal breaker, maybe we could figure out a way to combine favorite nodes and bookmarks module into one.

  • reply

Brenda (not verified)

Backport to 4.6?

Sat, 2006/02/18 - 23:09

Nicely done!

A nice simple solution like this is excellent.

Any plans to backport this to 4.6?

  • reply

Khalid

No plans ...

Sun, 2006/02/19 - 00:11

There are no plans to do so.

However, if someone really wants it on 4.6, and are willing to sponsor the effort of such a backport, we can talk.

Click on the "contact" tab at the top right of the page.

  • reply

Dainu tekstai (not verified)

Very good module thanks

Wed, 2007/12/05 - 05:53

Very good module thanks

  • reply

Current

Pandemic

  • COVID-19
  • Coronavirus

Search

Site map

Contents

  • Family
    • Khalid
    • Ancestry
    • Extended
  • Friends
  • Nokat نكت
  • Writings
    • Cooking
    • Culture
    • Science
    • History
    • Linguistics
    • Media
    • Literature
    • Politics
    • Humor
    • Terrorism
    • Business
    • Philosophy
    • Religion
    • Children
  • Technology
    • Linux
    • Arabization
    • Drupal
      • Association
    • Software
    • Internet
    • Technology in Society
    • Digital Archeology
    • NCR History
    • MidEast Internet
    • Programming
    • Saudi ISPs
    • Miscellaneous
  • Places
    • Canada
      • Weather
    • Egypt
      • Cuisine
      • Alexandria
      • E.G.C.
    • USA
    • Saudi Arabia
  • Interests
    • Astronomy
    • Fishing
    • Photography
    • Snorkeling
    • Nature
    • Photomicroscopy
  • Miscellany

In Depth

  • al-Hakim bi Amr Allah: Fatimid Caliph of Egypt الحاكم بأمر الله
  • Alexandria, Egypt
  • Arabic on the Internet
  • Articles on the history of Muslims and Arabs in the Iberian Peninsula تاريخ المسلمين و العرب في الأند
  • DIY GOTO Telescope Controller With Autoguiding and Periodic Error Correction
  • E.G.C. English Girls College in Alexandria, Egypt
  • Egyptian Cuisine, Food and Recipes مأكولات مصرية
  • George Saliba: Seeking the Origins of Modern Science?
  • Internet Scams and Fraud
  • Mistaken for an Arab or Muslim: Absurdities of being a victim in the War on Terror
  • Mistaken Identity: How some people confuse my site for others
  • One People's Terrorist Is Another People's Freedom Fighter
  • Overview of Google's Technologies
  • Photomicroscopy
  • Pseudoscience: Lots of it around ...
  • Resources for using Google Adsense with Drupal
  • Rockwood Conservation Area, Southern Ontario
  • Selected Symbolic Novels And Movies
  • Snorkeling the Red Sea near Jeddah
  • Updates and Thoughts on the Egyptian Revolution of 2011

Recent Content

Most recent articles on the site.

  • Origin Of COVID-19: Natural Spillover, Lab Leak Or Biological Weapon?
  • Kamal Salibi and the "Israel from Yemen" theory
  • How To Upgrade HomeAssistant Core In A Python Venv Using uv
  • Ancestry - Paternal Side
  • Review of Wait Water Saver For Whole House Humidifiers
more

Most Comments

Most commented on articles ...

  • Another scam via Craigslist: offering more than asking price
  • Warning to female tourists thinking of marrying Egyptians
  • Craigslist classified for used car: Cheque fraud scam
  • Winning the lottery scam email: World Cup South African lottery
  • Email Scam: BMW 5 Series car and lottery winning
more

About Khalid

Various little bits of information ...

  • Khalid Baheyeldin: brief biography
  • Presentations and Talks
  • Youtube Videos
  • GitHub Projects
  • Drupal.org Profile
  • Astrophotography @ Flickr

Sponsored Links

Your Link Ad Here

Tags

Android Mobile Ubuntu Sony OnStep OpenWRT Router Ericsson COVID-19 Rogers Coronavirus Arabic Kubuntu Home Assistant GSM Telescope tablet Spectrum Scam Python 419 Laptop Firefox DIY CPU Conspiracy Comet Balkanization backup App
More

© Copyright 1999-2025 The Baheyeldin Dynasty. All rights reserved.
You can use our content under the Terms of Use.
Please read our privacy policy before you post any information on this site.
All posted articles and comments are copyright by their owner, and reflect their own views and opinions, which may not necessarily be consistent with the views and opinions of the owners of The Baheyeldin Dynasty.

Web site developed by 2bits.com Inc.