Hi Helix, 

Maybe  I am putting the code in wrong position but in the correct file 
"Mirage.xsl", I have put code using step 1 on the middle and on the bottom
On, step 4 I have replaced words "View full website" with  
"wiredspace.wits.ac.za", I have not done step 5 as I am still keeping the 
mobile prefix, and I have done step 6 without errors but I can't access the 
mobile.wiredspace.wits.ac.za 

  Below is copy of  Mirage.xsl with code pasted I am just putting the whole 
file so it can be clear where am I doing it wrong 

<?xml version="1.0" encoding="UTF-8"?>
<!--

    The contents of this file are subject to the license and copyright
    detailed in the LICENSE and NOTICE files at the root of the source
    tree and available online at

    http://www.dspace.org/license/

-->
<!--
    TODO: Describe this XSL file
    Author: Alexey Maslov

-->



<xsl:stylesheet xmlns:i18n="http://apache.org/cocoon/i18n/2.1";
        xmlns:dri="http://di.tamu.edu/DRI/1.0/";
        xmlns:mets="http://www.loc.gov/METS/";
        xmlns:xlink="http://www.w3.org/TR/xlink/";
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0"
        xmlns:dim="http://www.dspace.org/xmlns/dspace/dim";
        xmlns:xhtml="http://www.w3.org/1999/xhtml";
        xmlns:mods="http://www.loc.gov/mods/v3";
        xmlns:dc="http://purl.org/dc/elements/1.1/";
        xmlns="http://www.w3.org/1999/xhtml";
        exclude-result-prefixes="i18n dri mets xlink xsl dim xhtml mods dc">

<script type="text/javascript" 
src="/themes/mobile/lib/detectmobile.js">&#160;</script>          
<script type="text/javascript" 
src="/themes/mobile/lib/cookies.js">&#160;</script> 


    <xsl:import href="../dri2xhtml-alt/dri2xhtml.xsl"/>
    <xsl:import href="lib/xsl/core/global-variables.xsl"/>
    <xsl:import href="lib/xsl/core/page-structure.xsl"/>
    <xsl:import href="lib/xsl/core/navigation.xsl"/>
    <xsl:import href="lib/xsl/core/elements.xsl"/>
    <xsl:import href="lib/xsl/core/forms.xsl"/>
    <xsl:import href="lib/xsl/core/attribute-handlers.xsl"/>
    <xsl:import href="lib/xsl/core/utils.xsl"/>
    <xsl:import href="lib/xsl/aspect/general/choice-authority-control.xsl"/>
    <xsl:import href="lib/xsl/aspect/administrative/administrative.xsl"/>
    <xsl:import href="lib/xsl/aspect/artifactbrowser/item-list.xsl"/>
    <xsl:import href="lib/xsl/aspect/artifactbrowser/item-view.xsl"/>
    <xsl:import href="lib/xsl/aspect/artifactbrowser/community-list.xsl"/>
    <xsl:import href="lib/xsl/aspect/artifactbrowser/collection-list.xsl"/>
    <xsl:import href="../ReportingSuite/statistics.xsl"/>
    <xsl:output indent="yes"/>
    
<a href="#" 
onclick="eraseCookie('viewfull');window.location='http://mobile.yoursite.edu';">
    View mobile site</a>

</xsl:stylesheet>



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