I know CC6 is like way old, but I'm older.
one last help and i can go see some birds.
LIKE %{data:tags}%
in CC6 converts to
WHERE `Article`.`tags` LIKE '%[\"Daily Life\"]%'
the only difference from other dynamic dropdowns is that the data is provided by a php code.
$tags_assoc = [];
$read_tags = $this->get("read_tags", []);
foreach ($read_tags as $row) {
if (!empty($row["Tags"]["tags"])) {
$tags = explode(",", $row["Tags"]["tags"]);
foreach ($tags as $tag) {
$tag = trim(str_replace('\/', '/', $tag));
if (!empty($tag) && !isset($tags_assoc[$tag])) {
$tags_assoc[$tag] = $tag;
}
}
}
}
return $tags_assoc;
You need to login to be able to post a reply.