Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-11-13 16:34:04

robhert
Member
From: Perú
Registered: 2007-04-27
Posts: 206
Website

[es-es] Problema con custom_field

Buen día a todos!

Alguien, podría decirme qué está mal con este código, o cómo podría hacer lo mismo de otra forma? Es que el código funciona bien en una página individual y de un artículo, pero de otras hace un completo desastre.

<div class="img-cap">
	<txp:image_info type="caption" />
	<txp:if_custom_field name="Fuente">
		<span class="img-cap-fuente">Fuente: </span>
		<txp:if_custom_field name="Website" />
			<a href='<txp:custom_field name="Website" />'>
		</txp:if_custom_field>  		
		<txp:custom_field name="Fuente" />
		<txp:if_custom_field name="Website" />
			</a>
		</txp:if_custom_field>
	</txp:if_custom_field>
</div>

Lo que quiero es Poner al lado de la leyenda de la foto, quién la tomó y enlazarla a su web. Para ello estoy usando 2 custom_field, pero parecen no funcionar bien del todo.

Gracias de antemano,

Robhert

Last edited by robhert (2012-11-13 16:36:03)

Offline

#2 2012-11-13 17:46:18

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: [es-es] Problema con custom_field

robhert, I shifted my and your English posts to the crossposted question in the English section.

Last edited by uli (2012-11-13 17:46:38)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB