- Posts: 29
- Thank you received: 1
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
Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.
Question Kunena default page
16 years 3 months ago #37747
by taiklan
Kunena default page was created by taiklan
Is it possible to make the default Kunena page inside a category?!?
I'm not really using the categories (only have one) and therefore want to link directly into my only category where users can also submit "new threads".
I know I can achieve this by making a menu with that specific url:
index.php?option=com_kunena&Itemid=99&func=showcat&catid=8
but then the forum isn't displayed in the correct Kunena menu when accessed via a Kunena recent module.
Thanks
I'm not really using the categories (only have one) and therefore want to link directly into my only category where users can also submit "new threads".
I know I can achieve this by making a menu with that specific url:
index.php?option=com_kunena&Itemid=99&func=showcat&catid=8
but then the forum isn't displayed in the correct Kunena menu when accessed via a Kunena recent module.
Thanks
Please Log in or Create an account to join the conversation.
16 years 3 months ago #37749
by taiklan
Replied by taiklan on topic Kunena default page
Hi
I read a old post that explained how to make a certain category the default landing page when entering the forum.
It said to change this:
if ($func == '') // Set default start page as per config settings
{
switch ($fbConfig->fbdefaultpage)
{
case 'recent':
$func = 'latest';
break;
case 'my':
$func = $kunena_my->id > 0 ? 'mylatest' : 'latest';
break;
default:
$func = 'listcat';
}
}
to this:
if ($func == '') // Set default start page as per config settings
{
$func = 'showcat';
$catid = YOUR_CATEGORY_ID_HERE;
}
But this doesn't change anything for my site unfortunately. I changed it in line 177 (not 307-320 as it said in the post) in fb_layout.php ...
What am I doing wrong?
Thanks
I read a old post that explained how to make a certain category the default landing page when entering the forum.
It said to change this:
if ($func == '') // Set default start page as per config settings
{
switch ($fbConfig->fbdefaultpage)
{
case 'recent':
$func = 'latest';
break;
case 'my':
$func = $kunena_my->id > 0 ? 'mylatest' : 'latest';
break;
default:
$func = 'listcat';
}
}
to this:
if ($func == '') // Set default start page as per config settings
{
$func = 'showcat';
$catid = YOUR_CATEGORY_ID_HERE;
}
But this doesn't change anything for my site unfortunately. I changed it in line 177 (not 307-320 as it said in the post) in fb_layout.php ...
What am I doing wrong?
Thanks
Please Log in or Create an account to join the conversation.
16 years 3 months ago #37760
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic Re:Kunena default page
It took me some time to find the reference to that "old post" you wrote about. If you looked at that discussion
Start Kunena inside a category of my choice
you will notice two things: (1) it was written 4½ months ago and (2) the author said that his solution didn't work.
Actually, this may be another case of trying to implement a technical solution to a non-technical problem. Let me elaborate for a moment.
While it may be possible to modify the Kunena component to do what you want done, you are imposing a migration dependency that may affect (or jeopardise) your ability to take advantage of new versions of Kunena when they are released. For this reason I try to warn people to think very carefully about tinkering inside Kunena ... unless they want to be saddled with the responsibility of making the same changes over and over again every time a new version of the base product is released. As Kunena is improved over time, it is also undergoing significant redesign and the tips and tricks of the past may find themselves totally useless in the future. :S
However, there is a much easier solution to your problem and it's one that doesn't involve any changes. See Link Menu Item to Forum Category?
Actually, this may be another case of trying to implement a technical solution to a non-technical problem. Let me elaborate for a moment.
While it may be possible to modify the Kunena component to do what you want done, you are imposing a migration dependency that may affect (or jeopardise) your ability to take advantage of new versions of Kunena when they are released. For this reason I try to warn people to think very carefully about tinkering inside Kunena ... unless they want to be saddled with the responsibility of making the same changes over and over again every time a new version of the base product is released. As Kunena is improved over time, it is also undergoing significant redesign and the tips and tricks of the past may find themselves totally useless in the future. :S
However, there is a much easier solution to your problem and it's one that doesn't involve any changes. See Link Menu Item to Forum Category?
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
16 years 3 months ago #37854
by taiklan
Replied by taiklan on topic Re:Kunena default page
Hi Sozzled
Thanks again for your great support.
I understand your points about messing about with the Kunena code, and I would most definitely prefer NOT to edit the code. That's why I initially also made a menu link to that specific category, just like you mentioned in the "Link Menu Item to Forum Category".
However then I have the problem that when you use the thread links in "Kunena recent" module - on for example the front page - then I'm not redirected to the proper menu! To solve this I need to have the default Kunena menu also, and I only want one menu that links to the forum to avoid confusion...
Hope you can help
Thanks again for your great support.
I understand your points about messing about with the Kunena code, and I would most definitely prefer NOT to edit the code. That's why I initially also made a menu link to that specific category, just like you mentioned in the "Link Menu Item to Forum Category".
However then I have the problem that when you use the thread links in "Kunena recent" module - on for example the front page - then I'm not redirected to the proper menu! To solve this I need to have the default Kunena menu also, and I only want one menu that links to the forum to avoid confusion...
Hope you can help
Please Log in or Create an account to join the conversation.
16 years 3 months ago #37896
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic Re:Kunena default page
Your problem stems from using the "Kunena recent" module? Are you referring to
Kunena latest posts module
by any chance?
If there is a problem with the link references in that module it might be easier (and better) if they were fixed and then you would not have your problem (and you would not need to tinker around with Kunena code).
Please confirm whether I understand you correctly.
Please confirm whether I understand you correctly.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
16 years 3 months ago #37938
by taiklan
Replied by taiklan on topic Re:Kunena default page
Hi Sozzled
No I think you misunderstand me.The problem isn't really with the "Kunena recent module"... As far as I know, Joomla needs to have a menu that's a "real" Kunena menu in order for the redirects to function properly.
For example: If I have a recent news module of some kind that list new articles from category x and this module is published on the frontpage. Then I need to have a menu that lists category x if I want articles to be displayed in this menu and NOT on the frontpage when a user hits one of the article links in that module ...
The same is true for Kunena. It needs a "real" Kunena menu in order for links to threads elsewhere on the site to be displayed in the Forum menu and not the frontpage...If I only have a menu that links direct to a specific category, threads accessed from the recent module on other pages will be displayed on the frontpage.
That's why I hoped the default landing page in Kunena could be changed to a specific category.
Hope you understand my problem
No I think you misunderstand me.The problem isn't really with the "Kunena recent module"... As far as I know, Joomla needs to have a menu that's a "real" Kunena menu in order for the redirects to function properly.
For example: If I have a recent news module of some kind that list new articles from category x and this module is published on the frontpage. Then I need to have a menu that lists category x if I want articles to be displayed in this menu and NOT on the frontpage when a user hits one of the article links in that module ...
The same is true for Kunena. It needs a "real" Kunena menu in order for links to threads elsewhere on the site to be displayed in the Forum menu and not the frontpage...If I only have a menu that links direct to a specific category, threads accessed from the recent module on other pages will be displayed on the frontpage.
That's why I hoped the default landing page in Kunena could be changed to a specific category.
Hope you understand my problem
Please Log in or Create an account to join the conversation.
Time to create page: 0.226 seconds