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 Switching Template based on Site Language

More
16 years 9 months ago #24726 by Duke
We run a multilingual (Arabic/English) site with Kunena installed.

The language files seem to do their job, but as Arabic is RTL, we need to way to dynamically change the Template selection to reflect the same. We currently have two templates, one for English and another for Arabic (RTL).

Typically, we use:

if($this->direction == 'rtl')

as the means to determine which Template to choose within Joomla, but how would a similar approch be performed with Kunena.

Appreciate if someone could point this out to us or any other approch to achive the same.

Please Log in or Create an account to join the conversation.

More
16 years 9 months ago #24728 by xillibit
Hello,

I think that i can make a little to allow changing template in the user profile in frontend.

I don't provide support by PM, because this can be useful for someone else.

Please Log in or Create an account to join the conversation.

More
16 years 9 months ago #24729 by Duke
A better option would be to allow changing the template from the frontend of the forum.

As a site admin, I can always configure a special URL link with template parameters passed into it to solve this problem.

What can I do for the time being to achive this?

Please Log in or Create an account to join the conversation.

More
16 years 9 months ago - 16 years 9 months ago #24773 by xillibit
I have do the modification, you can try it :

Attachment template_frontend.zip not found



you need to modify the database with this query :
Code:
ALTER TABLE `jos_fb_users` ADD `template` TEXT NULL DEFAULT NULL ;

I don't provide support by PM, because this can be useful for someone else.
Last edit: 16 years 9 months ago by xillibit.

Please Log in or Create an account to join the conversation.

More
16 years 9 months ago #24807 by kmilos
Another crazy idea to try might be, if you're using JoomFish already, to hack the new fb_config content elemet to include and the template parameter as well for each language?

Please Log in or Create an account to join the conversation.

More
16 years 9 months ago #24842 by Duke
kmilos wrote:

Another crazy idea to try might be, if you're using JoomFish already, to hack the new fb_config content elemet to include and the template parameter as well for each language?


This is not just another crazy idea, this is an ideal solution for my case and that of many others with JoomFish and both LTR and RTL setups.

I still believe the frontend should have a language/template switch for users to choose from as an option. But as a request I would consider it to be something belonging to the "Wish List".

Thanks and million kmilos and xillibit. :cheer:

Please Log in or Create an account to join the conversation.

Time to create page: 0.231 seconds