- Posts: 5
- Thank you received: 1
Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 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
Solved $target is not set in com_kunena/template/aurelia/layouts/bbcode/url/default.php
3 years 3 months ago #227373
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.
3 years 3 months ago #227375
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.
3 years 3 months ago #227376
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.
3 years 3 months ago #227389
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.
3 years 3 months ago #227417
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.260 seconds