Hi everyone I create a template in joomla and a menu..
this is my index.html template
<body class="cabecera <?php ($portada)? "" : "_otra" ?> ">
<div id="wrapper-top" class="fondo <?php ($portada)? "": "_otra" ?> ">
<div class="row">
<jdoc:include type="modules" name="mod_izquierdo" style="none"/>
<div id="wrapper-header-right" class="column grid_10">
<jdoc:include type="modules" name="mod_extranet" style="none"/>
<jdoc:include type="modules" name="mod_menuPrincipal" style="none"/>
</div>
</div>
</div>
<div id="wrapper-body" class="row">
<div id="content" class="column grid_16">
<jdoc:include type="component" />
<jdoc:include type="modules" name="mod_noticias" style="none"/>
</div>
<div class="clr"></div>
<jdoc:include type="modules" name="mod_carrusel" style="none"/>
<div class="clr"></div>
<div id="noticias" class="column grid_16">
</div>
</div>
<jdoc:include type="modules" name="mod_pie" style="none"/>
</body>
for the menu I create a module mod_menuPrincipal this is the links
<div id="Menu_Principal">
<ul class="menu">
<li id="current" class="parent active item1"><a href="<?php echo JRoute::_('index.php?Itemid=1');?>"><span>Principal</span></a></li>
<li class="item2"><a href="<?php echo JRoute::_('index.php?option=com_content&view=article&id=2');?>"><span>Hardware</span></a></li>
<li class="item3"><a href="<?php echo JRoute::_('index.php?option=com_content&view=article&id=3');?>"<span>Software</span></a></li>
<li class="item4"><a href="<?php echo JRoute::_('index.php?option=com_content&view=article&id=4');?>""><span>Other</span></a></li>
</ul>
</div>
I create the article, but now when I click the link don´t show me nothing.. only the footer and other thinks but no the content of the article.
I miss something? any idea?
You are missing -
<jdoc:include type="component" />
this loads the component. Add this into your index.php where you want to show the article. Let me know if this does not work.