Shape 5

Joomla Templates => Hexicon Gamer - Club => : debcampos December 06, 2012, 02:25:31 PM



: Not showing navigation
: debcampos December 06, 2012, 02:25:31 PM
My articles are not showing the navigation below and neither the category links below as well. I already changed the setting to show navigation and category on the global settings and on the menu settings.Please help?


: Re: Not showing navigation
: mikenicoll December 06, 2012, 06:51:20 PM
Just to confirm you have navigation enabled on the active menu (home etc) as well as the category / articles themselves? If you do any it is still not showing it is possible a negative margin might be hiding them.

I would need Joomla SuperUser access to take a closer look if all those settings above have been checked.

-Mike


: Re: Not showing navigation
: debcampos December 07, 2012, 11:43:05 AM
Hi, yes all of those are enabled! I am sending you the login info ok.


: Re: Not showing navigation
: mikenicoll December 10, 2012, 07:48:48 PM
Replied


: Re: Not showing navigation
: debcampos December 25, 2012, 02:38:13 PM
Hi Mike, sorry for the delay, The problem that I am having is that I cannot see the the "previous" and "next" article arrow at the bottom of each article in a category. That way a reader can just click to read the next article instead of having to go back on the category to find the next article.

I just sent you a PM with my login info again. Thank you so much!


: Re: Not showing navigation
: debcampos January 04, 2013, 01:01:14 PM
Hi again, i did get your PM reply, but you are actually talking about the pagination, and i was talking about the navigation in the articles options.

I want to show my category in a List style. My navigation is set to show in all articles, in the global and on each article, and on the menu articles options but it still doesn't show. Please check the files attached as they show how a category list and articles in it can show. I believe there is something wrong with the template.css or something else.

The navigation will show a "previous" and "next" link at the bottom of each article to connect articles from a same category.

Please help? I will PM you my login info.


: Re: Not showing navigation
: mikenicoll January 07, 2013, 05:04:37 PM
Hello,

If you are talking about the next and previous links those will only show if there are other articles in the same category, and the article is set to show navigation, the category global config is set to show navigation and the menu item of that category is set to show navigation. The template doesn't control any of these functions they are output into the article through the Joomla core. Check those options to make sure they are all enabled.

-Mike


: Re: Not showing navigation
: debcampos January 07, 2013, 07:17:39 PM
Hi Mike, yes I have all of those above enabled and my category has several articles but still wont show. Is this something to do with the com_content component?

Thank you!


: Re: Not showing navigation
: debcampos January 07, 2013, 07:48:55 PM
I did some research and i found help on this article http://forum.joomla.org/viewtopic.php?p=2727623
It is a problem with the template at the /templates/hexicon_gamer/html/com_content/article/default.php

The pagination code is missing at the bottom. I got it from the beez5 template templates/beez5/html/com_content/article/default.php  and inserted at the end of the templates/hexicon_gamer/html/com_content/article/default.php  and now my navigation links are showing at the bottom of the articles.

I replaced
:
        <?php echo $this->item->text?>

<?php echo $this->item->event->afterDisplayContent?>

with

:
<?php if (isset($urls) AND ((!empty($urls->urls_position) AND ($urls->urls_position=='0')) OR  ($params->get('urls_position')=='0' AND empty($urls->urls_position) ))
OR (empty($urls->urls_position) AND (!$params->get('urls_position')))): ?>


<?php echo $this->loadTemplate('links'); ?>
<?php endif; ?>
<?php  if (isset($images->image_fulltext) and !empty($images->image_fulltext)) : ?>
<?php $imgfloat = (empty($images->float_fulltext)) ? $params->get('float_fulltext') : $images->float_fulltext?>

<div class="img-fulltext-"<?php echo htmlspecialchars($imgfloat); ?>">
<img
<?php if ($images->image_fulltext_caption):
echo 'class="caption"'.' title="' .htmlspecialchars($images->image_fulltext_caption) .'"';
endif; ?>

src="<?php echo htmlspecialchars($images->image_fulltext); ?>" alt="<?php echo htmlspecialchars($images->image_fulltext_alt); ?>"/>
</div>
<?php endif; ?>
<?php
if (!empty($this->item->pagination) AND $this->item->pagination AND !$this->item->paginationposition AND !$this->item->paginationrelative):
echo $this->item->pagination;
 endif;
?>

<?php echo $this->item->text?>
<?php
if (!empty($this->item->pagination) AND $this->item->pagination AND $this->item->paginationposition AND!$this->item->paginationrelative):
 echo $this->item->pagination;?>

<?php endif; ?>

<?php if (isset($urls) AND ((!empty($urls->urls_position)  AND ($urls->urls_position=='1')) OR ( $params->get('urls_position')=='1') )): ?>

<?php echo $this->loadTemplate('links'); ?>
<?php endif; ?>
<?php
if (!empty($this->item->pagination) AND $this->item->pagination AND $this->item->paginationposition AND $this->item->paginationrelative):
 echo $this->item->pagination;?>

<?php endif; ?>
<?php echo $this->item->event->afterDisplayContent?>
</article>


: Re: Not showing navigation
: mikenicoll January 08, 2013, 05:59:39 PM
Hello,

Thanks for posting the update. I have sent a reference to this thread to the template developer who will take a look at your findings.

-Mike


: Re: Not showing navigation
: debcampos January 08, 2013, 07:13:03 PM
No problem, thanks for your help though!! ;D