Page 1 of 2
Contentfolder Error
Posted: 17 Oct 2008, 13:26
by globetrotter
When I select in admin a folder like content/AnotherFolder/ then something strange happens when I go to Manage my pictures I get a empty (white) screen.
The only way to repair this problem is to delete the file configUser.xml in the config directory.
Posted: 17 Oct 2008, 23:26
by mjau-mjau
you're right ... We will look into.
Perhaps you can explain what you are trying to do? I mean, why set another contentfolder when using "content" would give you admin access throughout the folders anyway? Is it for the gallery?
I know there may be some confusion regarding this ...
Posted: 18 Oct 2008, 17:16
by globetrotter
I want to have a public contentfolder, like content/public/ and a private contentfolder like content/private/
See also:
viewtopic.php?t=3786
Posted: 20 Oct 2008, 06:25
by mjau-mjau
Just lingering on the functionality of this ... is there any reason why you can't simply use "content" as contentfolder, and manage both your "public" and "private" content from same admin/login?
You can still use gallery/?contentfolder=content/public/ and gallery/?contentfolder=content/private/ for the gallery frontend.
Of course I can see there is a bug that shouldn't be there, no discussion about that ...
Posted: 20 Oct 2008, 07:19
by globetrotter
It is no problem when I can use the folders like: gallery/?contentfolder=content/public/ and gallery/?contentfolder=content/private/.
I can also make a hidden directory in the public gallery, but it is not possible to open a hidden directory, even when I know the correct link?
Posted: 20 Oct 2008, 07:41
by mjau-mjau
globetrotter wrote:I can also make a hidden directory in the public gallery, but it is not possible to open a hidden directory, even when I know the correct link?
Hidden folders are basically only hidden from the menu. If someone knows the path/location, they could open it through the gallery of by direct URL in browser.
Posted: 20 Oct 2008, 08:00
by globetrotter
I have made a hidden folder in my test gallery, but I can not see this pictures when I go to this url:
http://test.globetrotternet.nl/#/content/Tests/Babes/ Or do I something wrong?
EDIT: There are 2 subdirectories in this hidden directory. When I go to:
http://test.globetrotternet.nl/#/conten ... 20Brookes/ I can see the pictures.
Posted: 20 Oct 2008, 09:16
by Nick
While this is obviosly a bug, maybe you misunderstood the contentfolder idea, actually it should be changed only if you dont like default content/ foldername.
Posted: 20 Oct 2008, 15:06
by Nick
Okay, here is the explanation:
"Contentfolder" in Config supposed to be of string type for you to type-in new name for "content/" folder in case you don't like the name of it. And it has to be first level sub-folder.
Imagine having one gallery showing unrelated galleries in different pages of your site. So you just point each swf to correspoding folder under "Contentfolder" and you having 2 separate gallerys.
Am I right you want to have 2 separate config files or something?
yoursite.com#/content/travel/Thailand/
yoursite.com#/content/pictures/Wedding/
PS. Actually if we implement some multiple "Contentfoldersnow" I can envision URLs like:
yoursite.com#/travel/Thailand/
yoursite.com#/nature/Animals/
I promise we'll come back to that question after release.
For now I changed default contentfolder type to string (how it supposed to be) and updated v2.zip in downloads. And we also fixed this bug, but what was your original plan, how you want to use it?
Posted: 21 Oct 2008, 02:58
by mjau-mjau
According to the scripts, there are no images in the first folder link:
http://test.globetrotternet.nl/?a=files ... sts/Babes/
There are however many image the the second folder link:
http://test.globetrotternet.nl/?a=files ... 20Brookes/
That explains why the first link shows nothing, while the second link shows photos.
Posted: 21 Oct 2008, 02:59
by globetrotter
pain wrote:For now I changed default contentfolder type to string (how it supposed to be) and updated v2.zip in downloads. And we also fixed this bug, but what was your original plan, how you want to use it?
I just want to have more contentfolders (like in V1), so I can make more 'seperate' galleries on one webadres. So I can have a public gallery and a private gallery, where normal viewers can not see my private pictures.
Posted: 21 Oct 2008, 03:03
by globetrotter
I can make a textpage with links to the picture directories in the directory:
http://test.globetrotternet.nl/?a=files ... sts/Babes/
Posted: 21 Oct 2008, 03:13
by mjau-mjau
Not quite sure what you mean ...
Anyway, I don't understand why you can't use the "contentfolder" parameter. For example, you have two galleries:
content/public/
content/private/
For the public gallery, make your url:
gallery/?contentfolder=content/public/
For the private gallery, make your url:
gallery/?contentfolder=content/private/
Both those galleries will display a menu created from subfolder of each contentfolder. To make sure the "private" folder doesn't display when someone accesses "gallery/?contentfolder=content/", you can set the "private" folder to hidden, and it won't display in the menu.
Moreover, if you don't want to display url parameters "?contentfolder=content/private/", you can make a copy of the "index.php" source, call it "private.php", and embed the contentfolder directly in the document:
var flashVars = {
contentfolder: 'content/private/', ...
Posted: 21 Oct 2008, 03:30
by globetrotter
mjau-mjau wrote:
Not quite sure what you mean ...
Sorry...I did copy the wrong link. I made a textpage in a hidden directory over here:
http://test.globetrotternet.nl/#/content/Tests/Babes/
mjau-mjau wrote:Anyway, I don't understand why you can't use the "contentfolder" parameter. For example, you have two galleries:
content/public/
content/private/
For the public gallery, make your url:
gallery/?contentfolder=content/public/
For the private gallery, make your url:
gallery/?contentfolder=content/private/
Both those galleries will display a menu created from subfolder of each contentfolder. To make sure the "private" folder doesn't display when someone accesses "gallery/?contentfolder=content/", you can set the "private" folder to hidden, and it won't display in the menu.
Moreover, if you don't want to display url parameters "?contentfolder=content/private/", you can make a copy of the "index.php" source, call it "private.php", and embed the contentfolder directly in the document:
var flashVars = {
contentfolder: 'content/private/', ...
Yes, I can use the contentfolder parameter! But it did't work in a earlier version. I will try it again later.
And I can also use the option with the hidden folder.
Thank you for all the help and information!
Posted: 23 Aug 2010, 03:39
by Gizmo
mjau-mjau wrote:Moreover, if you don't want to display url parameters "?contentfolder=content/private/", you can make a copy of the "index.php" source, call it "private.php", and embed the contentfolder directly in the document:
var flashVars = {
contentfolder: 'content/private/', ...
Hey!
I know this is an old thread, but I can't manage to do that...
How am I supposed to embed it exactly?
I'm sure I did it wrong, but here is what I tried:
<?php include_once('imagevue.php');
var flashVars = {
contentfolder: 'content/private/';
}
?>