Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 24. Nov 2024, 15:06

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: root.txt question
PostPosted: 24. Mar 2008, 11:50 
Offline

Joined: 24. Mar 2008, 11:33
Posts: 2
Could someone please help me understand the root.txt usage ?

Say I have twg in /public_html/twg and my galeries in

/public_html/galleries/gallery1
/public_html/galleries/gallery2
/public_html/galleries/gallery3

...

I want to provide links to each individual gallery in such a way that the users cannot "go up" and see the list of the other galleries.

According to faq.htm#h21 , I place a file "root.txt" in every gallery directory.

Doing this suppresses the link to go up "higher" than the current gallery, which is what I want. BUT, it also suppresses the up arrow that allows the users to go back to the thumbnails page of the CURRENT gallery.

I tried to leave root.txt empty, put the name of the curent directory, and all other variations I could think of, but without success.

How should it be done ?

Is it also possible to configure twg so that just calling twg without parameters does NOT show the list of all galleries, but leaving the galleries open (without password ?).

Thank you in anticipation.

Christophe


Top
 Profile  
 
 Post subject:
PostPosted: 24. Mar 2008, 12:21 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I think this does not work right now - I have to check this.

About calling TWG without parameters - what should happen then?

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 24. Mar 2008, 12:36 
Offline

Joined: 24. Mar 2008, 11:33
Posts: 2
>> About calling TWG without parameters - what should happen then?

I just wanted to prevent anyone from seeing the list of galleries, and I now found that putting a "private.txt" file in the root directory does exactly that.

I wrongly anticipated that it would have had a recursive effect.

Question closed for me. thank you.

Christophe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 44 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy