Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
1847 Visualizzazioni

How to limit content of a website page to public user?


Avatar
Abbandona
Autore Risposta migliore

If you want to limit content of a website page to public user you can use t-if="user_id._is_public()"


As an example:


If user is logged in, he sees "Welcome!"

If user is not logged in, he sees "You are not logged in!"
Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
mar 24
3729