Feature proposal #5097
closed
Implement CBLib API classes
Added by krileon almost 10 years ago.
Updated about 8 years ago.
Start date:
19 February 2015
Description
Pull out the API and turn it into CBLib API classes so it can be better utilized by other plugins and support auto loading. It show allow for easy gallery folder/item creation and display.
This should function kind of like CB Activity. Basically a gallery API class that can render any gallery. Don't bother with heavy ajax functionality, but instead just use standard page views except use return handling like GJ is for returning to the correct location. This will allow custom galleries for basically anything.
- Target version changed from 724 to 2.0.0
Asset usage will be more strict here. Stream was a different beast and needed global stream capabilities, but galleries will always be specific to their asset (as will 99% other API usages).
Implement new way to pass stream parameters. Currently this is done via POST/GET variable, but as parameters are added this can get huge. Instead on gallery output store the params to user session by an id generated from asset (so it's obscured.. simple md5 is fine) then simply pass the id between pages to rebuild the gallery. This usage should be implemented in CB Activity as well. If the session data is lost and the id doesn't exist in session then the gallery construction should fail (and error).
- % Done changed from 0 to 80
- Status changed from Assigned to Resolved
- % Done changed from 80 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF