Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [theguy] what happened to my links sql

Quote Reply
Re: [theguy] what happened to my links sql In reply to
I know it's on my list, for my postcards site. People can mark links as "favorites" and it will show up in a picklist for them.

The concept is not hard, and with the advanced template processing, it should even be easier.

You need a table that is Username=>LinkID

You need a few simple routines to add/delete links to this list, but the display routines should be as trivial as a function to do a select, return the title and ID in an array, then send the array pointer to a <%loop%> variable in the template. You could even use a generic template, and an <%if%> tag such that <%if favorites%>display list<%else%>display the 'show favorites' link<%endif%>

I'm just in a hole, and can't seem to ever see the sun.




PUGDOG´┐Ż Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Subject Author Views Date
Thread what happened to my links sql theguy 2501 Sep 17, 2001, 7:45 AM
Thread Re: [theguy] what happened to my links sql
Paul 2463 Sep 17, 2001, 7:54 AM
Post Re: [PaulWilson] what happened to my links sql
Paul 2432 Sep 17, 2001, 7:55 AM
Thread Re: [theguy] what happened to my links sql
pugdog 2381 Sep 18, 2001, 11:52 AM
Post Re: [pugdog] what happened to my links sql
sponge 2375 Sep 18, 2001, 9:42 PM