-
AuthorPosts
-
southsouthworld Friend
southsouthworld
- Join date:
- April 2017
- Posts:
- 257
- Downloads:
- 15
- Uploads:
- 56
- Thanks:
- 14
- Thanked:
- 4 times in 4 posts
June 2, 2017 at 8:16 am #1038979The codes worked when I placed them in the K2 Directory category-item.php and item.php
southsouthworld Friendsouthsouthworld
- Join date:
- April 2017
- Posts:
- 257
- Downloads:
- 15
- Uploads:
- 56
- Thanks:
- 14
- Thanked:
- 4 times in 4 posts
June 2, 2017 at 8:21 am #1038985I am trying for this page URL: http://africa.yabanciturkler.com/
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
June 5, 2017 at 3:47 am #1039481I used the extension, Additional Categories for K2 (https://extensions.joomla.org/extension/additional-categories-for-k2/) So then I tried adding the codes below in the JA K2 Filter category_item.php and the item.php. But it is still not showing the categories I would like.
JA K2 Filter doesn’t work with Additional Categories for K2, you can make it show the categories but I’m not sure that two components will work well together.
southsouthworld Friendsouthsouthworld
- Join date:
- April 2017
- Posts:
- 257
- Downloads:
- 15
- Uploads:
- 56
- Thanks:
- 14
- Thanked:
- 4 times in 4 posts
June 5, 2017 at 6:23 am #1039513Hi Luna,
I hope you had a great weekend. I have been trying over the last few days. Please kindly let me know if it is possible to hide the extra fields in the map info box with a code? I would be super grateful for this.
Kindest regards,
AlyssaLuna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
June 5, 2017 at 7:05 am #1039521I hope you had a great weekend. I have been trying over the last few days. Please kindly let me know if it is possible to hide the extra fields in the map info box with a code? I would be super grateful for this.
Thanks for kind words.
What you mean by hide the extra fields? Hide all of them, or some of them ?
If you want to hide all, you can use a config in K2 Options. If you want to hide some of them, it will be hard if you use code only, and it won’t be flexible for any cases.southsouthworld Friendsouthsouthworld
- Join date:
- April 2017
- Posts:
- 257
- Downloads:
- 15
- Uploads:
- 56
- Thanks:
- 14
- Thanked:
- 4 times in 4 posts
June 5, 2017 at 9:20 am #1039548Hi Luna, thanks for your prompt response! 🙂
Because the sub-domain map pages (arab.yabanciturkler.com, agro.yabanciturkler.com) are working as K2 category menu item types, I changed to "hide extra fields" settings but I am still seeing the extra fields. How can I fix this?
southsouthworld Friendsouthsouthworld
- Join date:
- April 2017
- Posts:
- 257
- Downloads:
- 15
- Uploads:
- 56
- Thanks:
- 14
- Thanked:
- 4 times in 4 posts
June 5, 2017 at 9:25 am #1039549Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
June 6, 2017 at 8:21 am #1039898southsouthworld Friendsouthsouthworld
- Join date:
- April 2017
- Posts:
- 257
- Downloads:
- 15
- Uploads:
- 56
- Thanks:
- 14
- Thanked:
- 4 times in 4 posts
June 6, 2017 at 8:39 am #1039911Hi Luna,
Sorry for bothering you. Just wanted to know if there is a way to:
- Hide all the extra fields in the infomap box for K2 category menu type? (these are for my sub-domain landing map pages set as K2 Category menu type: agro.yabanciturkler.com, arab.yabanciturkler.com)
- Show the sub-nav menu for all K2 items shown in JA K2 Filter item list menu type? (This is for the main domain page set as a JA K2 Filter item list menu type: yabanciturkler.com and yabanciturkler.com/map)
Many thanks in advance!
Kindest regards,
Alyssasouthsouthworld Friendsouthsouthworld
- Join date:
- April 2017
- Posts:
- 257
- Downloads:
- 15
- Uploads:
- 56
- Thanks:
- 14
- Thanked:
- 4 times in 4 posts
June 7, 2017 at 11:58 am #1040330Hi Luna, I hope you are doing great. I would appreciate your kind help on how I can put the subnav menu for all K2 items shown in this screenshot.
Kindest regards,
Alyssa
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
June 8, 2017 at 7:52 am #1040594Hi,
I just check this site http://www.yabanciturkler.com/, and see that problem on your site is solved. Is it fixed ?
southsouthworld Friendsouthsouthworld
- Join date:
- April 2017
- Posts:
- 257
- Downloads:
- 15
- Uploads:
- 56
- Thanks:
- 14
- Thanked:
- 4 times in 4 posts
June 8, 2017 at 9:48 am #1040659Hi Luna, thanks for getting back to me.
For example in this URL: http://www.yabanciturkler.com/component/k2/48-centre-excellence/329/technological-methods-for-obtaining-fish-planting-material-and-commercial-fish-farming-of-pike-perch
The green subnav menu is missing, could you please help me fix it as I have been trying for the last 2 days.
Kindest regards,
Alyssasouthsouthworld Friendsouthsouthworld
- Join date:
- April 2017
- Posts:
- 257
- Downloads:
- 15
- Uploads:
- 56
- Thanks:
- 14
- Thanked:
- 4 times in 4 posts
June 8, 2017 at 9:51 am #1040660I have tried very hard to fix but I cannot find a solution to hiding the extra fields for the K2 category menu items, so I will go and hire a developer to fix the problem. Could you please tell me which K2 files they will need to fix to get it to work like the JA K2 Filter item list menu type?
southsouthworld Friendsouthsouthworld
- Join date:
- April 2017
- Posts:
- 257
- Downloads:
- 15
- Uploads:
- 56
- Thanks:
- 14
- Thanked:
- 4 times in 4 posts
June 9, 2017 at 7:19 am #1040903Hi luna, sorry for bothering again. As the website deadline is next week, I need to finish the website soon. Could you please help me get the subnav to show on these item pages, for example URL: http://www.yabanciturkler.com/component/k2/48-centre-excellence/329/technological-methods-for-obtaining-fish-planting-material-and-commercial-fish-farming-of-pike-perch
The green subnav menu is missing, could you please kindly help me fix it. Many many thanks for your kind support as always.
Kindest regards,
Alyssasouthsouthworld Friendsouthsouthworld
- Join date:
- April 2017
- Posts:
- 257
- Downloads:
- 15
- Uploads:
- 56
- Thanks:
- 14
- Thanked:
- 4 times in 4 posts
June 9, 2017 at 12:55 pm #1040958Hi Luna, do not worry about the sub nav, I decided to just change the white color of the menu so no need to add the subnav menu as it is taking alot of time.
Instead, could you please help me to locate the code so I can give it to a developer so that they can manually change the code to hide the extra fields in the map infobox of each K2 item (http://agro.yabanciturkler.com/)
Is it located in /html/com_k2/directory/category_item.php? in the Agro-world template (http://www.yabanciturkler.com/administrator/index.php?option=com_templates&view=template&id=10071&file=L2h0bWwvY29tX2syL2RpcmVjdG9yeS9jYXRlZ29yeV9pdGVtLnBocA%3D%3D)
<div class="catItemMask">
<?php if($this->item->params->get(‘catItemExtraFields’) && count($this->item->extra_fields)): ?><div class="catItemExtraFields"> <h4><?php echo JText::_('K2_ADDITIONAL_INFO'); ?></h4> <ul> <?php foreach ($this->item->extra_fields as $key=>$extraField): ?> <?php if($extraField->value != ''): ?> <li class="<?php echo ($key%2) ? "odd" : "even"; ?> type<?php echo ucfirst($extraField->type); ?> group<?php echo $extraField->group; ?>"> <?php if($extraField->type == 'header'): ?> <h4 class="catItemExtraFieldsHeader"><?php echo $extraField->name; ?></h4> <?php elseif(($extraField->alias != 'latitude') && ($extraField->alias != 'longitude') ): ?> <span class="catItemExtraFieldsLabel"><?php echo $extraField->name; ?></span> <span class="catItemExtraFieldsValue"><?php echo $extraField->value; ?></span> <?php endif; ?> </li> <?php endif; ?> <?php endforeach; ?> </ul> <div class="clr"></div> </div>
AuthorPostsThis topic contains 30 replies, has 2 voices, and was last updated by Luna Garden 7 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum