Skip to Content.
Sympa Menu

cc-devel - [cc-devel] [ cctools-Feature Requests-2769162 ] One-click "Add/Remove to Favorites Playlst"

cc-devel AT lists.ibiblio.org

Subject: Developer discussion for Creative Commons technology and tools

List archive

Chronological Thread  
  • From: "SourceForge.net" <noreply AT sourceforge.net>
  • To: noreply AT sourceforge.net
  • Subject: [cc-devel] [ cctools-Feature Requests-2769162 ] One-click "Add/Remove to Favorites Playlst"
  • Date: Tue, 21 Apr 2009 21:24:50 +0000

Feature Requests item #2769162, was opened at 2009-04-16 11:11
Message generated for change (Settings changed) made by fourstones
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=559969&aid=2769162&group_id=80503

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: ccHost
Group: None
>Status: Closed
Priority: 5
Private: No
Submitted By: Michael Krnac (michaelkrnac)
Assigned to: Victor Stone (fourstones)
Summary: One-click "Add/Remove to Favorites Playlst"

Initial Comment:
Create a Toggle Button with ajax to manipulate ccHost Data.

Examples for use of this:
* Add Upload to Favs, remove from favs
* Add Tag remove tag (for example editorial_pick)


----------------------------------------------------------------------

Comment By: Victor Stone (fourstones)
Date: 2009-04-21 14:24

Message:
check in #12322

Usage:

In upload_list template:

Inside the records loop:
%map(upload_id,#R/upload_id)%
%call('playlist_favs.php/link')%

At the bottom of the template (after the loop):
%call('playlist_favs.php/hook')%

Strings:
str_pl_favs_add_to
str_pl_favs_remove_from

CSS selectors for links:
.fav_playlist_remove
.fav_playlist_add_to


----------------------------------------------------------------------

Comment By: Victor Stone (fourstones)
Date: 2009-04-16 11:41

Message:
(renamed request)

----------------------------------------------------------------------

Comment By: Michael Krnac (michaelkrnac)
Date: 2009-04-16 11:30

Message:
Oh ok.
The Tag thing is not so important.
It should be an easy way for admins.

So the only thing i need is this toogle functionality for users to add a
upload to there favs and remove it from there.

----------------------------------------------------------------------

Comment By: Victor Stone (fourstones)
Date: 2009-04-16 11:22

Message:
This is great but it is two different requests - as discussed there really
is no way to do a generic "URL to all PHP functions in ccHost" - if you
need a specific URL mapping to specific functionality I can do that but it
will have to wrapped in security features.

fyi, for tagging here are some rules for how it works:

- anonymous users can not set any properties on an upload
- registered users can not set any properties on uploads they don't "own"
- owners of uploads can assign tags via the 'Edit Properties" form for the
uploads, but they are limited to "user" tags - they can not add or remote
"system" or "admin" tags (like "editorial_pick" or "remix")
- admins can set "user" tags on any upload via 'Edit Properties', and edit
the "system" or "admin" tags via the 'admin/upload/[upload_id]' screen
(click on 'Admin' from the "actions" menu for any upload)

You want an URL to add/remote "tags" - what does that mean exactly?

(please use the 'ccHost' category when requesting features/reporting
bugs)


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=559969&aid=2769162&group_id=80503




Archive powered by MHonArc 2.6.24.

Top of Page