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.
Back button: a way to get back out of Filebrowser
Hey guys,
I have been trying to find a way to splice in a back button or some way to get from filebrowser back to the main PHP application. I am running out of time to do more research before showing this wonderful tool to some people -- how nicely it fits in.
I have some examples of html and javascript buttons, but cannot figure out exactly where to splice it into Filebrowser. I cannot get the html or javascript versions to work in the _config XML file (I don't really know XML) or even in index.php. Can anyone provide me with such information, and perhaps the code for a back button that they know works at this point?
I would be truly grateful. I will try to contribute to this tool, doing some more research, but it would really help to have a way back out of the tool to the main app working by Thursday morning in order to gain acceptance of the concept.
Thanks in advance, bloozman
0
This discussion has been closed.
Comments
I'm assuming you mean the main app isnt filebrowser there. If i'm right try what i said if you've had no luck i'll try and remember to dig deeper later.
it should say:
<h1>".$Config->PageTitle."</h1>
If you want to add a link in (and for sure this isnt the most elegant solution but it works and if you're short of time it will do the trick) just do something like:
<h1>".$Config->PageTitle."</h1><a href='whatever'>link</a>
And it should add your link just before the structure links at the top right.
Hope thats ok for you. If you wanted to put it somewhere else you'd need to pick a static part of the page near where you wanted it then search for that bit in the source file but atleast this way you'll have a link!