XFileSharing Pro - Change the Default / Indexsite?

Powerfull XFileSharing version

Moderator: admin

Message
Author
weiden87
Posts: 8
Joined: Sep 12, 2012 3:16 pm

Change the Default / Indexsite?

#1 Postby weiden87 » Sep 12, 2012 3:19 pm

Hi all,
how can i change the content of the Default / Indexsite?

I would like to change to content of the Startsite and dont want to provide the uploadform there. I would like to load content from the pages folder instead.

The Search did not help me....


Thanks,
Weiden

afdah
Posts: 147
Joined: Jan 27, 2012 2:23 pm

#2 Postby afdah » Sep 13, 2012 5:01 am

you need to look for the below code in index.cgi

Code: Select all

elsif($sub)
{
   $f->{redirect}=$ENV{REQUEST_URI};
   &LoginPage;
}
else
{
   &UploadForm;
}


by default, the index site is the upload form which is called by &UploadForm.
instead of calling &UploadForm, you can make a call to other page.
you also need to make other changes to call &UploadForm as this will not be called by default.

if you do not know perl, i suggest you hire someone who knows as this will be a custom work.

weiden87
Posts: 8
Joined: Sep 12, 2012 3:16 pm

#3 Postby weiden87 » Sep 13, 2012 7:16 am

Thank you very much. Only problem was that i did not found this line.


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 0 guests