Search found 11 matches

by Supay
Thu Aug 25, 2011 7:45 am
Forum: Modules/Add-Ons
Topic: Company Directory
Replies: 1
Views: 694

Company Directory

Hello I have a question, I'm with the Company Directory module and I would like to implement some new field in the template Sample Template Summary. I created new fields and now they are inserted. For example to insert an existing one does it like this: {$ entry-> COMPANY_NAME} For new've tried a th...
by Supay
Thu Aug 25, 2011 7:43 am
Forum: Spanish - Español
Topic: Duda modulo Company Directory
Replies: 1
Views: 2756

Duda modulo Company Directory

Hola tengo una duda, estoy con el modulo Directory Company y me gustaria implementar algun campo nuevo en el template Sample de Plantillas Sumarias. He creado nuevos campos y ahora no se insertarlos. Por ejemplo para insertar uno que ya existe lo hace asi: {$entry->company_name} Para los nuevos he p...
by Supay
Thu Jul 01, 2010 7:18 am
Forum: Spanish - Español
Topic: Atributo dentro de otro atributo [RESUELTO]
Replies: 4
Views: 3873

Re: Atributo dentro de otro atributo

Ya lo he resuelto, por si alguien lo necesita alguna vez, dejo aqui la respuesta:

{capture assign='extra'}{page_attr key="extra1"}{/capture}
{Gallery dir="home/imagenes/$extra"}

Saludos!
by Supay
Thu Jul 01, 2010 7:17 am
Forum: General Discussion
Topic: attribute within another attribute
Replies: 6
Views: 2846

Re: attribute within another attribute

Salketer wrote: Sorry I always mix up when working with vars in smarty tags... I tested this time :)

Code: Select all

{capture assign='extra'}{page_attr key="extra1"}{/capture}
{Gallery dir="home/imagenes/$extra"}
Ou yeah! Thank youuu!!!!!
by Supay
Wed Jun 30, 2010 9:28 am
Forum: Spanish - Español
Topic: Mostrar subs menus
Replies: 5
Views: 4357

Re: Mostrar subs menus

Gracias de nuevo por contestar. Con ese codigo no me muestra nada, por lo que no se que puede ser, ya que eso lo probe consultando la ayuda, y se supone que esta bien puesto, pero nada... Despues de probar mucho llegue a esto: {menu template="menu_home_categorias" start_page="XXX"...
by Supay
Wed Jun 30, 2010 9:25 am
Forum: Spanish - Español
Topic: Atributo dentro de otro atributo [RESUELTO]
Replies: 4
Views: 3873

Re: Atributo dentro de otro atributo

Hola Supay, Yo de Smarty no tengo mucha idea, pero probaría con dos cosas: o esto: {Gallery dir='home/imagenes/{page_attr key=extra1}'} o esto: {Gallery dir='home/imagenes/'{page_attr key="extra1"}} Muchas gracias por contestar Pablillo. Investigando mas la solucion es algo asi: {capture ...
by Supay
Wed Jun 30, 2010 9:13 am
Forum: General Discussion
Topic: attribute within another attribute
Replies: 6
Views: 2846

Re: attribute within another attribute

You can use the capture tag to assign the returned values in a variable and then use the variable. {capture assign='extra'}{page_attr key="extra1"}{/capture} {Gallery dir='home/imagenes/'.$extra} thanks for your answer, but I do not work. I think it is wrong ".$extra" I do not r...
by Supay
Tue Jun 29, 2010 7:18 am
Forum: General Discussion
Topic: attribute within another attribute
Replies: 6
Views: 2846

attribute within another attribute

First: Sorry for my english :D Second: I need to introduce an attribute within another attribute for example: {Gallery dir='home/imagenes/XXX'} {page_attr key="extra1"} {page_attr key="extra1"} is XXX The result: {Gallery dir='home/imagenes/{page_attr key="extra1"}'} ¿?...
by Supay
Mon Jun 28, 2010 1:24 pm
Forum: Spanish - Español
Topic: Atributo dentro de otro atributo [RESUELTO]
Replies: 4
Views: 3873

Atributo dentro de otro atributo [RESUELTO]

Sigo con alguna duda, y como estoy investigando sobre este CMS me van surgiendo dudas: Es posible poner un atributo dentro de otro atributo? Es decir: El codigo para mostrar la galeria: {Gallery dir='home/imagenes/XXX'} Codigo que me muestra un atributo: {page_attr key="extra1"} El atribut...
by Supay
Mon Jun 28, 2010 9:49 am
Forum: Spanish - Español
Topic: Mostrar subs menus
Replies: 5
Views: 4357

Re: Mostrar subs menus

Pero lo que quiero hacer es que me salga solo "Quienes Somos" y "Que hacemos". Que no me muestre en ningun lado ni las categorias padre Home, Empresa, etc... ni el submenu Uno y Dos. Pero nada... no consigo hacerlo :(
by Supay
Mon Jun 28, 2010 9:19 am
Forum: Spanish - Español
Topic: Mostrar subs menus
Replies: 5
Views: 4357

Mostrar subs menus

Hola, estoy intentando hacer una cosilla y no consigo. El tema es que quiero mostrar solo un submenu en un listado. Por ejemplo tengo: Home Empresa     Quienes Somos           Uno           Dos     Que hacemos Contacto Lo que quiero es hacer un menu que solo muestre "Quienes Somos" y "...

Go to advanced search