[ixpmanager] Accessing Documentation drop-down for user level 0
Paul Emmons
paul at ninja-ix.net
Fri Jan 15 21:49:50 GMT 2021
Thanks - a bit more testing and still not working.
From the skinned /layouts/header-documentation.foil.php:
<a class="dropdown-item" href="<?= route( 'public-content', [
'priv' == 0, 'page' => 'gen-optics' ] ) ?>">Optical Specifications Page</a>
- still doesn't allow the documentation dropdown to appear
and
<a class="dropdown-item" href="<?= route( 'public-content', [ 'priv'
== 3, 'page' => 'example' ] ) ?>">Example Page</a>
- with the "example" content moved to /content/3 still shows and is
accessible from the customer (priv=1 and customer-admin(priv=2) dropdown.
I also tried it with the " 'priv' =>00" example from the inex skin
shipped with the distro.
~P
On 1/15/2021 1:56 AM, Barry O'Donovan wrote:
> Hi Paul,
>
> I think this is what you're looking for:
>
> https://docs.ixpmanager.org/features/static-content/
>
> That whole page is relevant and also the 'Documentation Menu' section
> at the end of it.
>
> Hope that helps,
>
> - Barry
>
>
> Paul Emmons wrote on 15/01/2021 05:09:
>> I could have sworn we had something like this working before way back
>> . . .
>>
>> There is certain public documentation that we want accessible for
>> anyone. It is in the
>> /srv/ixpmanager/resources/skins/someIXP/content/0 directory. Let's
>> say its called optic-specs and it is correctly referenced in the
>> header-documentation.foil.php. It is accessible by a logged in user.
>>
>> Did I miss something in the upgrade?
>>
>> Thanks!
>>
>
>
--
~ Paul Emmons
Executive Director
+1 480 265-2525 cell
More information about the ixpmanager
mailing list