Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
Edit Function Top of Gallery https://www.tinywebgallery.com/forum/viewtopic.php?f=5&t=3131 |
Page 1 of 1 |
Author: | ASCDE [ 20. Oct 2011, 20:25 ] | ||
Post subject: | Edit Function Top of Gallery | ||
Hi, long time that I spend time for TWG. I updated my private Web Galllery and found something strange. See pic. I found an Function "Edit" when on top of the Gallery in User Menu, but seams to have no function really. So for hat is this Edit Link? cheers Alex
|
Author: | TinyWebGallery [ 21. Oct 2011, 10:31 ] |
Post subject: | Re: Edit Function Top of Gallery |
There you can normally edit folder.txt. Seems this does not work with all configurations. I'll fix this on the weekend. Expect a new version then. - Michael |
Author: | TinyWebGallery [ 22. Oct 2011, 02:42 ] |
Post subject: | Re: Edit Function Top of Gallery |
The reason is that you pictures folder is not writable and therefore the textarea is not shown. I will as a check for the menu item as well in the next version. So that the link is only shown when the permissions are o.k. - Michael |
Author: | ASCDE [ 22. Oct 2011, 17:18 ] |
Post subject: | Re: Edit Function Top of Gallery |
Hi, my directory is 777 and inherit this to all sub folders. The Folder.txt and Foldername.txt are exists and with JFU I can edit and save the files. regards Alex PS: PM me for get access if you want to my Online gallery. |
Author: | TinyWebGallery [ 22. Oct 2011, 18:24 ] |
Post subject: | Re: Edit Function Top of Gallery |
but the is_writeable function of php returns false for this folder. I have the same behaviour on my demos. I changed the pictures folder to 777 and the input box is shown. In 1.8.6 I will add this check at the menu item. - Michael |
Author: | ASCDE [ 23. Oct 2011, 16:11 ] | |||
Post subject: | Re: Edit Function Top of Gallery | |||
Hi Michael, I have done today an fresh setup at home and magic, now I get an text box shown and it shows me your sample text from folder pictures which I always delete and use an other directory for my pics. Found in i_frames\i_title.php the problem because Folder /pictures/ has been hardcoded in line 55. Have chnage this to my $folder = "../MEDIA/" . $twg_album; and now it works for the folder.txt When you fix this you may change this to $basedir. Also it would be nice to have the Edit Function direct with the selected top Root of the Folder ( thumbnail page) and not when the first image is shown. Is there any chance to be able to move the Edit Window? In Firefox resize of the Textbox is avaible but not helpful because it is only resizable to right. Can you assign this to left? A similar topic we had already with the JFU, I remember. cheers Alex
|
Author: | TinyWebGallery [ 23. Oct 2011, 19:41 ] |
Post subject: | Re: Edit Function Top of Gallery |
Thanks, I will change the variable to basedir in the next update. The edit is on the detail page because thumbnail can be skipped and then the function is not avalable anymore and I don't want to have the same functionality it twice. The resize of firefox does not help alot because the iframe has a certain height. If you want more space you can change $lang_height_caption in loadconfig.inc.php at the bottom to a higher value. I have now increased the default to 450 but this is the maximum height because this space is reserved and users with small galleries will have a problem then. Best, Michael |
Author: | ASCDE [ 23. Oct 2011, 20:22 ] |
Post subject: | Re: Edit Function Top of Gallery |
Hi, thanks for the tip with the edit Window but need this for width, height is ok just wanna have more space in the textarea. Last one, tip how to get the window left assigned or is this one global value for all? regards Alex @ Vienna |
Author: | TinyWebGallery [ 23. Oct 2011, 21:38 ] |
Post subject: | Re: Edit Function Top of Gallery |
But with Firefox so you get at least more height . Making the iframes left align is more complicated because they are adjusted by Javascript at a tracking pixel... - Michael |
Author: | TinyWebGallery [ 24. Oct 2011, 12:28 ] |
Post subject: | Re: Edit Function Top of Gallery |
Should now be fixed in TWG 1.8.6 you find in the forum... - Michael |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |