Re: [xwiki-users] Problem creating a link to a page with custom css. NEWBEE

2009-12-17 Thread AlonsoIR

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
 
[[IntroduccionMain.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
 
  h2MADES (Marco de Desarrollo y Mantenimiento de Aplicaciones)/h2
 
  pes 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
 
  h3Arquitectura MADES/h3
 
  h4Marco 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
 
  h3Políticas y procedimientos/h3
 
  h4Marco 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
 
 
 
 h3Zona 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 
 
   ulli # 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
 
 
 
  h3Gestión de Proyectos/h3
 
   
 
   div class=centrar
 
   div class=formulario
 
   form method=post action=#br /
 
  
 
 label for=usuario title=usuarioUsuario/label
 
 input id=usuario value=usuario size=12 
 
 
 
 br/
 
 
 
 label for=login title=loginLogin/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=piep(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
 users@xwiki.org
 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
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Problem creating a link to a page with custom css. NEWBEE

2009-12-16 Thread AlonsoIR

hi everybody, i have a problem creating links to an internal page in a page
created with html and css.

this is the code of the page:

{{velocity}}
$xwiki.ssfx.use(/portal/site/css/estilo.css)
{{/velocity}}

{{html}}
body

!--inicio menu--

div id=menu
ul
   li
{{/html}}
IF I DO THIS, THE layout GONE HELL
[[IntroduccionMain.Introduccion]]

{{html}}
# 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

 h2MADES (Marco de Desarrollo y Mantenimiento de Aplicaciones)/h2

 pes 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

 h3Arquitectura MADES/h3

 h4Marco 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

 h3Políticas y procedimientos/h3

 h4Marco 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



h3Zona 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 

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



 h3Gestión de Proyectos/h3

  

  div class=centrar

  div class=formulario

  form method=post action=#br /

 

label for=usuario title=usuarioUsuario/label

input id=usuario value=usuario size=12 



br/



label for=login title=loginLogin/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=piep(c) Junta de Extremadura 2009/p/div



/body
{{/html}}
-- 
View this message in context: 
http://n2.nabble.com/Problem-creating-a-link-to-a-page-with-custom-css-NEWBEE-tp4174746p4174746.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem creating a link to a page with custom css. NEWBEE

2009-12-16 Thread AlonsoIR

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.

[CODE]

{{velocity}}
$xwiki.ssfx.use(/portal/site/css/estilo.css)
{{/velocity}}

{{html}}

!--inicio menu--

div id=menu
ul
   li
{{html clean=false}} 
   [[IntroduccionMain.Introduccion]]
{{/html}}
   
/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

 h2MADES (Marco de Desarrollo y Mantenimiento de Aplicaciones)/h2

 pes 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

 h3Arquitectura MADES/h3

 h4Marco 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

 h3Políticas y procedimientos/h3

 h4Marco 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



h3Zona 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 

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



 h3Gestión de Proyectos/h3

  

  div class=centrar

  div class=formulario

  form method=post action=#br /

 

label for=usuario title=usuarioUsuario/label

input id=usuario value=usuario size=12 



br/



label for=login title=loginLogin/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=piep(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
-- 
View this message in context: 
http://n2.nabble.com/Problem-creating-a-link-to-a-page-with-custom-css-NEWBEE-tp4174746p4180066.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] PLS HELP! wich is the best way to adapt a look and feel made in html, css to velocity?

2009-12-15 Thread AlonsoIR

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=logoh1 class=ocultoMADES, Marco de Desarrollo y
Mantenimiento de Aplicaciones/h1/div

 div class=logoextremh1 class=ocultoJunta de Extremadura, Consejería
de Sanidad y Dependencia

/h1/div

/div

!--inicio menu--

div id=menuulli # Introducción /lili # Guía Rápida /lili #
Objetivos /lili # Descripción /lili # Noticias /lili # RSS
/li/ul/div

div id=contenido



 div id=columleft

  

   div id=imgport

 h2MADES (Marco de Desarrollo y Mantenimiento de Aplicaciones)/h2

 pes 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

 h3Arquitectura MADES/h3

 h4Marco 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

 h3Políticas y procedimientos/h3

 h4Marco 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



h3Zona 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 

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



 h3Gestión de Proyectos/h3

  

  div class=centrar

  div class=formulario

  form method=post action=#br /

 

label for=usuario title=usuarioUsuario/label

input id=usuario value=usuario size=12 



br/



label for=login title=loginLogin/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=piep(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-made-in-html-css-to-velocity-tp4163283p4169078.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] PLS HELP! wich is the best way to adapt a look and feel made in html, css to velocity?

2009-12-15 Thread AlonsoIR

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-made-in-html-css-to-velocity-tp4163283p4169923.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] PLS HELP! wich is the best way to adapt a look and feel made in html, css to velocity?

2009-12-14 Thread AlonsoIR

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-made-in-html-css-to-velocity-tp4163283p4163283.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How do i set the main page?

2009-12-10 Thread AlonsoIR

please, nobody could help me? 




AlonsoIR wrote:
 
 hi, im totally newbee, i almost have finished a page and a i need to know
 how to set as main page. If i click on logo i need that page loaded, if i
 enter the url www.mywiki.com, that page must be loaded.
 
 
 how do i do that?
 
 regards
 
 
 

-- 
View this message in context: 
http://n2.nabble.com/How-do-i-set-the-main-page-tp4140183p4145166.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] NEWBEE- how do i reset default skin

2009-12-09 Thread AlonsoIR

hi everybody, first at all, i m totally newbee with this software. I ve tried
to change the default skin with my own skin, and of course i have bothered.

How do i reset to the original default?

i hope that someone could help me
-- 
View this message in context: 
http://n2.nabble.com/NEWBEE-how-do-i-reset-default-skin-tp4138496p4138496.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] NEWBEE- how do i reset default skin

2009-12-09 Thread AlonsoIR

Hi Vincent, thx for the help.


Finally i have drop the entire database because some links does not work and
i dont have enough time.

For now, i have backup /skins/colibri into /skins/mades, and i have modified
xwiki.cfg file, concretly xwiki.defaultbaseskin=mades

now i restarted the server and voila!

Now i need to make a page like the attachment, and more or less i have
something slightly similar, but, i dont know how to do login/pass part
(botton-right), how do i link with the xwiki's proper login page?

Other thing, is not possible to center content inside cells?

how do i change the color of the links? or whetever text?

sorry if the questions are not from this forum, but i need help!

regards


http://n2.nabble.com/file/n4139582/portada_mix2.jpg 





vmassol wrote:
 
 Hi Alonso,
 
 On Dec 9, 2009, at 11:12 AM, AlonsoIR wrote:
 

 hi everybody, first at all, i m totally newbee with this software. I  
 ve tried
 to change the default skin with my own skin, and of course i have  
 bothered.

 How do i reset to the original default?

 i hope that someone could help me
 
 Maybe this will help:
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins
 
 Thanks
 -Vincent
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://n2.nabble.com/NEWBEE-how-do-i-reset-default-skin-tp4138496p4139582.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] How do i set the main page?

2009-12-09 Thread AlonsoIR

hi, im totally newbee, i almost have finished a page and a i need to know how
to set as main page. If i click on logo i need that page loaded, if i enter
the url www.mywiki.com, that page must be loaded.


how do i do that?

regards


-- 
View this message in context: 
http://n2.nabble.com/How-do-i-set-the-main-page-tp4140183p4140183.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users