Dear Helix, Thanks and I discovered many errors on my side really, it is true I don’t have domain mobile.wiredspace.wits.ac.za registered yet, I will have to ask for its registration now. Hope to come with positive feedback. Thanks a lot. Lewatle
-----Original Message----- From: helix84 [mailto:heli...@centrum.sk] Sent: 12 June 2013 12:17 AM To: Lewatle Phaladi Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Mobile theme on DSpace 1.8.2 Hi Lewatle, no, this is not how you modify an .xsl stylesheet. You can't just put HTML tags anywhere. They're allowed only within an xsl:template tag, which has to match something meaningful. This is a big topic which you might not want to get into right now, but when you do, you can start here [1]. To add the links to HTML header in the Mirage theme, you have to copy the whole <xsl:template name="buildHead"> [2] until </xsl:template> and put it into your .xsl just above </xsl:stylesheet>. Then add XSL to generate the two script tags, look at this as an example: [3] However, that code is for autodetection. You should be able to see your mobile theme by typing your mobile.wiredspace.wits.ac.za directly if you did the other steps correctly. But I see there's no DNS record assigned with mobile.wiredspace.wits.ac.za yet, so you haven't done step 0 yet. You may need to contact your DNS administrator or domain registrar to do that for you. Also please note, that the subdomain currently *must* be called "mobile.", anything else will not work. [1] https://wiki.duraspace.org/display/DSPACE/Manakin+theme+tutorial [2] https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/core/page-structure.xsl#L129 [3] https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-xmlui/src/main/webapp/themes/Mirage/lib/xsl/core/page-structure.xsl#L276 [4] http://mobile.demo.dspace.org/xmlui/ Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette <table width="100%" border="0" cellspacing="0" cellpadding="0" style="width:100%;"> <tr> <td align="left" style="text-align:justify;"><font face="arial,sans-serif" size="1" color="#999999"><span style="font-size:11px;">This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorised signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary. </span></font></td> </tr> </table ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette