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 28. Sep 2022, 14:52

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  [ 7 posts ] 
Author Message
 Post subject: direct access to libery
PostPosted: 2. Jan 2006, 11:04 
Offline

Joined: 2. Jan 2006, 10:58
Posts: 9
hay

i wont to have a direct access
for example if i have a 60 galley, i have to search for my gallery

i wont to do somthing with txt box thet will go directly to the gallery

like

http://tinywebgallery.ti.funpic.de/demo ... twg_album="(value from text box)"

i have a code thet can help

Code:
<script language="JavaScript"><!--
function functionName() {
    location.href =
        formName.textName.value;
    return false;
}
//--></script>

<form name="formName" onSubmit="return functionName()">
URL: <input type="text" name="textName" value="הכנס שם">
<input type="submit" value="Go" onClick="return functionName()">
</form>
</html>


10x for all
kobi


Top
 Profile  
 
 Post subject:
PostPosted: 2. Jan 2006, 12:46 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

I don't understand what you need ;).
Where should this input field box be placed ?

/Michael


Top
 Profile  
 
 Post subject: OK
PostPosted: 4. Jan 2006, 23:59 
Offline

Joined: 2. Jan 2006, 10:58
Posts: 9
i wont to let the user direct access to specific galley, but for this i found a good solution
Code:
<script language="JavaScript">
<!--
var vMAIN_URL='#removed_broken_link';
//.+.+.+.+.+.+.+.+.+.+.+.+.+
function go2gallery() {
    location.href=vMAIN_URL+document.g2g.galleryName.value;
    return false;
}
//-->
</script>
<form name="g2g" onSubmit="return go2gallery()">
gallery name: <input type="text" name="galleryName" value="input name" />
<input type="submit" value="go" onClick="return go2gallery()" />
</form>

bat now i have another problem, i wont to protect the gallery with password and when the password windows is in full screen is not work good !!!
help please
10x
kobi


Top
 Profile  
 
 Post subject:
PostPosted: 5. Jan 2006, 10:27 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

what do you expect?
You wan to jump to a protected gallery and the gallery says that you are not allowed to do this. You have to got to the main screen and do the logon.

But good your tried - there ist still some debug code if you type it wrong :)

I don't understand the last sentence you wrote.
I think what can be more user friendly is that it asks for the password at this point ... ??

/Michael


Top
 Profile  
 
 Post subject: OK
PostPosted: 5. Jan 2006, 12:45 
Offline

Joined: 2. Jan 2006, 10:58
Posts: 9
try this link
http://tinywebgallery.ti.funpic.de/demo ... m=Palenque

why when i insert the password "test" is not work??

thank for all
kobi


Top
 Profile  
 
 Post subject:
PostPosted: 5. Jan 2006, 19:25 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
true -

you link direcly into an iframe - this frame comunicates with the main frame but this does not exist and therefore it fails.

In 1.4 I will include a feature that if you want to do a direct login you are asked for the password like on the main page.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 5. Jan 2006, 20:55 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

Please to your check against the beta of 1.4:

http://tinywebgallery.ti.funpic.de/test ... %282004%29

It should now be possilbe to log in if you try to open a logged gallery !
Only the text is not modified yet ;).

/Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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