Read before updating: How to Update Kunena Templates - More detail

How to set image on categories ?

P Topic Author
New Member New Member
  • Posts: 6
  • Thanks: 0

How to set image on categories ?

7 years 2 months ago
#15517
Hello dear
Im a new user of this template. I don't know how to set image on the differents Categories.
Can you help me please ?

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

cssyeah's Avatar
Moderator Moderator
  • Posts: 102
  • Thanks: 38

Re: How to set image on categories ?

7 years 2 months ago
#15519
Hi,

Please click to this link or follow some bellow steps to add image for a category.
- Step 1: You should know the category Id of category you want to add image (Go to back end and click to "Components -> Kunena Forum -> Categories" menu. You will see the category Id of right side).
- Step 2: Create an image and change to [category_id].png (example: 3.png or 100.png,...).
- Step 3: Upload / Copy the image to the "Root]/media/kunena/category_images/" folder.
- Step 4: Back to front-end and reload your forum to view change.

Please let me know if it does not work with you.
Best regards,
UI/UX Designer - Web developer. (UI/UX design for T4 Framework, T4 Pagebuilder, GK Framework products...)

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

P Topic Author
New Member New Member
  • Posts: 6
  • Thanks: 0

Re: How to set image on categories ?

7 years 2 months ago
#15523
Thank you very much
AND if i want to add an image to the HEADER on the index page ?
How to proceed ?

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

cssyeah's Avatar
Moderator Moderator
  • Posts: 102
  • Thanks: 38

Re: How to set image on categories ?

7 years 2 months ago
#15524
Hi,
Please send me your site url, I'll check and suggest solution for you about add image to the header of site.
UI/UX Designer - Web developer. (UI/UX design for T4 Framework, T4 Pagebuilder, GK Framework products...)

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

P Topic Author
New Member New Member
  • Posts: 6
  • Thanks: 0

Re: How to set image on categories ?

7 years 2 months ago
#15525
Yes!! here is the link: radiohof.net/index.php/forum/index

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

cssyeah's Avatar
Moderator Moderator
  • Posts: 102
  • Thanks: 38

Re: How to set image on categories ?

7 years 2 months ago
#15526
Thank you very much about your information. Do you want to add the image upper forum menu? If not please let me know the position you want to add image on your site?
UI/UX Designer - Web developer. (UI/UX design for T4 Framework, T4 Pagebuilder, GK Framework products...)

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

P Topic Author
New Member New Member
  • Posts: 6
  • Thanks: 0

Re: How to set image on categories ?

7 years 2 months ago
#15527
Yes i want to add the image upper forum menu

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

cssyeah's Avatar
Moderator Moderator
  • Posts: 102
  • Thanks: 38

Re: How to set image on categories ?

7 years 2 months ago
#15528
Follow some below steps to add image to upper forum menu.

- Step 1: Open the default.php file in the "layouts/page/" path and replace by below code section:
Code:
<?php /** * Kunena Component * @package Kunena.Template * @subpackage Layout.Widget * * @copyright Copyright (C) 2008 - 2018 Kunena Team. All rights reserved. * @license https://www.gnu.org/copyleft/gpl.html GNU/GPL * @link https://www.kunena.org **/ defined('_JEXEC') or die; $config = KunenaFactory::getTemplate()->params; ?> <div id="kunena" class="layout <?php echo $this->options->get('pageclass_sfx'); ?>"> <?php if ($config->get('displayModule')) { echo $this->subLayout('Widget/Module')->set('position', 'kunena_banner_top'); } if ($config->get('displayMenu')) { echo $this->subLayout('Widget/MenuBar'); } if ($config->get('displayModule')) { echo $this->subLayout('Widget/Module')->set('position', 'kunena_top'); } if ($config->get('displayBreadcrumb')) { echo $this->subLayout('Widget/Breadcrumb')->set('breadcrumb', $this->breadcrumb); } if ($config->get('displayAnnouncement')) { echo $this->subRequest('Widget/Announcement'); } // Display current view/layout echo $this->content; if ($config->get('displayBreadcrumb')) { echo $this->subLayout('Widget/Breadcrumb')->set('breadcrumb', $this->breadcrumb); } if ($config->get('displayModule')) { echo $this->subLayout('Widget/Module')->set('position', 'kunena_bottom'); } if ($config->get('displayFooter')) { echo $this->subLayout('Widget/Footer'); } ?> </div>

- Step 2: Create new a module container image and assign to the kunena_banner_top position.

- Step 3: Refresh your site to view all change.

Best regards,
UI/UX Designer - Web developer. (UI/UX design for T4 Framework, T4 Pagebuilder, GK Framework products...)

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

P Topic Author
New Member New Member
  • Posts: 6
  • Thanks: 0

Re: How to set image on categories ?

7 years 2 months ago
#15529
Thank you very much

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

P Topic Author
New Member New Member
  • Posts: 6
  • Thanks: 0

Re: How to set image on categories ?

7 years 2 months ago
#15530
Please help me. When i try to change the image on categories.
it doesn't work. I Upload an image with the same ID number but, i don't see the change.
Can you help me ?

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

Time to create page: 0.271 seconds