test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • roxxsolid Friend
    #924781

    I’d like it so that under the "Our Team" section on the About Page, that the team member bios are only visible AFTER you click on the "View Profile" link. Right now, it shows the full bio on the about page by default.

    Is there a way to hide the full bio until a user clicks on the "View Profile" link?

    (See attached images for clarification)


    1. Before
    2. After
    pavit Moderator
    #924863

    Hi

    Try in this way

    Edit this file /templates/ja_decor/html/com_contact/category/default_items.php and change

    FROM:

    <?php if ($this->params->get('show_position_headings')) : ?>
                            <span class="team-item-meta"><?php echo $item->con_position; ?></span>
                        <?php endif; ?>
                        <p>
                            <?php echo $item->misc; ?>
                        </p>
                        <a class="team-info-readmore" href="<?php echo JRoute::_(ContactHelperRoute::getContactRoute($item->slug, $item->catid)); ?>"><?php echo JText::_('VIEW_PROFILE'); ?></a>

    TO :

    <?php if ($this->params->get('show_position_headings')) : ?>
                            <span class="team-item-meta"><?php echo $item->con_position; ?></span>
                        <?php endif; ?>
                        <!-- <p>
                            <?php echo $item->misc; ?>
                        </p> -->
                        <a class="team-info-readmore" href="<?php echo JRoute::_(ContactHelperRoute::getContactRoute($item->slug, $item->catid)); ?>"><?php echo JText::_('VIEW_PROFILE'); ?></a>

    Hope it helps


    1. Screenshot_1
    roxxsolid Friend
    #927962

    Hi, thanks for your reply Pavit. Is there any way to accomplish this WITHOUT hacking the core files? I’m afraid this will get overwritten when the Joomla version gets updated.

    Or will this hack NOT get over-written when updating Joomla?

    pavit Moderator
    #928000

    Hi

    html folder has nothing to do with Joomla core files

    anyway you can take a look HERE on how to isolate customizations

    Regards

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

This topic contains 3 replies, has 2 voices, and was last updated by  pavit 8 years, 7 months ago.

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