1) The first page can be found in the following path:
"{your_jspui_webapp_path}/home.jsp". However, if you want to edit the very top
message you need to do it in the file
"{your_dspace_install_path}/config/news-top.html" and if you want to edit the
text in the right sidebar you need to do it in the file
"{your_dspace_install_path}/config/news-side.html"
2) Take a look on this older thread:
http://sourceforge.net/mailarchive/message.php?msg_id=29268918
Regards,
Kostas
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Wednesday, June 26, 2013 9:20 AM
To: Kostas Stamatis
Cc: dspace-tech
Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui
Yea...got it working now...
Thanks...
Got couple more requirements:
1. Need to edit the home page text (text like below in the home page need to be
edited):
"DSpace is Live
Welcome to our digital repository of My University research!
More exciting news to appear here."
Which file need to be edited for this?
2. Need to have access restriction for jspui. The journals and articles in
dspace should be accessible without asking for a username/pwd if accessed from
within our campus network.
Ribin Jones S.B
----- Original Message -----
From: "Kostas Stamatis" <[email protected]>
To: "ribin jones" <[email protected]>
Cc: "dspace-tech" <[email protected]>
Sent: Wednesday, 26 June, 2013 11:41:08 AM
Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui
That's not true... feedback link should not normally take you to the user login
page.
This is happening in your installation because the "dspace.hostname" option in
the configuration file (dspace.cfg) is not set properly. It should match the
real hostname that you use to access your DSpace. Otherwise, DSpace thinks this
as an attack and redirects you to login page.
Try to set the dspace.hostname appropriately, reload webapp and test again.
Regards,
Kostas
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Wednesday, June 26, 2013 9:04 AM
To: Kostas Stamatis
Cc: dspace-tech
Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui
The "feedback" link will take us to the user login page which is now irrelevant.
Ribin Jones S.B
Scientist
IT LAB, Knowledge Resource Centre
CSIR - NIIST (National Institute for Interdisciplinary Science and Technology),
Govt. of India Pappanamcode, Thiruvananthapuram - 695019 Kerala, India
www.niist.res.in
Mob: +91 9895226242
----- Original Message -----
From: "Kostas Stamatis" <[email protected]>
To: "ribin jones" <[email protected]>
Cc: "dspace-tech" <[email protected]>
Sent: Wednesday, 26 June, 2013 11:30:35 AM
Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui
I guess that the outside users can contact admin via the feedback form
http://{your_hostname}/dspace/feedback - a link that appears in the footer of
your DSpace webpages. You have to set the feedback recipient from the dspace
config file ({your_dspace_install_path}/config/dspace.cfg) and the
"feedback.recipient" option.
Regards,
Kostas
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Wednesday, June 26, 2013 8:21 AM
To: Kostas Stamatis
Cc: dspace-tech
Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui
Hi,
I commented out the below line and it worked:
<p><strong><a href="<%= request.getContextPath() %>/register"><fmt:message
key="jsp.components.login-form.newuser"/></a></strong></p>
This was actually line no. 52 for me.
Now, what can be done so that a user can contact the dspace admin?
Ribin Jones S.B
----- Original Message -----
From: "ribin jones" <[email protected]>
To: "Kostas Stamatis" <[email protected]>
Cc: "dspace-tech" <[email protected]>
Sent: Wednesday, 26 June, 2013 10:42:37 AM
Subject: Re: [Dspace-tech] Lock down user regn. in dspace jspui
Hi,
My /home/dspace/webapps/jspui/components/login-form.jsp file has 74 lines of
which 21st line is already commented out which is a part of copyright
instructions.
One more thing I need is that new users need not be registered..meanwhile
outside users should have a provision to contact the Dspace admin.
Ribin Jones S.B
----- Original Message -----
From: "Kostas Stamatis" <[email protected]>
To: "ribin jones" <[email protected]>, "dspace-tech"
<[email protected]>
Sent: Wednesday, 26 June, 2013 10:27:43 AM
Subject: RE: [Dspace-tech] Lock down user regn. in dspace jspui
Dear Ribin,
What you need to do is the following:
1) Go to file: {your_jspui_webapp_path}/WEB-INF/web.xml
2) Add the following lines (around line 73 - in the filter mapping section):
<filter-mapping>
<filter-name>admin-only</filter-name>
<url-pattern>/register</url-pattern>
</filter-mapping>
This tells DSpace that the /register URL will be protected and only admin can
have access.
3) Reload webapp
I guess that you might want to remove the link to the registration page as
well. For this:
1) Go to file: {your_jspui_webapp_path}/components/login-form.jsp
2) Comment out line 21 which prints the link to the register servlet
Best regards
Kostas
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Wednesday, June 26, 2013 7:39 AM
To: dspace-tech
Subject: [Dspace-tech] Lock down user regn. in dspace jspui
Hi all,
We want a closed user-community for DSpace, where the DSpace admin will be
creating user accounts and distributing them to users.
So, under JSPUI, how does one lock down User Registration so that only the
admin can create user accounts?
Under XMLUI, it looks like there's the following configuration:
xmlui.user.registration false
However, I haven't found an equivalent configuration under JSPUI.
Please let me know how we can lock down user registration in jspui.
Thanks again for your time.
Ribin Jones S.B
----------------------------------------------------------------------------
--
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette:
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette