Hey guys i got a problem with my joomla 3.3.6 website

To make a nice custom homepage i hide all the content of the frontpage with this code:

<?php
$app = JFactory::getApplication();
$menu = $app->getMenu(); ?>

<?php if ($menu->getActive() == $menu->getDefault()) : ?>
<?php echo ''; ?>
<?php else : ?>
...........
<?php endif; ?>

Now i got a page with all kind of news articles, but when i press one article it goes to my frontpage, When i delete the code above its shows the contect of the article of the bottom of my homepage, but u probably all can guess i dont want that.

Does someone has a solution for this?

1 Answers

0
Msmits On Best Solutions

I got it,

just made a new category and moves all categorys of the news inside that category and for that one i made a hidden menu item