in joomla I created a category with some articles.
The menu item, of course, is of the "blog category" type.
I would like to associate a custom module to one of the articles of the blog category, of which I know its ID. For example id = 3. I wrote the following code in the section head of index.php template:
Code: Select all
<?php $article_id = 3; ?> <?php if($this->countModules('ModuleName') && $view == 'article' && $article_id == 3) : ?> <jdoc:include type="modules" name="ModuleName" style="none" /> <?php endif; ?>
Is there the possibility of associating the module only with that article?