Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-05-16 10:47:35

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

[request] My Favorites

Not sure if this is right for a plugin or if it should be coded into a site some how.

When reading weblog articles or pages on a regular site it would be nice have an add to favorites link that remembered the page for short term future reference. Bit like bookmarking a perm link but just for the short term. Remembered pages could then be listed on there own page with links to the full article. Take a look here to see what I’m on about, see the My Favorites in the top menu.

Last edited by lee (2005-05-16 11:10:46)

Offline

#2 2005-05-16 17:26:39

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: [request] My Favorites

No plugin required – use content > links or a section with one article per link. Google sencer’s textpattern bookmarklet to make it one-click.


Alex

Offline

#3 2007-09-04 22:44:06

BryanA.
Member
From: Maryland, USA
Registered: 2007-08-12
Posts: 104

Re: [request] My Favorites

Two years later, I’m coming around to TXP and trying to stick in some HTML stuff I picked up along the way. I searched “add to favorites” and got this post – here’s the meat of my question:

javascript bookmark code that only appears in the permalink display (not on the first/default page) that allows visitors to mark the ARTICLE instead of the site with a button.

Considering the <txp:title /> and permalink tags, I thought sticking those into this code might be easy so that a Form is responsible for always creating the proper code?

<a href=“javascript:bookmarksite(‘ARTICLE NAME’, ‘ARTICLE PERMALINK’)”>
<my little gif button></a>

For me this is complex – so dumb-down any tricky answers please. Sticking the javascript in the <HEAD> is easy enough – commanding a FORM to appear only in the Single Form is easy enough, but can I use the <TXP> tags inside that bit of code above?


Voice Actor – starting up a site for that good book stuff.

Offline

#4 2007-09-04 23:01:51

BryanA.
Member
From: Maryland, USA
Registered: 2007-08-12
Posts: 104

Re: [request] My Favorites

Now just a few minutes later. :)

WOW. It works wonders! Any picture/object you please can be made to automatically help a vsitor Favorite an article’s PERMLINK not permAlink as I spelled it wrong so frequently.

The Projects:
www.Dinarius.com/commentable <—With the Favorites button.
www.GawkerComputers.com <—Just a fun one based on the Ocadia layout.

What used to be a nightmare of HTML re-writing is an automatic feature of the site – seriously incredible and those bookmarks accounted for a great deal of return visits. – I still don’t know how to make them show up on the permlink pages alone though.

Last edited by BryanA. (2007-09-05 21:37:23)


Voice Actor – starting up a site for that good book stuff.

Offline

#5 2007-09-05 13:24:03

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [request] My Favorites

Easy. :)

Offline

Board footer

Powered by FluxBB