Tagged: About, Decor, Hide Full Profile, ja decor, Our Team
-
AuthorPosts
-
April 30, 2016 at 7:28 pm #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)
-
pavit Moderator
pavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
May 1, 2016 at 6:03 am #924863Hi
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 user says Thank You to pavit for this useful post
May 7, 2016 at 10:46 pm #927962Hi, 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 Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
AuthorPostsViewing 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
Jump to forum
-