Can't hide K2 image
Support desk for Villa Belluci Joomla Hotel Template
- GK User
- Mon Aug 31, 2015 6:32 pm
Hi,
Not sure if this is a bug, but we can't hide K2 item image from K2 setting, neither using category setting nor specific item view setting.
Please help!
Not sure if this is a bug, but we can't hide K2 item image from K2 setting, neither using category setting nor specific item view setting.
Please help!
-
- Expert Boarder
- GK User
- Mon Aug 31, 2015 6:46 pm
Hi everybody,
Got it fixed by myself after doing a simple modification. Instead of deleting this topic, I'll post the fix here, in case somebody may need it later.
Open the item.php in gk_hotel\templates\gk_hotel\html\com_k2\templates\default
Find :
It's on line 51 if the file haven't edited before.
and replace that line with:
That's it!
Hope this helpful...
Got it fixed by myself after doing a simple modification. Instead of deleting this topic, I'll post the fix here, in case somebody may need it later.
Open the item.php in gk_hotel\templates\gk_hotel\html\com_k2\templates\default
Find :
- Code: Select all
<?php if(!empty($this->item->image)) : ?>
It's on line 51 if the file haven't edited before.
and replace that line with:
- Code: Select all
<?php if($params->get('itemImage') && !empty($this->item->image)): ?>
That's it!
Hope this helpful...
-
- Expert Boarder
- teitbite
- Tue Sep 01, 2015 8:58 am
Hi
It was designed like that, to use image whenever possible, but I guess it's more logical to leave it up the the user. Ok. I'll inform programmers about it. Thank You for the report.
It was designed like that, to use image whenever possible, but I guess it's more logical to leave it up the the user. Ok. I'll inform programmers about it. Thank You for the report.
-
- Moderator
- teitbite
- Fri Sep 04, 2015 11:22 am
Hi
Programmers has fixed this problem. Updated packages will be available with the upcoming release.
Programmers has fixed this problem. Updated packages will be available with the upcoming release.
-
- Moderator
- GK User
- Fri Sep 04, 2015 5:34 pm
Ok! Thank you teibite!
-
- Expert Boarder
- GK User
- Wed Sep 30, 2015 5:34 pm
Thanks for help me DZALANG.
still I am waiting the package update TEITBITE
still I am waiting the package update TEITBITE
-
- Fresh Boarder
- GK User
- Sun Oct 04, 2015 9:16 am
You're welcome, dude!
-
- Expert Boarder
- teitbite
- Wed Oct 07, 2015 10:07 am
Hi
I can see this fix was implemented into templates on 4th September, so new release will have it included.
I can see this fix was implemented into templates on 4th September, so new release will have it included.
-
- Moderator
8 posts
• Page 1 of 1