Listing of post

  • Han
  • Han's Avatar Offline Topic Author
  • Senior Member
  • Senior Member
  • Thanks: 1
  • Posts: 64

Listing of post was created by Han

Posted 9 months 2 weeks ago #16825
After the update to 6.0.2 I found a non-translated code in the listing of a post. 

Post by Han

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

Replied by Joomla!NL on topic Listing of post

Posted 9 months 2 weeks ago #16829
check this post
Have you checked your languages files?

 
Last Edit:9 months 2 weeks ago Post by Joomla!NL
Last edit: 9 months 2 weeks ago by Joomla!NL.

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

  • Han
  • Han's Avatar Offline Topic Author
  • Senior Member
  • Senior Member
  • Thanks: 1
  • Posts: 64

Replied by Han on topic Listing of post

Posted 9 months 2 weeks ago #16830
In the Kunena template it works normally, thus I think this is a Kbee issue
Post by Han

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

Replied by Joomla!NL on topic Listing of post

Posted 9 months 2 weeks ago #16831
I looked in KPraxis and I think there are some redundant language strings in en-GB.kunena_tmpl_nts_[templatenename].ini
Code:
COM_KUNENA_TOPIC = "Topic" COM_KUNENA_TOPICS = "Topics" COM_KUNENA_GEN_REPLY = "Reply" COM_KUNENA_GEN_REPLIES = "Replies" ; COM_KUNENA_MESSAGE_CREATED_NEW = "Create by:" COM_KUNENA_MESSAGE_CREATED = "" COM_KUNENA_MESSAGE_REPLIED_NEW = "Re:"
In KPraxis, for example, the "Hide Re" setting does not work because of this. I hadn't seen it because I had already hidden it with a language override.
 

Furthermore there is something wrong in
Code:
nts_kpraxis\layouts\message\item\default.php
when calling
Code:
$langstr
around  line 51.
Developers should look into this.
Think it should be like this:
Code:
    $langstr = $isReply ? 'COM_KUNENA_MESSAGE_REPLIED_NEW' : 'COM_KUNENA_MESSAGE_CREATED_NEW'; //echo Text::sprintf($langstr, $message->getAuthor()->getLink(), $this->getTopicLink($this->message->getTopic(), $this->message, $this->message->displayField('subject'), null, KunenaTemplate::getInstance()->tooltips() . ' ktopic-title'));     ?>     <div class="kmsg-title">           <h4>         <?php if (!$isReply) :         ?>          <?php        echo $this->message->displayField('subject');    ?>         <span><?php echo Text::sprintf($langstr, $message->getAuthor()->getLink(), null); ?></span>         <?php else :             ?>         <span><?php echo Text::sprintf($langstr, $message->getAuthor()->getLink(), null); ?></span>          <?php echo $this->message->displayField('subject');    ?>                      <?php endif; ?>         </h4>
Can't get the title tooltip to work (not smart enough)
Last Edit:9 months 2 weeks ago Post by Joomla!NL
Last edit: 9 months 2 weeks ago by Joomla!NL.
The following user(s) said Thank You: ntstore

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

Replied by ntstore on topic Listing of post

Posted 9 months 2 weeks ago #16833
Hi Han,
Please try to download the template package on our website and compare with current version on your website. We have fixed this issue and updated to the template download package.

Regards,

Hung Pham
Email: 9themestore@gmail.com
Twitter: @9themestore

Post by ntstore

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

  • Han
  • Han's Avatar Offline Topic Author
  • Senior Member
  • Senior Member
  • Thanks: 1
  • Posts: 64

Replied by Han on topic Listing of post

Posted 9 months 1 week ago #16834
Hi Hung Pham,

my problem was the update procedure comparing each file.
It would have been much easier if one could just re-install the template without the changes made in customed files.

problem is solved.
Post by Han

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

  • Han
  • Han's Avatar Offline Topic Author
  • Senior Member
  • Senior Member
  • Thanks: 1
  • Posts: 64

Replied by Han on topic Listing of post

Posted 9 months 1 week ago #16835
I'm sorry, the problem still exists.
I get this after searching for 'Plaatsnaam'.
In the search list I click on one of the post;
there it reveals the author of the post but then, when I click on the name of the post I get the post with the error

Please look into this for the planning date to go live is next wednesday. On tuesdayafternoon/wednesday the site is closed for migrating.
 
Post by Han

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

Replied by Joomla!NL on topic Listing of post

Posted 9 months 1 week ago #16836
Did you install the latest package?
I don't have KBee so can't test it.
Temporary fix could be to make language overrides for the two constants and  leave the textfield empty.
Last Edit:9 months 1 week ago Post by Joomla!NL
Last edit: 9 months 1 week ago by Joomla!NL.

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

  • Han
  • Han's Avatar Offline Topic Author
  • Senior Member
  • Senior Member
  • Thanks: 1
  • Posts: 64

Replied by Han on topic Listing of post

Posted 9 months 1 week ago #16837
In my humble opinion this has nothing to do with untranslation of language files. The involved constant COM_KUNENA_MESSAGE_REPLIED_NEW is included in both English and Dutch file. The mistake is that the next red part of the constant <em>%1$s </em> in topic <em>%2$s</em> is not filled with the name of the replier to the topic. The topic itself is correctly filled.
Last Edit:9 months 1 week ago Post by Han
Last edit: 9 months 1 week ago by Han. Reason: pict

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

Replied by Joomla!NL on topic Listing of post

Posted 9 months 1 week ago #16838
I know. But what is the new code in layouts\message\item\default.php after developers updated the template?
Language files are ok and my workaround with language overrides is just a quick fix to show only the topic title.
I have hidden it myself because, in my view, it is redundant information.
The name of the person who posted the message is already next to the message (in profile).
Last Edit:9 months 1 week ago Post by Joomla!NL
Last edit: 9 months 1 week ago by Joomla!NL.

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

Time to create page: 0.765 seconds