In the notifications plugin I have the following code which finds the location to add a link, how could I change this to find a div of my choice not the user navigation?
$this->content['loggedin']['suffix'] = @$this->content['loggedin']['suffix'].' <a class="qa-history-new-event-link" title="'.$tooltip.'"><span class="notifybub ntfy-event-new">'.$eventcount.'</span></a>';
I have a limited knowledge of php but, tried this after searching about with no success.
$this->find('#tester') = @$this->find('#tester').' <a class="qa-history-new-event-link" title="'.$tooltip.'"><span class="notifybub ntfy-event-new">'.$eventcount.'</span></a>';
Please guys any help would be great as I have been plugging away at this for some time :)
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.