• Register or
  • Sign In
    • Forgot your password?
    • Forgot your username?
    Or sign in with your account on:
    Facebook
    Twitter

K2 | The powerful content extension for Joomla! developed by JoomlaWorks

  • home
  • about
  • blog
  • documentation
  • extend K2
  • showcase
  • community
  • demo
K2 brings the good parts from Drupal and Wordpress into Joomla!
  • Index
  • Recent Topics
  • Search
Welcome, Guest

To post messages, you need to login first.
K2 Community Forum
K2 Community Forum
New to K2? Ask here first!

How to remove header "Image Gallery"
(1 viewing) (1) Guest
Reply Topic
New Topic
  • Page:
  • 1

TOPIC: How to remove header "Image Gallery"

How to remove header "Image Gallery" 3 months, 2 weeks ago #8107

  • Jan Suhr
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
Jan Suhr
Nyköping, Sweden
Reply Quote

Re: How to remove header "Image Gallery" 3 months, 2 weeks ago #8134

  • Jakub Jedynak
  • ( User )
  • OFFLINE
  • Junior Boarder
  • Posts: 35
You must edit template for article view.

In 'components/com_k2/templates/default/item.php' about line 536 (delete it):

<h3><?php echo JText::_('K2_IMAGE_GALLERY'); ?></h3>

The best way is use overrides (search forum if you don't know how to use it) .
Reply Quote

Re: How to remove header "Image Gallery" 3 months, 2 weeks ago #8178

  • Jan Suhr
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
Thanks,

I have followed the instructions from here:
getk2.org/documentation/tutorials/item/1...pts-of-sub-templates

I then renamed the default folder to "articles" and I selected it in the Category settings and changed the item.php file as you suggested.

But it still doesn't work.

Jan
Jan Suhr
Nyköping, Sweden
Reply Quote

Re: How to remove header "Image Gallery" 3 months, 2 weeks ago #8181

  • Jan Suhr
  • ( User )
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
OK, I have found it.

It was the file "category_item.php" that needed the editing:

Line 234
  <!-- Item image gallery -->
<div class="catItemImageGallery">
<!--<h4><?php echo JText::_('K2_IMAGE_GALLERY'); ?></h4>-->
<?php echo $this->item->gallery; ?>
</div>
<?php endif; ?>


Problem solved.

Jan
Jan Suhr
Nyköping, Sweden
Reply Quote
Reply Topic
New Topic
  • Page:
  • 1
K2 Community Forum
K2 Community Forum
New to K2? Ask here first!
Moderators: Simon Wells
Find this topic helpful? Why not share it with others?
Tweet
Powered by Kunena
Time to create page: 0.23 seconds
Advertisement
  • Contact us
  • Become a partner
back to top
Copyright © 2006 - 2012 JoomlaWorks Ltd. All rights reserved. K2 is released under the GNU/GPL v2 license.
Joomla! is a registered trademark of Open Source Matters, Inc. JoomlaWorks/K2 are not affiliated with or endorsed by Open Source Matters or the Joomla! Project.
developed by Nuevvo