ilike modsearch
ilike modsearch
Posted:04 Jan 2010 (07:52 UTC)replace line 8 in mod_search.tpl
{html_options options=$contentTypes name="content_type_guid[]" selected=$gContent->mContentTypeGuid}
if you got error -> Warning: in_array() function.in-array: Wrong datatype for second argument in ... ilike\iLike.php on line 45
from
{html_options options=$contentTypes name="content_type_guid" selected=$gContent->mContentTypeGuid}
to
{html_options options=$contentTypes name="content_type_guid[]" selected=$gContent->mContentTypeGuid}
the mod_search dropdown works after this
{html_options options=$contentTypes name="content_type_guid[]" selected=$gContent->mContentTypeGuid}
if you got error -> Warning: in_array() function.in-array: Wrong datatype for second argument in ... ilike\iLike.php on line 45
from
{html_options options=$contentTypes name="content_type_guid" selected=$gContent->mContentTypeGuid}
to
{html_options options=$contentTypes name="content_type_guid[]" selected=$gContent->mContentTypeGuid}
the mod_search dropdown works after this
Page 1 of 1 1