[TYPO3-english] Generic Markers

Orish Shrestha orish.typo3 at gmail.com
Fri Mar 18 15:03:45 CET 2011


Hi all,

I am trying to get two generic marker based on same field, one displaying
the value in the field and another without it. I was able to get the first
part done using following TS
plugin.tt_news.genericmarkers {
data = onecondition
one_condition = COA
one_condition {
51 = TEXT
51.field = generic_onecondition
51.wrap = <div class="onecondition">|</div>
51.required = 1
}
}

For the second condition I wanted to do something like
plugin.tt_news.genericmarkers {
data = onecondition
second_condition = COA
second_condition {
52 = TEXT
52.field = generic_onecondition
52.wrap = <div class="secondcondition">SOME TEXT</div>
52.required = 1
}
}

The problem I am having from the above code is that even I just need SOME
TEXT, I am getting the value in the column onecondition.

Any suggestion is greatly anticipated.

Thanking in advance!

Regards,
Orish


More information about the TYPO3-english mailing list