Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • linnea Friend
    #209030

    Hi,

    I have two minor questions concerning tagged articles.

    1) Is it possible to move the display of tags in an individual article before the article text? Currently the tags come at the end and I am worried that people won’t see them or will confuse them with the social share buttons. In the Global Configuration settings I have set the “Position of Article Info” to Above, but the tags remain below the article. Can I change this?

    Screenshot:

    2) I have several menu points which are set to display Tagged Items. Otherwise I love the clean display with the square preview image, the title, and the preview text. However, I would also like to show the date when the articles were published, so that readers can see what news is most recent. Is this customization easy to achieve?

    Screenshot:

    Saguaros Moderator
    #578110

    Hi linnea,

    Below are my answers for your questions:
    1. You can show the tags in the place of article info:
    – Go to file: root/templates/uber/html/com_content/article/default.php
    – Find and move this snippet of code:


    <?php if ($params->get('show_tags', 1) && !empty($this->item->tags)) : ?>
    <?php echo JLayoutHelper::render('joomla.content.tags', $this->item->tags->itemTags); ?>
    <?php endif; ?>

    To the part underneath this block code:


    <!-- Aside -->
    <?php if ($topInfo || $icons) : ?>
    <aside class="article-aside clearfix">
    <?php if ($topInfo): ?>
    <?php echo JLayoutHelper::render('joomla.content.info_block.block', array('item' => $this->item, 'params' => $params, 'position' => 'above')); ?>
    <?php endif; ?>

    <?php if ($icons): ?>
    <?php echo JLayoutHelper::render('joomla.content.icons', array('item' => $this->item, 'params' => $params, 'print' => $this->print)); ?>
    <?php endif; ?>
    </aside>
    <?php endif; ?>
    <!-- //Aside -->

    It will look like this: http://prntscr.com/7v47jl

    2. I would need to take a closer look at your site and see this tagged item page. You can PM me URL and admin login info of your site and tell me the menu item which shows tagged items as your screenshot.

    linnea Friend
    #659524

    Thank you so much Saguaros, solution #1 worked like a dream! I’m sorry I didn’t notice earlier, I thought I had subscribed to this thread so I would receive an e-mail alert when I had received a response but for reason I didn’t. Would you still be able to look at issue #2 or should I post a new thread since this one is so old?

    linnea Friend
    #744989

    Thank you so much Saguaros, solution #1 worked like a dream! I’m sorry I didn’t notice earlier, I thought I had subscribed to this thread so I would receive an e-mail alert when I had received a response but for reason I didn’t. Would you still be able to look at issue #2 or should I post a new thread since this one is so old?

    Saguaros Moderator
    #659733

    No problem! You can PM me URL and admin login info of your site and tell me the menu item which shows tagged items as your screenshot.

    linnea Friend
    #663023

    Hi Saguaros,

    I realize that we have two threads going right now, but I didn’t want to confuse things so I thought I’d post here for this specific issue.

    Have you found a way to add the published date to the pages on my site which display tagged items? I guess this would make the display look very similar to the standard category blog, but the menu points would feed from tags and not categories, which is very important for us since many of our articles belong in different areas and we do not want to have to duplicate them multiple times in order to put them in multiple categories.

    linnea Friend
    #745967

    Hi Saguaros,

    I realize that we have two threads going right now, but I didn’t want to confuse things so I thought I’d post here for this specific issue.

    Have you found a way to add the published date to the pages on my site which display tagged items? I guess this would make the display look very similar to the standard category blog, but the menu points would feed from tags and not categories, which is very important for us since many of our articles belong in different areas and we do not want to have to duplicate them multiple times in order to put them in multiple categories.

    Saguaros Moderator
    #663105

    Hi linnea,

    By default, the tagged items don’t show date info there, you will have to customise / override com_tags to list it out.

    Below is my workaround:

    – Go to the file: /root/templates/uber/html/com_tags/tag/default_items.php
    – Underneath this line of code:

    <?php echo $item->event->afterDisplayTitle; ?>

    add this code to show published date:


    <div class="tag-published-date">
    <?php echo $this->escape($item->core_publish_up); ?>
    </div>

    It will look like this: http://prntscr.com/86or4l

    linnea Friend
    #664882

    Thank you very much, that worked perfectly!

    I do realize that this is not a default feature. I do hope that it is built into Joomla in the future. In many ways it seems like the Tag feature is in the beginning stages and still needs a bit of work to be fully functional.

    linnea Friend
    #746384

    Thank you very much, that worked perfectly!

    I do realize that this is not a default feature. I do hope that it is built into Joomla in the future. In many ways it seems like the Tag feature is in the beginning stages and still needs a bit of work to be fully functional.

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

This topic contains 10 replies, has 2 voices, and was last updated by  linnea 9 years, 2 months ago.

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