[pmwiki-users] splash-screen

Américo Albuquerque aalbuquerque at lanowar.sytes.net
Fri May 19 12:12:25 CDT 2006


----- Original Message -----
Subject: Re: [pmwiki-users] splash-screen
Date: Fri, 19 May 2006 11:23:38 -0500
From: "Tegan Dowling"

 > What I think you're telling me doesn't work, so I obviously didn't
 > follow, because I really have no idea what I'm doing. Here's what I
 > did, thinking I was following your instructions:
 >
 > In http://company.com/wiki I have files
 >
 > pmwiki.php
 > index.php
 > logo.jpg
 > .htaccess
 >
 > where index.php contained the single line: I replaced that line with 
the following
 >
 > <a href='http://company.com/wiki/Main/HomePage'>
 > <img
 > src='http://company.com/wiki/logo.jpg' alt='Click to enter'
 > title='Click to enter' /></a> <http://company.com/wiki/Main/HomePage>
That should have worked. What error do you get?

Check your .htaccess to see where the redirect is going. it has to go to 
pmwiki.php and you might have it set to index.php

You can use a index.html also. Just save the following in a 'index.html' 
file:
<html>
 <head>
  <title>whatever tittle you want the splash-screen to have</title>
  <!-- if you don't want a redirect just delete the next line-->
  <meta http-equiv="Refresh" content="5; 
url=http://company.com/wiki/Main/HomePage">
 </head>
 <body>
 <a href='http://company.com/wiki/Main/HomePage'><img 
src='http://company.com/wiki/logo.jpg' alt='Click to enter' title='Click 
to enter' /></a>
 </body>
</html>

If your DirectoryIndex in apache is set properly (should be something 
like 'DirectoryIndex index.html index.html.var index.php', could have 
other files listed there, just make sure that index.html comes before 
index.php) the index.html will be used and you'll get your splash-screen

Regards,
Americo Albuquerque







More information about the pmwiki-users mailing list