expressionengine - ExpressioneEngine contains operator doesn't work -


i'm trying have expressionengine check channel field word , if word found, display contents of field.

in case, want search {links-title} word "volunteer" , if word "volunteer" found, display contents of {links-branch}.

here code i'm trying use:

{exp:channel:entries channel="locations-links"} {if links-title *= "volunteer"} {links-branch} {/if} {/exp:channel:entries} 

this page: https://ellislab.com/expressionengine/user-guide/templates/conditionals.html#contains-operator says contains operator *= when use it, page displays blank. literally seems though operator not work. if use == works, in case, {links-title} has "volunteer" , nothing else.

anyone know how going on here?

your question should asked on @ expressionengine.stackexchange.com actually. anyway, version of ee using? handling of conditionals changed lot in more recent versions, , using docs latest version of ee. if site not running ee 2.10 better consult docs version using


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -