-
AuthorPosts
-
June 24, 2016 at 10:42 am #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.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 27, 2016 at 5:03 am #944432Hi
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.
1 user says Thank You to Saguaros for this useful post
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 20, 2016 at 6:46 am #951654The 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; ?>AuthorPostsViewing 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
Error when click I click one tag to find other articles with the same tag
Viewing 3 posts - 1 through 3 (of 3 total)