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


Permlink Replies: 13 - Pages: 1 - Last Post: 25-Feb-2020 10:43 Last Post By: hanso Threads: [ Previous | Next ]
hanso

Posts: 76
Registered: 16-Apr-2008
Bug Folders drop down , arrow on top in subfpoints to non-existing location
Posted: 05-Jan-2020 17:02
 
  Click to reply to this thread Reply
Using folders gives a folder dropdown on the left top to navigate the folder structure. Works fine.

But when in a subfolder an upward pointing arrow appears on top of the folder list and clicking on it leads to a non-existing location, not what it suggests: one level up.
jGromit

Posts: 6,780
Registered: 31-Jan-2006
Re: Bug Folders drop down , arrow on top in subfpoints to non-existing location
Posted: 05-Jan-2020 17:05   in response to: hanso in response to: hanso
 
  Click to reply to this thread Reply
Link?
hanso

Posts: 76
Registered: 16-Apr-2008
Re: Bug Folders drop down , arrow on top in subfpoints to non-existing location
Posted: 05-Jan-2020 19:25   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
jGromit

Posts: 6,780
Registered: 31-Jan-2006
Re: Bug Folders drop down , arrow on top in subfpoints to non-existing location
Posted: 05-Jan-2020 19:57   in response to: hanso in response to: hanso
 
  Click to reply to this thread Reply
Yes, it looks like it's trying to go two levels up, instead of one, and there is no "two levels up" to go to.

Oddly, if you check Lucid > Control bar > Navigation > Show "Up" button, it works properly.

Laza will need to address this.

(In future, please make sure you include the lifeboat.zip file in your upload. Without this, debugging is much more difficult, since we have to guess at the settings you've used.)
cdowney4

Posts: 4
Registered: 6-Jul-2008
Re: Bug Folders drop down , arrow on top in subfpoints to non-existing location
Posted: 26-Jan-2020 15:35   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
If you edit both the "controls.inc" and "panels.inc" skin files as follows, it should work:

controls.inc, line 35:
'<a class="icon-up-one-level-light btn" href="' + '../' + indexName + '"><span>' + getText('back') + '</span></a>'


panels.inc, line 22:
((!showUpButton && (level || pageType === 'page'))? ('<a class="icon-up-one-level smallbtn" href="' + '../' + indexName + '"></a>') : '') +


Edited by: Laza on 27-Jan-2020 08:58
Code block formatting
Laza

Posts: 2,362
Registered: 6-Sep-2005
Re: Bug Folders drop down , arrow on top in subfpoints to non-existing location
Posted: 27-Jan-2020 09:18   in response to: cdowney4 in response to: cdowney4
 
  Click to reply to this thread Reply
I have already fixed this in Version 1.1. Your solution will not work on custom pages.
hanso

Posts: 76
Registered: 16-Apr-2008
Re: Bug Folders drop down , arrow on top in subfpoints to non-existing location
Posted: 18-Feb-2020 15:39   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
When will you release 1.1?
Laza

Posts: 2,362
Registered: 6-Sep-2005
Re: Bug Folders drop down , arrow on top in subfpoints to non-existing location
Posted: 18-Feb-2020 18:45   in response to: hanso in response to: hanso
 
  Click to reply to this thread Reply
I have uploaded it now. I can't remember why I haven't released it earlier... Can you please test if everything works?
hanso

Posts: 76
Registered: 16-Apr-2008
Re: Bug Folders drop down , arrow on top in subfpoints to non-existing location
Posted: 19-Feb-2020 18:50   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Thanks!

The up arrow is allright, bug fixed.

Still no way to get rid of image count on folders (besides editing the resulting html ...).

Edited by: hanso on 19-Feb-2020 18:50
jGromit

Posts: 6,780
Registered: 31-Jan-2006
Re: Bug Folders drop down , arrow on top in subfpoints to non-existing location
Posted: 19-Feb-2020 18:59   in response to: hanso in response to: hanso
Helpful
  Click to reply to this thread Reply
hanso wrote:
Still no way to get rid of image count on folders....

A little quick custom CSS can take care of that:
#folders .folders .card .caption .counts {display: none;}
hanso

Posts: 76
Registered: 16-Apr-2008
Re: Bug Folders drop down , arrow on top in subfpoints to non-existing location
Posted: 20-Feb-2020 10:53   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Thanks jGromit, I should have posted this solution, this is how I did it. It is in user.css.
Laza

Posts: 2,362
Registered: 6-Sep-2005
Re: Bug Folders drop down , arrow on top in subfpoints to non-existing location
Posted: 20-Feb-2020 15:13   in response to: hanso in response to: hanso
 
  Click to reply to this thread Reply
You don't have to edit the skin files, just add the same code to the "Settings / Lucid / Site / CSS" box.
jGromit

Posts: 6,780
Registered: 31-Jan-2006
Re: Bug Folders drop down , arrow on top in subfpoints to non-existing location
Posted: 20-Feb-2020 15:31   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Yes. Editing skin template files is almost always the wrong thing to do. A skin update then wipes out your changes. Plug it into the project settings, and it survives skin updates.
hanso

Posts: 76
Registered: 16-Apr-2008
Re: Bug Folders drop down , arrow on top in subfpoints to non-existing location
Posted: 25-Feb-2020 10:43   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Yes, I just mentioned it that I found the CSS I wanted to adapt in that css file, I did add it in the project settings. Works fine that way!
Legend
Forum admins
Helpful Answer
Correct Answer

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