- Posts: 20
- Thank you received: 0
Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Question bug.. collapse button active on just one forum category
9 years 6 months ago #180610
by hareslade
bug.. collapse button active on just one forum category was created by hareslade
hi k 5.02
i accidentally lost my forum display, i discovered the collapse button got pressed by mistake.
there shouldn't be a oollapse button visible with only one forum category existing,
tracked the bug to crypsis
com_kunena/template/crypsis/layouts/category/index/default.php
php line should be bigger than 1 not 0
if (count($this->sections) > 0) : ?>
<div class="btn btn-small" data-toggle="collapse" data-target="#section<?php echo $section->id; ?>"></div>
??
if (count($this->sections) > 1) seems to sort the problem. now get collapse buttons only when 2 categories showing.
i accidentally lost my forum display, i discovered the collapse button got pressed by mistake.
there shouldn't be a oollapse button visible with only one forum category existing,
tracked the bug to crypsis
com_kunena/template/crypsis/layouts/category/index/default.php
php line should be bigger than 1 not 0
if (count($this->sections) > 0) : ?>
<div class="btn btn-small" data-toggle="collapse" data-target="#section<?php echo $section->id; ?>"></div>
??
if (count($this->sections) > 1) seems to sort the problem. now get collapse buttons only when 2 categories showing.
Please Log in or Create an account to join the conversation.
9 years 6 months ago #180613
by 810
Replied by 810 on topic bug.. collapse button active on just one forum category
ok, changed it, thnx for the report.
Please Log in or Create an account to join the conversation.
9 years 6 months ago #180644
by hareslade
Replied by hareslade on topic bug.. collapse button active on just one forum category
Hi
thanks
having same [but not wuite] problem with the menu bar/tabs index etc,
be aware this is with a logged in user, not sure if thats relevent.
on my display on crypsisb3 it shows two menu rows, the lower one with a collapse/show arrow, upper row has none..
i use crypsis but on that, it can by the looks of it, set up with the menu blanked, but theres no display/collapse button.
strangely i think clearing the users profile cache may fix this sometimes.
could you check on your system? on j 3.6 by the way.
again, on crypsis it needs the collapse facility removing,? its just a nuisance ifitsworking incorrectly
...but solution looked a bit more complex codewise
because the function widget also handles the login display/hide button/circle so i havent approached this prob as yet.
any code suggestion appreciated.
i'm fairly sure something odd is going on with the menu bar, , anyway.
thanks
having same [but not wuite] problem with the menu bar/tabs index etc,
be aware this is with a logged in user, not sure if thats relevent.
on my display on crypsisb3 it shows two menu rows, the lower one with a collapse/show arrow, upper row has none..
i use crypsis but on that, it can by the looks of it, set up with the menu blanked, but theres no display/collapse button.
strangely i think clearing the users profile cache may fix this sometimes.
could you check on your system? on j 3.6 by the way.
again, on crypsis it needs the collapse facility removing,? its just a nuisance ifitsworking incorrectly
...but solution looked a bit more complex codewise
because the function widget also handles the login display/hide button/circle so i havent approached this prob as yet.
any code suggestion appreciated.
i'm fairly sure something odd is going on with the menu bar, , anyway.
Please Log in or Create an account to join the conversation.
9 years 6 months ago #180646
by 810
Replied by 810 on topic bug.. collapse button active on just one forum category
if you see 2 rows, that's meaning you have not the correct css classed, so the wrong bootstrap version or you don't have the full bootstrap classes.
I think you miss the responsive css classes then. Try to add it on your joomla template.
I think you miss the responsive css classes then. Try to add it on your joomla template.
Please Log in or Create an account to join the conversation.
9 years 6 months ago - 9 years 6 months ago #180836
by hareslade
Replied by hareslade on topic bug.. collapse button active on just one forum category
hi .. thanks..
on crypsis..
the main joomla template [fusion] loads * Bootstrap Responsive v2.1.1
but ive tried protostar and isis and they dont cure the missing tabs.
if i set yes for load bootstrap in crypsis basic options, it makes no difference, but extra icons appear so something extra is loading..
definately, if the tabs are in missing mode, i can click preferences while logged in, and the tabs miraculously appear
on the profile page. and if i go back to index page, tabs are now there. so whats going on!
on crypsis b3, i get two rows of tabs .. one has the collapse caret and it does collapse its own row correctly.
but obviously its still not right. - as you say, theres css missing there or bootstrap isnt working.
i ckecked the css and media files loaded for the crypsis profile page [which shows tabs] and theres no extra css file or bootstrap / responsive files loaded for the profile page, , compared to the files loaded for kunena's index page, where tabs were not showing.
any further help appreciated, i am relatively used to problem solving but this one's difficult.
a quick solution for me would be, a method to remove the collapse function completely on the kunena menu, would there be a code fix to do that in the menubar widget file?
in fact, collapsing the menu is going to confuse our users anyway, it wasn't like that on the older blue eagle.
do you have a widget menubar file fix to remove the tab collapse function altogether?
my apologgies its a bit complicated... incidentally i use firefox, i.e/edge shows similar, chrome shows a very small dropdown where the tabs should be.
on crypsis..
the main joomla template [fusion] loads * Bootstrap Responsive v2.1.1
but ive tried protostar and isis and they dont cure the missing tabs.
if i set yes for load bootstrap in crypsis basic options, it makes no difference, but extra icons appear so something extra is loading..
definately, if the tabs are in missing mode, i can click preferences while logged in, and the tabs miraculously appear
on the profile page. and if i go back to index page, tabs are now there. so whats going on!
on crypsis b3, i get two rows of tabs .. one has the collapse caret and it does collapse its own row correctly.
but obviously its still not right. - as you say, theres css missing there or bootstrap isnt working.
i ckecked the css and media files loaded for the crypsis profile page [which shows tabs] and theres no extra css file or bootstrap / responsive files loaded for the profile page, , compared to the files loaded for kunena's index page, where tabs were not showing.
any further help appreciated, i am relatively used to problem solving but this one's difficult.
a quick solution for me would be, a method to remove the collapse function completely on the kunena menu, would there be a code fix to do that in the menubar widget file?
in fact, collapsing the menu is going to confuse our users anyway, it wasn't like that on the older blue eagle.
do you have a widget menubar file fix to remove the tab collapse function altogether?
my apologgies its a bit complicated... incidentally i use firefox, i.e/edge shows similar, chrome shows a very small dropdown where the tabs should be.
Last edit: 9 years 6 months ago by hareslade.
Please Log in or Create an account to join the conversation.
9 years 6 months ago #180857
by hareslade
Replied by hareslade on topic bug.. collapse button active on just one forum category
hi
further investigation shows something rather obvious. when the index etc tab submenu is missing, the login tab is always there.
i would guess
<?php echo $this->subRequest('Widget/Menu'); ?>
calls the nearby widget in /menu/default.php
for some reason the menu/default.php code isn't always finding the menu items to populate index, tab etc.
i did rebuild the kunenamenu.
looking at the menu/default.php widget it says code is borrowed from joomla 2.5, and the 3.6 mod_menu code looks like it has changed ?
further investigation shows something rather obvious. when the index etc tab submenu is missing, the login tab is always there.
i would guess
<?php echo $this->subRequest('Widget/Menu'); ?>
calls the nearby widget in /menu/default.php
for some reason the menu/default.php code isn't always finding the menu items to populate index, tab etc.
i did rebuild the kunenamenu.
looking at the menu/default.php widget it says code is borrowed from joomla 2.5, and the 3.6 mod_menu code looks like it has changed ?
Please Log in or Create an account to join the conversation.
Time to create page: 0.244 seconds