...

View Full Version : Variables



newbiedev
10-15-2008, 01:40 PM
Hi Guys,

I am newbie, so please tolerate my very basic question.

I have this loop


<b:if cond='data:post.labels'>
<b:loop values='data:post.labels' var='label'>
<b:if cond='data:label.name == &quot;Software&quot;'>
Yes software tag is present
<b:else/>
No software tag is not present
</b:if>
<b:if cond='data:label.isLast != &quot;true&quot;'/>
</b:loop>
</b:if>

In this loop, I am searching for 'Software' tag in the post. If it is found i want that a flag should be set to indicate that. How to create a temporary variable and set and rerieve value from it?

Please help

Yay
10-15-2008, 04:51 PM
Does your code have a declaration? Please post the whole code and read the rules of the XML forum.

oesxyl
10-15-2008, 11:45 PM
Hi Guys,

I am newbie, so please tolerate my very basic question.

I have this loop


<b:if cond='data:post.labels'>
<b:loop values='data:post.labels' var='label'>
<b:if cond='data:label.name == &quot;Software&quot;'>
Yes software tag is present
<b:else/>
No software tag is not present
</b:if>
<b:if cond='data:label.isLast != &quot;true&quot;'/>
</b:loop>
</b:if>

In this loop, I am searching for 'Software' tag in the post. If it is found i want that a flag should be set to indicate that. How to create a temporary variable and set and rerieve value from it?

Please help
what language do you use? as Yay said, post whole code. As it look now I don't have any clue what's there.

regards



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum