How to add recent submission rss feed and multi column footer in Dspace

273 views
Skip to first unread message

Arpan Paramanik

unread,
Jan 5, 2017, 5:59:26 AM1/5/17
to DSpace Technical Support
Hello,
I want to add a recent submission rss feed and multi columns in footer section like this link: http://jadunivdspace.jdvu.ac.in/

Please help me to doing this. I am attaching some screen shots for better understand.


Regards,
Arpan Paramanik
1.png
2.png

Bollini Andrea

unread,
Jan 5, 2017, 6:37:28 AM1/5/17
to Arpan Paramanik, DSpace Technical Support

Hi,

for the multi columns you need to modify the /dspace-jspui/src/main/webapp/layout/footer-default.jsp file similar to what we have done by default in DSpace-CRIS

https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace-jspui/src/main/webapp/layout/footer-default.jsp

to include a dynamic component like the recent submission carousel in the footer you need to be sure to have such data available in the request for any page that need to include such information.

You can take a look to the code used here to get the recent submission when you are in a collection home page,
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-jspui/src/main/webapp/collection-home.jsp#L52
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-jspui/src/main/webapp/collection-home.jsp#L367

for the site home page the same information is available under a different name see
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-jspui/src/main/webapp/home.jsp#L58

obviously you don't have by default such information when you are browsing or searching, if you need it you need to customize the java code to inject such information in the view (it could be a servlet filter).

Hope this help,
Andrea
--
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To post to this group, send email to dspac...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

-- 
Andrea Bollini
Chief Technology and Innovation Officer

4Science,  www.4science.it
office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
mobile: +39 333 934 1808
skype: a.bollini
linkedin: andreabollini
orcid: 0000-0002-9029-1854

an Itway Group Company
Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates

Arpan Paramanik

unread,
Jan 5, 2017, 10:17:56 AM1/5/17
to DSpace Technical Support, nevaeh...@gmail.com, Andrea....@4science.it
Thank you.
I have done the multiple footer part, but unable to add that recent submission rss feed slider.
Reply all
Reply to author
Forward
0 new messages