- Posts: 5
- Thank you received: 1
Kunena 6.2.5 & module Kunena Latest 6.0.7 released
The Kunena team has announce the arrival of Kunena 6.2.5 [K 6.2.5] which is now available for download as a native Joomla extension for J! 4.3.x/4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2
Solved $target is not set in com_kunena/template/aurelia/layouts/bbcode/url/default.php
1 year 1 month ago #1
by sl1200mk2
$target is not set in com_kunena/template/aurelia/layouts/bbcode/url/default.php was created by sl1200mk2
Hi,
Using Kunena6.0.8 on Joomla4.2.7/php8.1
in the mentioned file in the tittle I had to redefine target variable or an error is diplayed:if (!$this->internal) {
$rel = 'rel="nofollow noopener noreferrer"';
$target = ' target="' . $this->escape($this->target) . '"';
} else {
$rel = '';
$target = ' target="' . $this->escape($this->target) . '"';
}
I did it like that as I know not so much in php, so maybe a better fix exists.
best regards,
nicolas
Using Kunena6.0.8 on Joomla4.2.7/php8.1
in the mentioned file in the tittle I had to redefine target variable or an error is diplayed:if (!$this->internal) {
$rel = 'rel="nofollow noopener noreferrer"';
$target = ' target="' . $this->escape($this->target) . '"';
} else {
$rel = '';
$target = ' target="' . $this->escape($this->target) . '"';
}
I did it like that as I know not so much in php, so maybe a better fix exists.
best regards,
nicolas
The following user(s) said Thank You: xillibit
Please Log in or Create an account to join the conversation.
1 year 1 month ago #2
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic $target is not set in com_kunena/template/aurelia/layouts/bbcode/url/default.php
Hello,
Thanks for the report i will take a look to it
Thanks for the report i will take a look to it
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.
1 year 1 month ago #3
by sl1200mk2
Replied by sl1200mk2 on topic $target is not set in com_kunena/template/aurelia/layouts/bbcode/url/default.php
thank you
++
++
Please Log in or Create an account to join the conversation.
1 year 1 month ago #4
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic $target is not set in com_kunena/template/aurelia/layouts/bbcode/url/default.php
Hello,
Do-you have please an example of link with bbcode tag which produce this error ?
Do-you have please an example of link with bbcode tag which produce this error ?
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.
1 year 1 month ago #5
by sl1200mk2
Replied by sl1200mk2 on topic $target is not set in com_kunena/template/aurelia/layouts/bbcode/url/default.php
's , I've removed the new $target definition and error does not show
I'm sorry if it was a false alert but I'm quite sure I needed to add target definition to vanish the
++
I'm sorry if it was a false alert but I'm quite sure I needed to add target definition to vanish the
++
Please Log in or Create an account to join the conversation.
Time to create page: 0.449 seconds