| View previous topic :: View next topic |
| Author |
Message |
krazyloads
Joined: 05 Oct 2010 Posts: 27
|
Posted: Dec 18, 2010 10:38 am Post subject: [Help] change the page after login |
|
|
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. |
|
| Back to top |
|
 |
ankurs
Joined: 10 Mar 2009 Posts: 604
|
Posted: Dec 18, 2010 10:42 am Post subject: |
|
|
| by default it takes to my files and not my account |
|
| Back to top |
|
 |
krazyloads
Joined: 05 Oct 2010 Posts: 27
|
Posted: Dec 18, 2010 10:44 am Post subject: |
|
|
| oh yeah. How to change it to something else? |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2106 Location: UFO Lab
|
Posted: Dec 22, 2010 9:36 am Post subject: |
|
|
In index.cgi find line
| Code: | | $ses->redirect( "$c->{site_url}/?op=my_files" ) unless $no_redirect; |
and replace "?op=my_files" to any URL you need. |
|
| Back to top |
|
 |
krazyloads
Joined: 05 Oct 2010 Posts: 27
|
Posted: Dec 22, 2010 2:23 pm Post subject: |
|
|
Thanks  |
|
| Back to top |
|
 |
krazyloads
Joined: 05 Oct 2010 Posts: 27
|
Posted: Dec 22, 2010 2:26 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2106 Location: UFO Lab
|
Posted: Dec 23, 2010 2:48 pm Post subject: |
|
|
Create new page in Templates/pages/english/ folder.
Then access it through site.com/pages/newpage.html |
|
| Back to top |
|
 |
|