[xwiki-users] PLS HELP! wich is the best way to adapt a look and feel made in html, css to velocity?
hi everybody, i have a problem and less time. Tomorrow i have to release a xwiki portal with a custom look and feel. Its made with html and css and i dont know nothing at all about velocity. In your opinion, which is the best strategy to confront the problem. Regards! -- View this message in context: http://n2.nabble.com/PLS-HELP-wich-is-the-best-way-to-adapt-a-look-and-feel-... Sent from the XWiki- Users mailing list archive at Nabble.com.
There is information about how to include and reference external css sheets in the tables section of the XWikiSyntax page: http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HTables Also you can add raw html to a XWiki syntax/2.0 page using the html macro see: http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HHTML Velocity is not a requirement, just a feature :) Caleb James DeLisle AlonsoIR wrote:
hi everybody,
i have a problem and less time. Tomorrow i have to release a xwiki portal with a custom look and feel. Its made with html and css and i dont know nothing at all about velocity.
In your opinion, which is the best strategy to confront the problem.
Regards!
Hi Caleb, thx for the help!. I have tried to create a page in xwiki with the raw html, previously i have copied my css file in /usr/share/tomcat5.5/webapps/xwiki/skins/myportal/portal/css/estilo.css and i have all jpgs files in /usr/share/tomcat5.5/webapps/xwiki/skins/myportal/portal/imgs/ the code of the page is like this: {{velocity}} $xwiki.ssfx.use("mades/portal/site/css/estilo.css") {{/velocity}} {{html}} <body> <!--INICIO CABECERA--> <div id="cabecera"> <div class="logo"><h1 class="oculto">MADES, Marco de Desarrollo y Mantenimiento de Aplicaciones</h1></div> <div class="logoextrem"><h1 class="oculto">Junta de Extremadura, Consejería de Sanidad y Dependencia </h1></div> </div> <!--inicio menu--> <div id="menu"><ul><li> # Introducción </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> </body> {{/html}} I think that xwiki does not parser <div> tags? does it? Do i must to do with tables? regards! -- View this message in context: http://n2.nabble.com/PLS-HELP-wich-is-the-best-way-to-adapt-a-look-and-feel-... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Caleb, i already have resolved the issue. It was a problem with the paths. I have changed this {{velocity}} $xwiki.ssfx.use("/mades/portal/site/css/estilo.css") {{/velocity}} with this {{velocity}} $xwiki.ssfx.use("/portal/site/css/estilo.css") {{/velocity}} where the skins path is like this: /usr/share/tomcat5.5/webapps/xwiki/skins/mades/portal/site/css and /usr/share/tomcat5.5/webapps/xwiki/skins/mades/portal/site/imgs thx for the help Regards! AlonsoIR wrote:
hi everybody,
i have a problem and less time. Tomorrow i have to release a xwiki portal with a custom look and feel. Its made with html and css and i dont know nothing at all about velocity.
In your opinion, which is the best strategy to confront the problem.
Regards!
-- View this message in context: http://n2.nabble.com/PLS-HELP-wich-is-the-best-way-to-adapt-a-look-and-feel-... Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (2)
-
AlonsoIR -
Caleb James DeLisle