Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • mikel2004 Friend
    #194814

    Hi!
    How to have all tag blog pages like my categories blog pages? I mean, in my case, with 3 column, image on top, article’s rating, and Read-more link?
    like this: http://veintiuno.czoom.co/cine/secciones/contemporaneo/212-argentino/

    My tag blog page right now looks like this: http://veintiuno.czoom.co/component/tags/tag/513-esteban%20menis

    Any idea are welcome.
    Thanks a lot, Horis

    Ninja Lead Moderator
    #522980

    I have replied to you here, hope it helps.

    mikel2004 Friend
    #523021

    Yes, this can change the image order, good!
    But, how can I do to have the same category blog look? with 3 column, article’s rating, and Read-more link?

    Thanks!

    Ninja Lead Moderator
    #523098

    You need to customize the components/com_tags/views/tags/tmpl/default_items.php file.

    However, this requires heavy customization which is beyond our scope of support, you should hire a developer to help you on this.

    mikel2004 Friend
    #523492

    Only, can you tell me how I can have a READ MORE link?

    Thanks

    Ninja Lead Moderator
    #523545

    <em>@mikel2004 412293 wrote:</em><blockquote>Only, can you tell me how I can have a READ MORE link?

    Thanks</blockquote>

    You can override the template and component tag to add Read more link.

    + Open the templates/ja_teline_iv_t3/html/com_tags/tag/default_items.php file

    Change


    <?php if ($this->params->get('tag_list_show_item_description', 1)) : ?>
    <span class="tag-body">
    <?php echo JHtml::_('string.truncate', $item->core_body, $this->params->get('tag_list_item_maximum_characters')); ?>
    </span>
    <?php endif; ?>

    To


    <?php if ($this->params->get('tag_list_show_item_description', 1)) : ?>
    <span class="tag-body">
    <?php echo JHtml::_('string.truncate', $item->core_body, $this->params->get('tag_list_item_maximum_characters')); ?>
    </span>
    <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 JText::_('COM_TAGS_READ_MORE');?>
    </a>
    <?php endif; ?>

    + Open the language/en-GB/en-GB.com_tags.ini file and add syntax below to the end of file:

    COM_TAGS_READ_MORE ="Read more"

    Hope it helps.

    mikel2004 Friend
    #524106

    Yes man!!! You ´re the best!

    One more, please… Can I quit the page title and the search box?
    http://veintiuno.czoom.co/component/tags/tag/173-charlie%20chaplin

    I wish only the articles appear.

    Thanks!

    Ninja Lead Moderator
    #524239

    You can remove the page title and the search box from source code as follows:

    + Title

    Open the templates/ja_teline_iv_t3/html/com_tags/tag/default.php file, find and remove code below


    <?php if($this->params->get('show_tag_title', 1)) : ?>
    <h2>
    <?php echo JHtml::_('content.prepare', $this->document->title, '', 'com_tag.tag'); ?>
    </h2>
    <?php endif; ?>

    + Search form

    Open the templates/ja_teline_iv_t3/html/com_tags/tag/default_items.php file, find and remove code below:


    <?php if ($this->params->get('show_headings') || $this->params->get('filter_field') != 'hide' || $this->params->get('show_pagination_limit')) :?>
    <fieldset class="filters btn-toolbar">
    <?php if ($this->params->get('filter_field') != 'hide') :?>
    <div class="btn-group">
    <label class="filter-search-lbl element-invisible" for="filter-search">
    <?php echo JText::_('COM_TAGS_TITLE_FILTER_LABEL').'*'; ?>
    </label>
    <input type="text" name="filter-search" id="filter-search" value="<?php echo $this->escape($this->state->get('list.filter')); ?>" class="inputbox" onchange="document.adminForm.submit();" title="<?php echo JText::_('COM_TAGS_FILTER_SEARCH_DESC'); ?>" placeholder="<?php echo JText::_('COM_TAGS_TITLE_FILTER_LABEL'); ?>" />
    </div>
    <?php endif; ?>
    <?php if ($this->params->get('show_pagination_limit')) : ?>
    <div class="btn-group pull-right">
    <label for="limit" class="element-invisible">
    <?php echo JText::_('JGLOBAL_DISPLAY_NUM'); ?>
    </label>
    <?php echo $this->pagination->getLimitBox(); ?>
    </div>
    <?php endif; ?>

    <input type="hidden" name="filter_order" value="" />
    <input type="hidden" name="filter_order_Dir" value="" />
    <input type="hidden" name="limitstart" value="" />
    <input type="hidden" name="task" value="" />
    <div class="clearfix"></div>
    </fieldset>
    <?php endif; ?>

    mikel2004 Friend
    #524478

    EXCELENT!!! BRAVO!!

    PS: The work to convert this tag page in 3 column view, it will be very difficult?
    you could help me to do this?

    Ninja Lead Moderator
    #524578

    Regarding your request to convert tag page in 3 column view, I am afraid it will need heavy customization which is beyond scope of JA support.

    mikel2004 Friend
    #524672

    Thanks friend.
    Thanks a lot

    mikel2004 Friend
    #525339

    I found one solution here:
    http://forum.joomla.org/viewtopic.php?f=706&t=837382

    <em>@mikel2004 413546 wrote:</em><blockquote>PS: The work to convert this tag page in 3 column view, it will be very difficult?
    you could help me to do this?</blockquote>

    Ninja Lead Moderator
    #525414

    Awesome! I’m glad you found the way out.

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

This topic contains 13 replies, has 2 voices, and was last updated by  Ninja Lead 10 years, 8 months ago.

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