Thx for your help, i really appreciate it!
Marius Dumitru Florea wrote:
>
> AlonsoIR wrote:
>> Hi Mr Mortagne, thx for reply.
>>
>>
>>
>> There is several issues in your content:
>> * all you put in your page content will ends up inside a <div> unless
>> you are specifically using ?xpage=plain so you cant use <body> here
>>
>> Ok, body tags wipe out!
>>
>> * by default {{html}} is supposed to contains valid html, <li> never
>> closed is not valid, if you want to start <li> in an html block and
>> close it in another html block you have to use {{html clean="false"}}
>> (i guess that's your main issue here)
>>
>> If i put this into the code, dont work, now it renders like plain text
>> instead of a link.
>
> See http://code.xwiki.org/xwiki/bin/view/Macros/HTMLMacro .
>
>>
>> [CODE]
>>
>> {{velocity}}
>> $xwiki.ssfx.use("/portal/site/css/estilo.css")
>> {{/velocity}}
>>
>
>> {{html}}
> change this to
>
> {{html wiki="true"}}
>
>>
>> <!--inicio menu-->
>>
>> <div id="menu">
>> <ul>
>> <li>
>
>> {{html clean="false"}}
> drop this
>
>> [[Introduccion>>Main.Introduccion]]
>
>> {{/html}}
> drop this too.
>
> and make sure you escape any XWiki 2.0 special symbols that you don't
> want to be interpreted. See
> http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HEscapes
>
> Hope this helps,
> Marius
>
>>
>> </li>
>> <li> # Guía Rápida </li>
>> <li> # Objetivos </li>
>> <li> # Descripción </li>
>> <li> # Noticias </li>
>> <li> # RSS </li>
>> </ul>
>> </div>
>>
>> <div id="contenido">
>>
>>
>>
>> <div id="columleft">
>>
>>
>>
>> <div id="imgport">
>>
>> <h2>MADES (Marco de Desarrollo y Mantenimiento de Aplicaciones)</h2>
>>
>> <p>es una referencia para los actores implicados en el desarrollo de
>> aplicaciones software en el ámbito de la Consejería de Sanidad y
>> Dependencia
>> de la Junta de Extremadura. Ofrece un punto de partida para el uso de
>> tecnologías probadas bajo directrices que marcan criterios de calidad y
>> homogeneización en los desarrollos y proponiendo un marco metodológico en
>> la
>> operativa de los proyectos.</p>
>>
>> <p class="right"> # >> leer más </p>
>>
>>
>>
>> </div>
>>
>> <div id="accesosport">
>>
>> <div class="cajaacceso1">
>>
>> <h3>Arquitectura MADES</h3>
>>
>> <h4>Marco Tecnológico</h4>
>>
>> <ul>
>>
>> <li> # Infraestructura </li>
>>
>> <li> # Librerías </li>
>>
>> <li> # Área de entrega </li>
>>
>> <li> # Criterios de Desarrollo </li>
>>
>> </ul>
>>
>>
>>
>>
>>
>> </div>
>>
>> <div class="cajaacceso2">
>>
>> <h3>Políticas y procedimientos</h3>
>>
>> <h4>Marco Metodológico</h4>
>>
>> <ul>
>>
>> <li> # Metodología </li>
>>
>> <li> # Plantillas de documentación </li>
>>
>> <li> # Material de referencia </li>
>>
>> </ul>
>>
>> </div>
>>
>>
>>
>> </div>
>>
>>
>>
>> </div>
>>
>>
>>
>> <div id="columright">
>>
>>
>>
>> <div id="zonadescarga">
>>
>>
>>
>> <h3>Zona de descargas</h3>
>>
>> <ul>
>>
>> <li class="vin1"> # Entorno de Desarrollo </li>
>>
>> <li class="vin1"> # Plantillas de Documentación </li>
>>
>> <li class="vin1"> # Manuales </li>
>>
>> <li class="vin1"> # Ejemplos </li>
>>
>> <li class="vin1"> # Guía rápida a MADES </li>
>>
>> <li class="vin2"> # Proyecto Piloto
>>
>> <ul><li> # Repositorio de Código Fuente </li></ul>
>>
>> </li>
>>
>> <li class="vin1"> # Bibliografía </li>
>>
>> <li class="vin1"> # Herramienta de Verificación </li>
>>
>> <li class="vin1"> # Actualización de reglas </li>
>>
>> </ul>
>>
>>
>>
>>
>>
>> </div>
>>
>>
>>
>> <div id="gestionproyecto">
>>
>>
>>
>> <h3>Gestión de Proyectos</h3>
>>
>>
>>
>> <div class="centrar">
>>
>> <div class="formulario">
>>
>> <form method="post" action="#"><br />
>>
>>
>>
>> <label for="usuario" title="usuario">Usuario</label>
>>
>> <input id="usuario" value="usuario" size="12" >
>>
>>
>>
>> <br/>
>>
>>
>>
>> <label for="login" title="login">Login</label>
>>
>> <input id="login" value="login" size="12" >
>>
>> <input type="submit" name="Enviar" id="Enviar" value="Enviar"
>> class="boton" alt="Enviar" title= "Enviar">
>>
>>
>>
>> <br />
>>
>>
>>
>> </form>
>>
>> </div>
>>
>>
>>
>>
>>
>> </div>
>>
>>
>>
>> </div>
>>
>>
>>
>>
>>
>>
>>
>> </div>
>>
>>
>>
>>
>>
>> </div>
>>
>>
>>
>> <!--INICIO PIE PÁGINA-->
>>
>>
>>
>> <div id="pie"><p>(c) Junta de Extremadura 2009</p></div>
>>
>>
>>
>>
>> {{/html}}
>>
>> [/CODE]
>>
>> Why don't you use wiki syntax instead of html ? It would be much easier
>> IMO
>>
>> The main reason is that i m part of the team, design team has make the
>> html
>> and css files, so i have to integrate it into xwiki.
>>
>> Could you help me a bit more?
>>
>> regards
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>
>
--
View this message in context:
http://n2.nabble.com/Problem-creating-a-link-to-a-page-with-custom-css-NEWBEE-tp4174746p4180243.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users