Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Back to TWG link after logout from Administration
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=3053
Page 1 of 1

Author:  vian [ 11. Jul 2011, 16:32 ]
Post subject:  Back to TWG link after logout from Administration

Hi Michael,

I was looking for a way how to add a link to the page appearing after logout from TWG administration. I checked the code and (as I am not a programmer) - I'd like if you (or someone more experienced) could confirm that this is the correct solution:

I edited /admin/_include/footer.php on line 86 like this:

Code:
  <div class="ctr">
      TWG Admin ' . $GLOBALS["twg_admin_version"] .
' - <a href="' . $GLOBALS["twg_home_url"] . '" target="_blank">Copyright (c) 2004-2010 TinyWebGallery</a>' .
' | <a href="http://heredy.net/04_gallery">Back to TWG</a>.
  ';


So the result now is that I can click directly on the bottom link to get back to TWG.

Thanks for your gallery, take care,

Ivan

Author:  TinyWebGallery [ 11. Jul 2011, 22:02 ]
Post subject:  Re: Back to TWG link after logout from Administration

;).

why don't you simlpy use the link in the menu?

Best,
Michael

Author:  vian [ 11. Jul 2011, 23:31 ]
Post subject:  Re: Back to TWG link after logout from Administration

TinyWebGallery wrote:
;).

why don't you simlpy use the link in the menu?

Best,
Michael


Because:
If I use the "Back to TWG" link from the configuration backend, it brings me back to my gallery but without logging out as admin. And if I use Logout, it brings me to the "Welcome to the TWG Administration" page. And once I am on this page, I want to get back to my gallery but there is no other way, than reopen it from bookmarks.

Simply said, I want to get from the TWG config back to my gallery already logged out. Anyway, this is very low priority "problem", probably I am the only one who needs this feature :)

Author:  TinyWebGallery [ 12. Jul 2011, 08:41 ]
Post subject:  Re: Back to TWG link after logout from Administration

;).

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/