If you are creating your own Joomla template instead of downloading one online, you might have encountered this codes:
<jdoc:include type="component"> <jdoc:include type="modules" name="sidebar">
Looking at those codes, it seems that nothing’s wrong with them but once you run your Joomla site, the content and modules under sidebar position are not showing.
The problem? You forgot to add the slash( / ) at the end. So the correct code must be like this:
<jdoc:include type="component" /> <jdoc:include type="modules" name="sidebar" />
To know more about Jdoc statement click here
No comments:
Post a Comment