Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2110

Extensions for Joomla! 4.x • Re: Custom Blog files not rendering when using module categories

$
0
0
Did you create an override for the Categories module, mod_articles_categories or mod_articles_category? Those modules work independently of the component.
Thank you toivo,

to double check I recreated these steps on my website this morning as to rule out a simple mistake.

blog.php
blog.xml
blog_children.php
blog_links.php
blog_item.php

The above were all copied from 'components/com_content/tmpl/category' ;renamed with a prefix 'custom-' and placed into
templates/MyTemplate/html/com_content/category

in the XML file these lines were altered to
<layout title="custom-blog" option="custom-blog">
<message>
<![CDATA[A custom blog]]>

I have not made override changes to Categories module, mod_articles_categories or mod_articles_category

I just discovered in my case that the categories module when placed on the same page as the custom_blog forgot I was using an override and custom blog and used the blog.php in components/category.

The only solution I have at the moment is not to use the categories module with an override of this type.
I do not understand enough about Joomla 4 to resolve this.

Once again, thank you for replying.

Statistics: Posted by ThorHammer — Wed Apr 10, 2024 11:14 am



Viewing all articles
Browse latest Browse all 2110

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>