Working on a new plugin, pretty simple probably but its actually the first one I ever got to work. :)
However, the plugin seems to have the nasty habit to redirect a users login to itself. With that I mean if a user is browsing the website and wishes to login after doing so the site will direct him to the plugin page "index.php?e=sidepanel".
The plugin itself is really simple, with the default setup file (sidepanel.setup.php), which is empty except the minimal requirements and in my sidepanel.php I have the following:
The sidepanel is created in my footer with the following code:
XML/XHTML
1
<divid="extruderRight"class="{title:'User Control Panel', url:'index.php?e=sidepanel'}"></div>
Yes, I am using "redirect back on login" and I made 100% sure I am not actually on the plugin page.
Is there also a way to prevent from people accessing that "index.php?e=sidepanel"? Cause I have to make it standalone else it does not work, but than you can access it in a standalone page (obviously) which will than show the contents of my tpl in a page.