Hello. I am trying to do something I would think to be easy. I want the news page to show up as my main page, and then have to go to upload.html to upload something. I tried changing to htaccess document to something for specific, but the other variables got mixed up. Could you please tell me how to change the index page to the news page and allow uploads to be accessed by upload.html. Actually I just added a rewrite line into the htaccess and had it point to the index.cgi file. That has solved the problem for the upload page, I just need it now for the index page to show the news and not the upload bar.
Thanks
XFileSharing Pro - Help with Main Index Page
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
In index.cgi find
and replace
with
Code: Select all
if($sub && $ses->getUser)
{
&$sub;
}
else
{
&UploadForm;
}
Code: Select all
&UploadForm;
Code: Select all
&News;
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm