TagCloud example

$this->View()->assign(['sArticles' => $convertedProducts, 'articles' => $convertedProducts]);
    }

    /** * Tag cloud by category * * @return void */
    public function tagCloudAction()
    {
        $config = $this->container->get('plugins')->Frontend()->TagCloud()->Config();

        if (empty($config->get('show'))) {
            return;
        }

        $controller = $this->Request()->getParam('sController', $this->Request()->getControllerName());

        if (str_contains($config->get('controller')$controller)) {
            $this->View()->assign('sCloud', $this->container->get('modules')->Marketing()->sBuildTagCloud(
                $this->Request()->getParam('sCategory')
            ));
        }
Home | Imprint | This part of the site doesn't use cookies.