Log in

View Full Version : custom field in postbit link problem


DoB Rhapsody
04-08-2008, 07:12 PM
Here is my code:
<if condition="$post[field9]">

<div>Clan: <if condition="$post[field10]"><a href="$post[field10]" target=_blank></if>$post[field9]<if condition="$post[field10]"></a></if></div>


field 9 being the clan name and field 10 being the clan link. What is happening is that when input something it shows with everyone else's in the link.

Example:
my clan name and link: Deep Impact (http://lockoutgaming.net)

Someone elses clan name and link(viewed by me): team HaZarD (http://lockoutgaming.nethttp://temhazard.com)

How can i fix this?

DoB Rhapsody
04-09-2008, 07:18 PM
Could i get an answer please.

Lynne
04-09-2008, 07:49 PM
Maybe:

<if condition="$post[field9]">

<div>Clan: <if condition="$post[field10]"><a href="$post[field10]" target=_blank>$post[field9]</a><else />$post[field9]</if></div>

</if>
Is that what you are trying to do?

Opserty
04-09-2008, 08:31 PM
target="_blank"

Use proper HTML ;)

Also make sure your users add the http:// bit at the start.

Lynne
04-09-2008, 08:39 PM
target="_blank"

Use proper HTML ;)

Good catch!