Custom access denied message Posted by tchick 15 Feb 2016 21:45 GMT-0000 posts: 3 Hi *, I like to have Tiki redirecting every unregistered access to the login page (as usual), but without the warning message in red, and instead a custom message. Is this possible and how? Regards, Martin.
Posted by Rick Sapir / Tiki for Smarties 16 Feb 2016 14:47 GMT-0000 posts: 3665 Easy. Just use the Send to URL option to send visitors to a custom page (that you can create) with any message you want. You can also add the Login module to the page. HTH, - Rick | My Tiki Blog | My Tiki UserPage Why be a dummy? Get smarty! TikiForSmarties.com Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.
Posted by tchick 16 Feb 2016 20:52 GMT-0000 posts: 3 OK, thank you, I made it work with a wiki page with this content: Hello! Log In Username Password I forgot my password CapsLock is on. Remember me (for 1 week) Log in Register But it doesn't look good: The original login page displays the login form in a small box in the middle of the page. My page has a box that fills the whole width of the page. And the register and forgot password links are in a list with the bullets on the left and the text on the right. How can I fix this? It would be perfect if it looks just like on the original page. thx, Martin.
Posted by Rick Sapir / Tiki for Smarties 16 Feb 2016 21:07 GMT-0000 posts: 3665 You can style the module however you want. Please see the docs for the complete list of available options. Here is a quick sample I created on the Tiki demo site: https://demo.tiki.org/trunk/Private+Page HTH, - Rick | My Tiki Blog | My Tiki UserPage Why be a dummy? Get smarty! TikiForSmarties.com Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.
Posted by tchick 16 Feb 2016 21:29 GMT-0000 posts: 3 Thanks again, Rick. Your demo page looks just like my one should. Could you please paste the wiki markup here, as I couldn see it on the demo site, and I didn't succeeded when playing around with the settings. Regards,
Posted by Rick Sapir / Tiki for Smarties 17 Feb 2016 13:43 GMT-0000 posts: 3665 You can set your custom CSS in the module: Copy to clipboard{module module="login_box" nobox="y" class="myClass"} Then simply style the myClass style as you wish. HTH, - Rick | My Tiki Blog | My Tiki UserPage Why be a dummy? Get smarty! TikiForSmarties.com Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.