Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Notices
Is there a way to add the notices like update reminder. I looked at the applicant extension yet that doesnt seem to work on board fullstop.
0
This discussion has been closed.
Comments
However it only notifies if certain conditions are fulfilled (which may be the reason why you're not seeing anything):
a) You must have the rights to approve new applicants... at the top if... $Context->Session->User->Permission('PERMISSION_APPROVE_APPLICANTS')
b) have set the role for new applicants to require approval (if new applicants can post right away, they won't need approving = no message)
c) there have to be new applicants waiting for approval... if $ApplicantCount > 0
AddNotice($Notice, $Position = '0', $ForcePosition = '0')
So, you should use something like this in your code:
$NoticeCollector->AddNotice("Your task 'My first task' is about to expire!");
You don't need to add the position parameters. Just add the above line to one of the enabled extensions, and check if it works (haven't tried it myself)
I love it when I don't have to explain stuff
It will be easier for you as you can use your own code as you know how you have done things.
the code for my notice is here
$ItemNotice = "hello this is an example of a task that could be maed so well there you go really!"; $NoticeCollector->AddNotice("To Do Task : <b>$ItemNotice</b><div style='float: right;'><a href='?PostBackAction=ToDo'>Completed/Cancel</a></div> <br />Due Date: Today ");