Developer
Supported
Been There!
Back to this add-on's main page
View Other Add-ons From Wouter Vervloet
Is there anything that can be done for this
General
|
Djive
|
| Posted: 18 November 2010 04:35 PM |
|
|
|
|
Please let me know if there can be done anything
|
|
|
|
|
Wouter Vervloet
|
| Posted: 18 November 2010 06:01 PM |
# 1
|
|
|
Developer
|
Hi Djive,
I’ve looked at your demo and ad far as I can see all that is missing for you, is the feature to erase the ‘saved’ items.
You can already filter the entries by specifying the channel parameter, though you might want to be able to remove only certain entry_id’s based on the channel they’re in.
I’ll see if I can think of an easy way to implement this and if it is even in the scope of this add-on. The ability to erase them would definitely be a neat feature to implement.
Greetz,
Wouter
|
|
|
|
|
Djive
|
| Posted: 19 November 2010 01:02 PM |
# 2
|
|
|
|
thx for quick response.. i did not get response notification.. so i just cheked now..
Thx
|
|
|
|
|
Wouter Vervloet
|
| Posted: 19 November 2010 01:18 PM |
# 3
|
|
|
Developer
|
I will be looking into it this weekend. So i’ll let you know how far along I am.
|
|
|
|
|
Djive
|
| Posted: 19 November 2010 01:26 PM |
# 4
|
|
|
|
OK.. Thx if you need any more info or login to site.. just let me know.
|
|
|
|
|
Wouter Vervloet
|
| Posted: 19 November 2010 07:17 PM |
# 5
|
|
|
Developer
|
Hi Djive,
I’ve been looking through the options and I’m not gonna implement this in Been There.
But! ... I am gonna make an improved version for you called ‘Remember Me’. It will basically allow you to save entries to storage and get/clear entries from storage based on either the entry_id or the channel_id.
Something like this:
// Save an entry to storage and redirect to return url {exp:remember_me:set entry_id='34' return='products/compare'}
// Check if an entry has been stored {exp:remember_me:get entry_id='34'} // returns: true || false
// Get all entries belonging to a certain channel {exp:remember_me:get channel='products'} // returns: '34|23|3|9'
// Remove an entry from storage and redirect to return url {exp:remember_me:clear entry_id='23' return='products/compare'}
// Remove entries from storage belonging to a specific channel and redirect to return url {exp:remember_me:clear channel='products' return='products/compare'}
// Remove all entries from storage and redirect to return url {exp:remember_me:clear return='products/compare'}
You will then simply have to place some of these tags (set and clear) in its own template which you can call either via an AJAX call or directly. If done with an AJAX call the plugin will not redirect, but simply return a JSON string with a boolean value (true / false);
Will that do?
I’ve already set up the general outline for the extra functionality, so it shouldn’t take me that long to make it.
Greetz,
Wouter
|
|
|
|
|
Djive
|
| Posted: 20 November 2010 12:54 AM |
# 6
|
|
|
|
OK great .. that will be great :)
|
|
|
|
|
Wouter Vervloet
|
| Posted: 20 November 2010 02:01 PM |
# 7
|
|
|
Developer
|
Hi Djive,
Could you give me your e-mail address so I can send you a test copy? if you don’t want to give it here, you can mail me at wouter [at] baseworks [dot] nl.
I have a version that does pretty much everything except for the redirect to return URL.
Greetz,
Wouter
|
|
|
|
|
Djive
|
| Posted: 20 November 2010 02:21 PM |
# 8
|
|
|
|
I sanded you email.
Thats i call SPEED :)
|
|
|
|
|
Wouter Vervloet
|
| Posted: 20 November 2010 08:05 PM |
# 9
|
|
|
Developer
|
I’m gonna close this thread as I’ve created a different plugin for this feature request. Check out “Remember Me” when it has been added to Devot:ee.
Greetz,
Wouter
|
|
|
|