New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to filter specific url #34
Comments
I'm not sure if @txusko understands what you mean, but I don't, I'm afraid. Do you mean:
|
Sorry for it, I have updated my issue above. |
Hi @izzud1655 sorry for my late reply, I didn't notice about your issue. I don't know if I understand well your question, but If you want to filter the notes relative to the page you're visiting, you should change the global var: $.fn.postitall.globals.filter. By default, it's set to "domain" (it will load all the notes created in the current domain), but you can change it to "page" (notes in current page) or to "all" (no filter). This is the part I was referring to:
I hope it helps ... |
it's working,thanks, i have added as below.. |
Hi, I'm using local storage / external storage and want to filter specific url when create a sticky note
For example, when I create sticky note on this url " http://test.com/dashboard/index.php?file=topic_exercise ", it saved on it for revisit page later.
In addition, if I enter to other url on same domain as " http://test.com/dashboard/index.php?file=topic_assessment ", the created sticky note not show on it.
This my code I have implemented,but not working,it still show sticky note in other url.
if($.PostItAll!=undefined){
$.PostItAll.changeConfig('global', {
addNew : false,
askOnDelete : false,
showInfo : false,
htmlEditor : false,
addArrow : 'all'
});
$.PostItAll.load({
page : '/dashboard/test.php?file=topic_exercise'
Thanks.
The text was updated successfully, but these errors were encountered: