XFileSharing Pro - [Help] change the page after login

Powerfull XFileSharing version

Moderator: admin

Message
Author
krazyloads
Posts: 27
Joined: Oct 05, 2010 12:53 pm

[Help] change the page after login

#1 Postby krazyloads » Dec 18, 2010 10:38 am

hi,

How to change the page after login. Eg. When i login it takes me to my account page how to change it to someother page like my files.

Thanks.

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#2 Postby ankurs » Dec 18, 2010 10:42 am

by default it takes to my files and not my account

krazyloads
Posts: 27
Joined: Oct 05, 2010 12:53 pm

#3 Postby krazyloads » Dec 18, 2010 10:44 am

oh yeah. How to change it to something else?

User avatar
PilgrimX182
Posts: 2182
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#4 Postby PilgrimX182 » Dec 22, 2010 9:36 am

In index.cgi find line

Code: Select all

$ses->redirect( "$c->{site_url}/?op=my_files" ) unless $no_redirect;

and replace "?op=my_files" to any URL you need.

krazyloads
Posts: 27
Joined: Oct 05, 2010 12:53 pm

#5 Postby krazyloads » Dec 22, 2010 2:23 pm

Thanks :)

krazyloads
Posts: 27
Joined: Oct 05, 2010 12:53 pm

#6 Postby krazyloads » Dec 22, 2010 2:26 pm

One more question

How to create a new page and place it in Templates folder and access it..

eg: i place a file xyz.html in Templates folder, i cant access it through

domain.com/xyz.html

please help.

User avatar
PilgrimX182
Posts: 2182
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#7 Postby PilgrimX182 » Dec 23, 2010 2:48 pm

Create new page in Templates/pages/english/ folder.
Then access it through site.com/pages/newpage.html


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 0 guests