locked page

bonjour
is ther possible to add a icone before a locked page in printPageMenu() (parameters or hard coded)
thanks
rb

Comments

  • acrylian Administrator, Developer
    With "locked" do you mean the "locked for changes" option? That is backend only and has no meaning on the front end at all. But no, there is not.

    Or do you mean a password protected page? No, but why would you need that exactly? Actually password protected pages should not be shown in the menu unless you are loggedin with the right to see them.

    You would have to create your own custom version of the base menu function `printNestedMenu()` which is a quite complex one. Never modify the original.
  • thank for this fast answer

    `Or do you mean a password protected page? No, but why would you need that exactly? Actually password protected pages should not be shown in the menu unless you are loggedin with the right to see them.`

    only for inform the visitor that the page need a password for showing it.

    actually, in my version (1.4.6 last release before the upgrade), the pages with password appear with the printPageMenu() function.

    I will see for create my own function

    rb
  • acrylian Administrator, Developer
    actually, in my version (1.4.6 last release before the upgrade), the pages with password appear with the printPageMenu() function.
    You are right, my fault testing sideways… The page I tested with quickly was unpublished accidentally. Indeed they do. Is unpublishing maybe an easier option for your? People still could access them by direct link then and users with full or pages rights should see these if being loggedin.

    Btw, you could open a ticket on GitHub suggesting this, so we may add this as an option in one of the next releases.
  • `Is unpublishing maybe an easier option for your?`
    not really, print the link is better for the production, an informative icone before the link would just be friendly
    The ticket is on gitHub (i wish there is understandable)
    rb
Sign In or Register to comment.