Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • artetinta Friend
    #943702

    Hello,
    I’m working with Moviemax template and the need to create a relationship between elements of different categories, but with the same tags .

    There is an error when clicking on the label of an article to display other articles with the same label. The screen is empty. There is not any article.


    1. tags_jamaxmovie_
    Saguaros Moderator
    #944432

    Hi

    It looks like to be an issue of template, I’ve passed this to the development team for further checking. You can track its progress here: https://www.joomlart.com/forums/topic/error-when-click-i-click-one-tag-to-find-other-articles-with-the-same-tag/

    We’re sorry for any inconvenience it may cause.

    Saguaros Moderator
    #951654

    The team fixed this issue and it will be included in the next release of template. Here is the solution:

    • Go to file: templates/ja_moviemax/html/com_tags/tag/default_items.php

    • Replace this snippet of code:

    <?php if ($this->params->get(‘tag_list_show_itemdescription’, 1)) : ?>
    <?php echo $item->event->beforeDisplayContent; ?>
    <span class="tag-body">
    <h 3>
    <a href="<?php echo JRoute::
    (TagsHelperRoute::getItemRoute($item->content_item_id, $item->core_alias, $item->core_catid, $item->core_language, $item->type_alias, $item->router)); ?>">
    <?php echo $this->escape($item->core_title); ?>

    </h 3>

    <?php echo JHtml::_(‘string.truncate’, $item->core_body, $this->params->get(‘tag_list_item_maximum_characters’)); ?>

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

    With:

    <span class="tag-body">
    <h 3>
    <a href="<?php echo JRoute::_(TagsHelperRoute::getItemRoute($item->content_item_id, $item->core_alias, $item->core_catid, $item->core_language, $item->type_alias, $item->router)); ?>">
    <?php echo $this->escape($item->core_title); ?>

    </h 3>
    <?php if ($this->params->get(‘tag_list_show_itemdescription’, 1)) : ?>
    <?php echo $item->event->beforeDisplayContent; ?>
    <?php echo JHtml::
    (‘string.truncate’, $item->core_body, $this->params->get(‘tag_list_item_maximum_characters’)); ?>
    <?php echo $item->event->afterDisplayContent; ?>
    <?php endif; ?>

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Saguaros 8 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum