Loading...
 
Features / Usability

Features / Usability


How do I change error message?

posts: 67 United States
I want to add a call to register on error pages for those not logged in. Which template is this done in?
posts: 67 United States

> > I want to add a call to register on error pages for those not logged in. Which template is this done in?
>
> error.tpl
>
> HTH,
>
> -Rick
> Now Available: TikiWiki for Dummies Smarties — A beginner's guide to using ))TikiWiki((.
> Coming soon: TikiWiki for Smarties

posts: 67 United States
> > Strange thing is I did edit that template and it didn't show up. I must have put it in the wrong spot.
posts: 3665 United States

> > > Strange thing is I did edit that template and it didn't show up. I must have put it in the wrong spot.

Did you clear your browser and Tiki template cache?

I would place it directly after the {$msg} statement. And you probably will want to use an IF statement to make sure it appears only for non-logged in visitors.

Maybe something like:

Copy to clipboard
{$msg} < p>Please < a href="tiki-register.php">register< /a> for full access to this site.< /p>


HTH,

-Rick
Now Available: TikiWiki for Dummies Smarties — A beginner's guide to using ))TikiWiki((.
TikiWiki for Smarties