<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>ESTRUCTURAS, PLANTILLALS Y PUBLICACIÓN DE CONTENIDOS.</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=4938071" />
  <subtitle>ESTRUCTURAS, PLANTILLALS Y PUBLICACIÓN DE CONTENIDOS.</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=4938071</id>
  <updated>2026-04-05T01:14:42Z</updated>
  <dc:date>2026-04-05T01:14:42Z</dc:date>
  <entry>
    <title>RE: ESTRUCTURAS, PLANTILLALS Y PUBLICACIÓN DE CONTENIDOS.</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4944585" />
    <author>
      <name>Juan Manuel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4944585</id>
    <updated>2010-05-10T06:45:12Z</updated>
    <published>2010-05-10T06:45:12Z</published>
    <summary type="html">Vale también está solucionada mi última pregunta... era bastante simple jejejeje simplemente era aplicarle reglas de estilo a la misma plantilla creada para la estructura... XDDD perdonadme esque peco de novato a veces... (vamos porque lo soy no por otra cosa jajaja)&lt;br /&gt;&lt;br /&gt;Muchas gracias a todos.</summary>
    <dc:creator>Juan Manuel</dc:creator>
    <dc:date>2010-05-10T06:45:12Z</dc:date>
  </entry>
  <entry>
    <title>RE: ESTRUCTURAS, PLANTILLALS Y PUBLICACIÓN DE CONTENIDOS.</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4939247" />
    <author>
      <name>Juan Manuel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4939247</id>
    <updated>2010-05-07T10:44:37Z</updated>
    <published>2010-05-07T10:44:37Z</published>
    <summary type="html">Tema solucionado, muchisimas gracias por tu ayuda, me he creado u na plantilla asi a nivel general para publicar contenido en la que se pueden publicar videos, imágen o simplemente texto y va fenomenal, ahora el siguiente paso es intentar darle estilo a la presentación a ver si puedo compactarla un poco para que no sea a lo largo de la página, si no un poquito a lo ancho también.&lt;br /&gt;¿Se puede crear una plantilla para la visualización del contenido de un portlet?</summary>
    <dc:creator>Juan Manuel</dc:creator>
    <dc:date>2010-05-07T10:44:37Z</dc:date>
  </entry>
  <entry>
    <title>RE: ESTRUCTURAS, PLANTILLALS Y PUBLICACIÓN DE CONTENIDOS.</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4938524" />
    <author>
      <name>Juan Manuel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4938524</id>
    <updated>2010-05-07T09:02:38Z</updated>
    <published>2010-05-07T09:02:38Z</published>
    <summary type="html">Voy a echar un vistazo en la wiki, porque ya no es solo con mi plantilla, tengo una plantilla de un compañero (Que funciona perfectamente) sin embargo a mi me da un error como que ha expirado, no tengo permisos o el contenido ha sido eliminado... asi que ya estoy pensando que pueda ser un fallo en mi liferay o algo... :S gracias por tu ayuda voy a ver la wiki a ver si me dice algo mas.&lt;br /&gt;&lt;br /&gt;Un saludo y gracias.</summary>
    <dc:creator>Juan Manuel</dc:creator>
    <dc:date>2010-05-07T09:02:38Z</dc:date>
  </entry>
  <entry>
    <title>RE: ESTRUCTURAS, PLANTILLALS Y PUBLICACIÓN DE CONTENIDOS.</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4938503" />
    <author>
      <name>Roberto Tellado</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4938503</id>
    <updated>2010-05-07T08:52:28Z</updated>
    <published>2010-05-07T08:52:28Z</published>
    <summary type="html">Nada, no te preocupes, porque yo tampoco soy ningún pro.&lt;br /&gt;&lt;br /&gt;Lo que hace tu plantilla es mostrar los valores que contiene tu estructura. Esta plantilla suele ser una plantilla VM.&lt;br /&gt;&lt;br /&gt;Entonces en dicha plantilla puedes usar elementos html y css y además diversos elementos de lenguaje Velocity.&lt;br /&gt;&lt;br /&gt;La # es un comentario.&lt;br /&gt;&lt;br /&gt;Luego para acceder a los datos de tu estructura cada campo de la misma es representado por una variable ($nombre_campo_estructura). Para acceder al contenido de esa variable, tienes que llamar al metodo getData(), aunque también vale acceder a la propiedad data directamente.&lt;br /&gt;&lt;br /&gt;Te voy a dejar un enlace al wiki, en el que explican un poco todo esto:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.liferay.com/community/wiki/-/wiki/Main/CMS+Template+(Velocity)"&gt;http://www.liferay.com/community/wiki/-/wiki/Main/CMS+Template+(Velocity)&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Espero haberte servido de ayuda.&lt;br /&gt;&lt;br /&gt;Un saludo, y mucha suerte.</summary>
    <dc:creator>Roberto Tellado</dc:creator>
    <dc:date>2010-05-07T08:52:28Z</dc:date>
  </entry>
  <entry>
    <title>RE: ESTRUCTURAS, PLANTILLALS Y PUBLICACIÓN DE CONTENIDOS.</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4938491" />
    <author>
      <name>Juan Manuel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4938491</id>
    <updated>2010-05-07T08:48:20Z</updated>
    <published>2010-05-07T08:48:20Z</published>
    <summary type="html">¿A que te refieres exactamente? Perdona mi ignorancia al respecto pero esque llevo con liferay muy poco tiempo y tengo que abarcar estos campos lo antes posible. ¿Que debo quitar las almoadillas? Perdona mi ignorancia de nuevo y muchisimas gracias por tu ayuda.&lt;br /&gt;&lt;br /&gt;Un saludo.</summary>
    <dc:creator>Juan Manuel</dc:creator>
    <dc:date>2010-05-07T08:48:20Z</dc:date>
  </entry>
  <entry>
    <title>RE: ESTRUCTURAS, PLANTILLALS Y PUBLICACIÓN DE CONTENIDOS.</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4938447" />
    <author>
      <name>Roberto Tellado</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4938447</id>
    <updated>2010-05-07T08:40:22Z</updated>
    <published>2010-05-07T08:40:22Z</published>
    <summary type="html">Hola,&lt;br /&gt;&lt;br /&gt;Pero, en la plantilla no muestras nada, no ¿?&lt;br /&gt;&lt;br /&gt;Tendrías que mostrar $Titulo.getData() y luego $Descripcion.getData() y así con el resto de tu estructura.&lt;br /&gt;&lt;br /&gt;Porque en tu código de plantilla esta todo comentado #&lt;br /&gt;&lt;br /&gt;Ya me diras, a ver si es eso, pero tiene toda la pinta de que sí, porque yo no veo ninguna línea en tu plantilla que no este comentada.&lt;br /&gt;&lt;br /&gt;Saludos.</summary>
    <dc:creator>Roberto Tellado</dc:creator>
    <dc:date>2010-05-07T08:40:22Z</dc:date>
  </entry>
  <entry>
    <title>RE: ESTRUCTURAS, PLANTILLALS Y PUBLICACIÓN DE CONTENIDOS.</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4938398" />
    <author>
      <name>Juan Manuel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4938398</id>
    <updated>2010-05-07T08:29:13Z</updated>
    <published>2010-05-07T08:29:13Z</published>
    <summary type="html">Hola, gracias por tu respuesta ante todo, el código de la estructura es muy simple (estoy haciendo pruebas y demás) es el siguiente:&lt;br /&gt;&lt;br /&gt;&amp;lt;root&amp;gt;  &lt;br /&gt;&amp;lt;dynamic-element name=&amp;#39;Titulo&amp;#39; type=&amp;#39;text&amp;#39; repeatable=&amp;#39;false&amp;#39;&amp;gt;&amp;lt;/dynamic-element&amp;gt;  &lt;br /&gt;&amp;lt;dynamic-element name=&amp;#39;Descripcion&amp;#39; type=&amp;#39;text_box&amp;#39; repeatable=&amp;#39;false&amp;#39;&amp;gt;&amp;lt;/dynamic-element&amp;gt;  &amp;lt;dynamic-element name=&amp;#39;Tipo&amp;#39; type=&amp;#39;list&amp;#39; repeatable=&amp;#39;false&amp;#39;&amp;gt;   &lt;br /&gt;&amp;lt;dynamic-element name=&amp;#39;Imagen&amp;#39; type=&amp;#39;Examinar&amp;#39; repeatable=&amp;#39;false&amp;#39;&amp;gt;  &amp;lt;/dynamic-element&amp;gt;    &amp;lt;dynamic-element name=&amp;#39;Video&amp;#39; type=&amp;#39;youtube&amp;#39; repeatable=&amp;#39;false&amp;#39;&amp;gt;&amp;lt;/dynamic-element&amp;gt;  &lt;br /&gt;&amp;lt;/dynamic-element&amp;gt;&lt;br /&gt;&amp;lt;/root&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Y el código de la plantilla:&lt;br /&gt;&lt;br /&gt;#### Velocity Transform Template&lt;br /&gt;#### All dynamic elements in a structure can be accessed as a Velocity variable.&lt;br /&gt;#### The given structure:&lt;br /&gt;#### &amp;lt;root&amp;gt;&lt;br /&gt;## &amp;lt;dynamic-element name=&amp;#34;main-text&amp;#34; type=&amp;#34;text_area&amp;#34;&amp;gt;&lt;br /&gt;## &amp;lt;dynamic-element name=&amp;#34;sub-image&amp;#34; type=&amp;#34;image&amp;#34;&amp;gt;&amp;lt;/dynamic-element&amp;gt;&lt;br /&gt;## &amp;lt;dynamic-element name=&amp;#34;sub-text&amp;#34; type=&amp;#34;text&amp;#34;&amp;gt;&amp;lt;/dynamic-element&amp;gt;&lt;br /&gt;## &amp;lt;/dynamic-element&amp;gt;##   &amp;lt;dynamic-element name=&amp;#34;more-text&amp;#34; type=&amp;#34;text_area&amp;#34;&amp;gt;&amp;lt;/dynamic-element&amp;gt;&lt;br /&gt;## &amp;lt;dynamic-element name=&amp;#34;ms-list&amp;#34; type=&amp;#34;multi-list&amp;#34;&amp;gt;&lt;br /&gt;## &amp;lt;dynamic-element name=&amp;#34;chocolate&amp;#34; type=&amp;#34;Chocolate&amp;#34;&amp;gt;&amp;lt;/dynamic-element&amp;gt;&lt;br /&gt;## &amp;lt;dynamic-element name=&amp;#34;strawberry&amp;#34; type=&amp;#34;Strawberry&amp;#34;&amp;gt;&amp;lt;/dynamic-element&amp;gt;&lt;br /&gt;## &amp;lt;dynamic-element name=&amp;#34;vanilla&amp;#34; type=&amp;#34;Vanilla&amp;#34;&amp;gt;&amp;lt;/dynamic-element&amp;gt;&lt;br /&gt;## &amp;lt;/dynamic-element&amp;gt;&lt;br /&gt;## &amp;lt;/root&amp;gt;&lt;br /&gt;#### The dynamic element &amp;#34;main-text&amp;#34; can be accessed in the following ways:&lt;br /&gt;#### $main-text.getName()     - The name &amp;#34;Titulo&amp;#34;&lt;br /&gt;## $main-text.getData()     - The name &amp;#34;Descripcion&amp;#34;&lt;br /&gt;## $main-text.getType()     - The type &amp;#34;text-area&amp;#34;&lt;br /&gt;## $main-text.getChildren() - A collection with two nodes (sub-image and&lt;br /&gt;##                            sub-text) that can be used in the #foreach clause&lt;br /&gt;## $main-text.getSiblings() - A collection of elements with the name&lt;br /&gt;##                            &amp;#34;main-text&amp;#34;. This will only return more than one&lt;br /&gt;##                            element if this element is repeatable.&lt;br /&gt;#### One special accessor exists for elements of type &amp;#34;multi-list&amp;#34;:&lt;br /&gt;#### $ms-list.getOptions() - A collection with up to three string entries&lt;br /&gt;##                         (chocolate, strawberry, or vanilla) that can be used&lt;br /&gt;##                         in the &lt;br /&gt;#foreach clause&lt;br /&gt;#### Another special accessor exists for elements of type &amp;#34;link_to_layout&amp;#34;:&lt;br /&gt;#### $linkToPage.getUrl() - The URL that links to the selected page in the current&lt;br /&gt;##                        community, organization, etc.&lt;br /&gt;#### The variable $journalTemplatesPath can be used to include&lt;br /&gt;## another Journal template, e.g. &lt;br /&gt;#parse (&amp;#34;$journalTemplatesPath/LAYOUT-PARENT&amp;#34;)&lt;br /&gt;#### The variable $viewMode specifies which mode the article is being viewed in.&lt;br /&gt;## For example, if $viewMode evaluates to &amp;#34;print&amp;#34;, that means the user clicked&lt;br /&gt;## the print icon to view this article.&lt;br /&gt;##&lt;br /&gt;&lt;br /&gt;Muchas gracias, por la ayuda de antemano</summary>
    <dc:creator>Juan Manuel</dc:creator>
    <dc:date>2010-05-07T08:29:13Z</dc:date>
  </entry>
  <entry>
    <title>RE: ESTRUCTURAS, PLANTILLALS Y PUBLICACIÓN DE CONTENIDOS.</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4938096" />
    <author>
      <name>Roberto Tellado</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4938096</id>
    <updated>2010-05-07T07:45:15Z</updated>
    <published>2010-05-07T07:45:15Z</published>
    <summary type="html">Hola,&lt;br /&gt;&lt;br /&gt;Lo que puede pasar es que tengas el texto &amp;#34;localizado&amp;#34; (en dos idiomas) y en el idioma en el que estas no tienes texto añadido.&lt;br /&gt;&lt;br /&gt;Otra posibilidad es que tengas la plantilla o la estructura mal hecha. Lo que puede hacer es pegar el código de la estructura y de la plantilla para ver si hay algo mal.&lt;br /&gt;&lt;br /&gt;Saludos.</summary>
    <dc:creator>Roberto Tellado</dc:creator>
    <dc:date>2010-05-07T07:45:15Z</dc:date>
  </entry>
  <entry>
    <title>ESTRUCTURAS, PLANTILLALS Y PUBLICACIÓN DE CONTENIDOS.</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4938070" />
    <author>
      <name>Juan Manuel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=4938070</id>
    <updated>2010-05-07T07:41:03Z</updated>
    <published>2010-05-07T07:41:03Z</published>
    <summary type="html">Buenas me gustaría que me aconsejárais acerca de lo que me sucede, creé una estructura y le asigne una plantilla de forma &amp;#34;automática&amp;#34;, sin picar código simplemente actualizándolo.&lt;br /&gt;A la hora de publicar contenido usando esa plantilla va bien pero luego a la hora de visualizarlo tan solo puedo ver el título no puedo leer el texto (si es que lo introduzco)&lt;br /&gt;&lt;br /&gt;Un saludo.</summary>
    <dc:creator>Juan Manuel</dc:creator>
    <dc:date>2010-05-07T07:41:03Z</dc:date>
  </entry>
</feed>
