Kunena 7.0.2 Released
The Kunena team has announce the arrival of Kunena 7.0.2 [K 7.0.2] in stable which is now available for download as a native Joomla extension for J! 5.3.x/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.
Solved SOLVED - How to center the default kunena module positions
13 years 5 months ago - 13 years 5 months ago #135178
by piprees
I need to modify the code for the following built in Kuena module postions so i can add CSS to center them in the screen.
kunena_section_1 ... kunena_section_n, where n = number of section in a page, puts an add after (n)umbers of sections in your index
kunena_topic_1 ... kunena_topic_n, where n = number of topics in a page, puts an add after (n)umbers of topics in a section
kunena_msg_1 ... kunena_msg_n, where n = number of messages in a page, puts an add after (n)umbers of messages in a topic
kunena_profilebox
kunena_announcement
kunena_bottom
At the moment they all appear left justified as appears on this example - www.localtradeclub.co.uk/tradeforum/test...0-banner-layout-test
I need to change the appropriate code to add css styling but unsure as to where to look
kunena_section_1 ... kunena_section_n, where n = number of section in a page, puts an add after (n)umbers of sections in your index
kunena_topic_1 ... kunena_topic_n, where n = number of topics in a page, puts an add after (n)umbers of topics in a section
kunena_msg_1 ... kunena_msg_n, where n = number of messages in a page, puts an add after (n)umbers of messages in a topic
kunena_profilebox
kunena_announcement
kunena_bottom
At the moment they all appear left justified as appears on this example - www.localtradeclub.co.uk/tradeforum/test...0-banner-layout-test
I need to change the appropriate code to add css styling but unsure as to where to look
Last edit: 13 years 5 months ago by piprees.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #135180
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic Where do i find Code for Module Postions
Is your question about how to change the Kunena template (the source code lives in ../components/com_kunena/template/<Kunena-template>) or is your question about how to change your Joomla template (the source code lives in ../template/<Joomla-template>)?
There are many online resources that help you add your own module positions to your Joomla site template. Unfortunately there are not many good resources that help you modify your Kunena site template. The best I can do here is to refer you to How to create a template for Kunena .
There are many online resources that help you add your own module positions to your Joomla site template. Unfortunately there are not many good resources that help you modify your Kunena site template. The best I can do here is to refer you to How to create a template for Kunena .
Blue Eagle vs. Crypsis reference guide
Read my blog and
The following user(s) said Thank You: piprees
Please Log in or Create an account to join the conversation.
13 years 5 months ago #135196
by piprees
Replied by piprees on topic Where do i find Code for Module Postions
I want to modify the default kunena module positions. I want to change the css etc so that the banners that appear after x number of messages centre in the forum block rather than appear left justified.
From your message that indicates i need to modify the specific kuena template - im using the default blue eagle one at present
From your message that indicates i need to modify the specific kuena template - im using the default blue eagle one at present
Please Log in or Create an account to join the conversation.
13 years 5 months ago - 13 years 5 months ago #135197
by piprees
Replied by piprees on topic Where do i find Code for Module Postions
I have found in components/com_kunena/views/topics/view.html.php the following line
217 $this->module = $this->getModulePosition('kunena_topic_' . $this->position);
But that relates to the default module position of kunena_topic_1 ... kunena_topic_n, where n = number of topics in a page, puts an add after (n)umbers of topics in a section
217 $this->module = $this->getModulePosition('kunena_topic_' . $this->position);
But that relates to the default module position of kunena_topic_1 ... kunena_topic_n, where n = number of topics in a page, puts an add after (n)umbers of topics in a section
Last edit: 13 years 5 months ago by piprees.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #135198
by piprees
Replied by piprees on topic Where do i find Code for Module Postions
What view do i need to look at to find where the default position of kunena_msg_1 ... kunena_msg_n, where n = number of messages in a page, puts an add after (n)umbers of messages in a topic
Please Log in or Create an account to join the conversation.
13 years 5 months ago #135199
by piprees
Replied by piprees on topic Where do i find Code for Module Postions
Basically i want to be able to apply the following CSS code to the default module positions used for the banners within the forum display
}
div.centermodule {
width: 100%;
text-align:center;
}
}
div.centermodule {
width: 100%;
text-align:center;
}
Please Log in or Create an account to join the conversation.
Time to create page: 0.265 seconds