Skip to main content
Topic: Need a little help in Title formatting (Read 161 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Need a little help in Title formatting

Hello.
I need a simple "if" contruction in title formatting, but to show "else/then" result in case only if tag field contains/not_contains some specific word or symbol.
I tried to do it this way (like it can be done in search: %artist% HAS 'word')
$if(%field% HAS 'word',a,b)
But it ignores "HAS 'word'" part and works the same way as $if(%field%,a,b)

Is it possible to do it some other way?

Re: Need a little help in Title formatting

Reply #1
Try $if($strstr(%field%,word),a,b). HAS belongs to query syntax and can't be used in title format.

Re: Need a little help in Title formatting

Reply #2
Thanks, it works.

 
SimplePortal 1.0.0 RC1 © 2008-2020