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

NTS Kay v5.4.1 - Topics style bug

ciklon's Avatar Topic Author
Senior Member Senior Member
  • Posts: 63
  • Thanks: 11

NTS Kay v5.4.1 - Topics style bug

5 years 3 months ago - 5 years 3 months ago
#16053
For several versions now, there has been the same bug in the style of topics, which has not been fixed, and with each new version I have to debug it.
The bug is: increased font size, the top panel with buttons and the title are merged with the topic, the whole opinion has a gray background as if the class "well" is used

Solution:

/components/com_kunena/template/nts_kay/layouts/topic/item/default.php


#71
Code:
<?php echo $this->subLayout('Topic/Item/Rating')->set('category', $this->category)->set('topicid', $topic->id)->set('config', $this->config);?>

Replace
Code:
<?php echo $this->subLayout('Topic/Item/Rating')->set('category', $this->category)->set('topic', $topic)->set('config', $this->config); ?>

Please note attention and finally fix this bug.
"I know that I know nothing" - Socrates

Attachments:

Last edit: 5 years 3 months ago by ciklon.
The following user(s) said Thank You: ntstore, Tom001

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

T
Senior Member Senior Member
  • Posts: 47
  • Thanks: 2

Re: NTS Kay v5.4.1 - Topics style bug

5 years 3 months ago
#16057
wunderful - that works perfectly!!!!

Is this change and all yor other changes in my layout save - even if an update would be installed?

thx

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

ciklon's Avatar Topic Author
Senior Member Senior Member
  • Posts: 63
  • Thanks: 11

Re: NTS Kay v5.4.1 - Topics style bug

5 years 3 months ago
#16059
If the author of NTS Kay template (9themestore.com) does not fix the issues changes must be made with each subsequent update.
"I know that I know nothing" - Socrates

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

ntstore's Avatar
Administrator Administrator
  • Posts: 1213
  • Thanks: 240

Re: NTS Kay v5.4.1 - Topics style bug

5 years 3 months ago
#16060
Hi ciklon,

Thank you very much about your suggestion. We updated your suggest code to download and fixed some warning with the NTS Kay template. Please download the template package and update on your website to fix above issue.

Best regards,
Hung Pham
Email: 9themestore@gmail.com
Twitter: @9themestore

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

ciklon's Avatar Topic Author
Senior Member Senior Member
  • Posts: 63
  • Thanks: 11

Re: NTS Kay v5.4.1 - Topics style bug

5 years 3 months ago
#16061
Hi ntstore,

Errors and warnings issues appear to be resolved. Thank you.
Topics style bug is solved, but there are redundant characters in the title of topics.




p.s. The problem with the missing quick reply button remains.
I see at least 2 more remarks but I will write in new topics.

Best regards
"I know that I know nothing" - Socrates

Attachments:

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

ntstore's Avatar
Administrator Administrator
  • Posts: 1213
  • Thanks: 240

Re: NTS Kay v5.4.1 - Topics style bug

5 years 3 months ago - 5 years 3 months ago
#16062
Thank you @ciklon,
We fixed this issue and update to download package. Please download the template package and update to your website or open the "[root]\components\com_kunena\template\nts_kay\layouts\message\item\default.php" file.

Replace:
Code:
echo Text::sprintf($langstr, $message->getAuthor()->getLink(), $this->getTopicLink($this->message->getTopic(), $this->message, $this->message->displayField('subject'), null, KunenaTemplate::getInstance()->tooltips()));?>?>

by
Code:
echo Text::sprintf($langstr, $message->getAuthor()->getLink(), $this->getTopicLink($this->message->getTopic(), $this->message, $this->message->displayField('subject'), null, KunenaTemplate::getInstance()->tooltips()));?>

Best regards,
Hung Pham
Email: 9themestore@gmail.com
Twitter: @9themestore
Last edit: 5 years 3 months ago by ntstore.

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

ciklon's Avatar Topic Author
Senior Member Senior Member
  • Posts: 63
  • Thanks: 11

Re: NTS Kay v5.4.1 - Topics style bug

5 years 3 months ago
#16064
Thank you ntstore, the issue is solved.
"I know that I know nothing" - Socrates

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

Time to create page: 0.263 seconds