[Dspace-tech] Why xmlui.user.loginredirect= does not work?

2011-07-14 Thread Shaw Yu
Hi,

We want to change the login hyperlink so after users login, they can be 
directed to /submissions (or better, to /mydspace. But /mydspace does 
not seem to be available in version 1.7 anymore) . After much struggle, 
I finally found 'xmlui.user.loginredirect=' in dspace.cfg. However, it 
does not seem to be working. After I made the change and re-start tomcat 
after that, nothing actually happened.

Why it does not work? Is there any other way that we can make the change 
to redirect users besides using 'xmlui.user.loginredirect='? We have 
Dspace 1.7 using xmlui.


Any help appreciated and thanks in advance.

Shaw Yu
Systems Librarian
Virginia Commonwealth University Libraries


--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Why xmlui.user.loginredirect= does not work?

2011-07-14 Thread Verdonck Christof




Dear


I tried what you said, and it works fine for me!

In /repos/dspace.cfg, I changed
#xmlui.user.loginredirect=/profile

one time with

xmlui.user.loginredirect=/submissions == works fine!


and another time

xmlui.user.loginredirect=/submit   == works fine!


I want to stress out that I didn't change anything else.
Did you change the right dspace.cfg?


Yours Sincerely



Christof Verdonck



Shaw Yu wrote:

  Hi,

We want to change the login hyperlink so after users login, they can be 
directed to "/submissions" (or better, to /mydspace. But /mydspace does 
not seem to be available in version 1.7 anymore) . After much struggle, 
I finally found 'xmlui.user.loginredirect=' in dspace.cfg. However, it 
does not seem to be working. After I made the change and re-start tomcat 
after that, nothing actually happened.

Why it does not work? Is there any other way that we can make the change 
to redirect users besides using 'xmlui.user.loginredirect='? We have 
Dspace 1.7 using xmlui.


Any help appreciated and thanks in advance.

Shaw Yu
Systems Librarian
Virginia Commonwealth University Libraries


--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
  





--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Why xmlui.user.loginredirect= does not work?

2011-07-14 Thread Shaw Yu
Thanks Peter and Christof.

Yes, I think that's the right dspace.cfg file that I edited.

The only thing that I can think of is that we use LDAP login instead of 
the basic password login. I now guess that's the problem. Does anybody 
know how to make it work using LDAP login?

Thanks.

Peter Dietz wrote:

 Hello Shaw,

 The login redirect works fine for our system, and for many that I'm 
 aware of.
 Are you sure you're changing the right dspace.cfg?

 The right file to edit is [dspace]/config/dspace.cfg, where [dspace] 
 is typically /dspace, or C:/dspace


 Be sure to try various values for loginredirect too just to test that 
 it is working, and make sure its not commented out by having a # 
 before the line.
 xmlui.user.loginredirect=/submissions
 xmlui.user.loginredirect=/profile
 xmlui.user.loginredirect=/
 xmlui.user.loginredirect=/submit


 I don't know if this will help solve anything, but are you logging in 
 using the basic password login, or through shibboleth?




 Peter Dietz



 On Thu, Jul 14, 2011 at 10:18 AM, Shaw Yu x...@vcu.edu 
 mailto:x...@vcu.edu wrote:

 Hi,

 We want to change the login hyperlink so after users login, they
 can be
 directed to /submissions (or better, to /mydspace. But /mydspace
 does
 not seem to be available in version 1.7 anymore) . After much
 struggle,
 I finally found 'xmlui.user.loginredirect=' in dspace.cfg. However, it
 does not seem to be working. After I made the change and re-start
 tomcat
 after that, nothing actually happened.

 Why it does not work? Is there any other way that we can make the
 change
 to redirect users besides using 'xmlui.user.loginredirect='? We have
 Dspace 1.7 using xmlui.


 Any help appreciated and thanks in advance.

 Shaw Yu
 Systems Librarian
 Virginia Commonwealth University Libraries


 
 --
 AppSumo Presents a FREE Video for the SourceForge Community by Eric
 Ries, the creator of the Lean Startup Methodology on Lean Startup
 Secrets Revealed. This video shows you how to validate your ideas,
 optimize your ideas and identify your business strategy.
 http://p.sf.net/sfu/appsumosfdev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 mailto:DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




--
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on Lean Startup 
Secrets Revealed. This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech