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

------------------------------------------------------------------------------
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

Reply via email to