Forums / Developer / function / Comment43908

Author Topic

jb bianchi

Sunday 21 August 2005 7:08:05 am

Comment43908

hi,


{default use_url_translation=false()}
    <td class="{$sequence}">
{set-block variable=$exam}
	{attribute_view_gui attribute=$node.object.data_map.an_expert}
	{/set-block}
{*for example, the content of $exam is 'babar'
if I do this:*}
{$exam}=
{*I can see:
babar
=*}
{* If i do this:*}
{$exam|wash}
{*I can see:
<a href="/corporate/expert/babar">babar</a></br>*}
{*I want just to have the word between <a href=..> and </a><br /> to do test. First I cut with remove the end and I obtain this:
 <a href="/corporate/expert/babar">babar
Secondly, I remove <a href= 

but I have "/corporate/expert/babar">babar
and I call it $var5
So I have try to do it:
*}
{set-block variable=$nbdemot}
{$var5|expolde('>'}
{/set-block}
<br />{$nbdemot}
{*I can see the word array*}
{/default}

thank's