This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 21 - Pages: 2 [ 1 2 | Next ] - Last Post: 23-Feb-2020 21:09 Last Post By: christr Threads: [ Previous | Next ]
CLOSED_USER

Posts: 3
Registered: 17-Apr-2017
folder tree tiers
Posted: 18-Apr-2017 17:15
 
  Click to reply to this thread Reply
Is there any way to possibly keep the Folder Tree from displaying the third tier of folders? I.e. from the parent folders, only showing the sub-folders of the parents but NOT the sub-folders of those sub-folders. Any help is greatly appreciated.
Laza

Posts: 2,300
Registered: 6-Sep-2005
Re: folder tree tiers
Posted: 19-Apr-2017 11:32   in response to: CLOSED_USER in response to: CLOSED_USER
 
  Click to reply to this thread Reply
You can try using this code in the "Settings / Photoblogger / Advanced / CSS" box: (this will only hide the deeper levels)
#folder-tree .folder-tree > ul ul ul { display: none; }
christr

Posts: 51
Registered: 26-May-2012
Re: folder tree tiers
Posted: 22-Feb-2020 14:36   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Hello Laza!
I tried this line (settings-PhotoBlogger-Site-Custom code-CSS

But I get stil 7 subfolders.
When I use

#folder-tree .folder-tree > ul ul { display: none; }
I get the toplevel folders.

Do you have any advice?
TXS! Chris
jGromit

Posts: 7,792
Registered: 31-Jan-2006
Re: folder tree tiers
Posted: 22-Feb-2020 16:26   in response to: christr in response to: christr
 
  Click to reply to this thread Reply
Attachment 1level.png (64.3 KB)
Attachment 2levels.png (72.2 KB)
Attachment 3levels.png (91.7 KB)
You should now be able to control this without using any custom CSS at all. See Photoblogger > Header > Top bar > Top navigation > Depth.

See screenshots for results (top level of album is F1, F2 - next level down is SF1, SF2 - next level down is SSF1, SSF2).
jGromit

Posts: 7,792
Registered: 31-Jan-2006
Re: folder tree tiers
Posted: 22-Feb-2020 16:28   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Ah, I see that you're referring to the other folder tree. Back in a few minutes, if I have anything useful to report....
jGromit

Posts: 7,792
Registered: 31-Jan-2006
Re: folder tree tiers
Posted: 22-Feb-2020 16:32   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Attachment default.png (4.4 KB)
Attachment custom1.png (3.8 KB)
Attachment custom2.png (3.3 KB)
OK, without any custom CSS, I see what you see in default.png.

With this custom CSS:
#folder-tree .folder-tree > ul ul ul { display: none; }
I get what you see in custom1.png.

With this custom CSS:
#folder-tree .folder-tree > ul ul  { display: none; }
I get what you see in custom2.png.
christr

Posts: 51
Registered: 26-May-2012
Re: folder tree tiers
Posted: 22-Feb-2020 17:39   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
It took a while: I reinstalled JAlbum, following de reinstall instructions.
I deleted the generated Photoblogger album and generated it again. Clean!

Then I adjusted the settings, see attached file, page 2.

The result:
https://www.imagixs.net/portret/index.html

Tears on my cheeks.....

Chris

jGromit

Posts: 7,792
Registered: 31-Jan-2006
Re: folder tree tiers
Posted: 22-Feb-2020 18:00   in response to: christr in response to: christr
 
  Click to reply to this thread Reply
It's not clear. Is the album now displaying the way you want it to, or not? If not, what do you want to change?
christr

Posts: 51
Registered: 26-May-2012
Re: folder tree tiers
Posted: 22-Feb-2020 18:20   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
No, I am not happy.
The navigation bar, entry 'Beaties', shoud not give al 7 entries.
The folder tree is showing all the subalbums and not 3.

Both settings seems to bee not working the right way?

Chris
jGromit

Posts: 7,792
Registered: 31-Jan-2006
Re: folder tree tiers
Posted: 22-Feb-2020 18:28   in response to: christr in response to: christr
 
  Click to reply to this thread Reply
OK, the navigation bar first. You want to see just Beauties, Ontkleed, and Series, correct? So under Photoblogger > Header > Top bar > Top navigation > Depth, and choose 1.

Now, the folder tree on the left. Again, you want to see just Beauties, Ontkleed, and Series, correct? Go to Photoblogger > Site > Custom code > CSS, and enter this:
#folder-tree .folder-tree > ul ul { display: none; }
Note that there are only 2 ul's there, not three.
jGromit

Posts: 7,792
Registered: 31-Jan-2006
Re: folder tree tiers
Posted: 22-Feb-2020 18:49   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Attachment onelevel.png (666.7 KB)
And using your album structure (with my own stock images), I get what you see in this screenshot.
Laza

Posts: 2,300
Registered: 6-Sep-2005
Re: folder tree tiers
Posted: 22-Feb-2020 19:21   in response to: christr in response to: christr
 
  Click to reply to this thread Reply
I see, you only want 3 subfolders to appear even though you have 7. There's no such option, naturally. This might work though.
#folder-tree .folder-tree > ul ul li:nth-child(n-3)  { display: none; }
christr

Posts: 51
Registered: 26-May-2012
Re: folder tree tiers
Posted: 22-Feb-2020 19:34   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
I am so sorry, Mr jGromit!
You are working that hard on saturday and I think I did not explain my problem properly.
So again: I am sory.

1. Iike the navigation bar to give me the depth I choise: the generation proces did not do that. The full depth I like in this case is: 6.
NB. I send you the attachmant with a depth of 3, only to see the generation is not working as I aspect.

2. I like the folder tree to give a depth of 3.
The CSS addition "ul ul ul" shout do so, but not in my album.
NB. I send you the attachmant with "ul ul" but the generation produced 'custom3.png'.

I am not in a hurry, take your time and enjoy your weekend!
The next update of my website is sceduled for the first of next month.
And... some times I'm late.

Chris
christr

Posts: 51
Registered: 26-May-2012
Re: folder tree tiers
Posted: 22-Feb-2020 19:48   in response to: christr in response to: christr
 
  Click to reply to this thread Reply
Hi, Mr Laza!
The result is not as aspected. Please check this out:
https://www.imagixs.net/portret/

Chris
jGromit

Posts: 7,792
Registered: 31-Jan-2006
Re: folder tree tiers
Posted: 22-Feb-2020 20:51   in response to: christr in response to: christr
 
  Click to reply to this thread Reply
The "depth" on the navigation bar is not how many folders it will show. It's how many levels (layers, tiers) of folders it will show.

If you choose 1, it will show you one level of folders - Beauties, Ontkleed, and Series. Those are all one step below the top - they are all "level 1" folders.

If you choose 2, it will show you two levels of folders. The next level down are the "level 2" folders - Selekties, The Anke Session Cool Click, The Bobby Sessions, The Nadja Sessions, The M and P Session, Belle, Curly, Arty, Old Class, The Mirjam Session, Nudes, Females serie, No Face serie, Verwarde vrouw - impressie. Those are all two steps down from the top.

Your project doesn't have anything deeper than level 1 and level 2. There is no level 3 - 6.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums