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

Question images for categories

More
16 years 9 months ago #22638 by squale
images for categories was created by squale
hi all

i've a question : I want tu put an image to llustrate the categories in my forum (i'm not talking about icons !), so, in the description of the categories, I insert a BBcode for an image, problem : when i clic on the image, it doesn't open the category, it open the image in a popup...
then, i insert a bbcode with the URL of the categories + bbcode for the image. this time, when i clic on the image, it redirect me to the category but in a new window :( , is it possible to insert a bbcode (or a hack) to open the category in the same window ?
I hope it's possible :S

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

More
16 years 9 months ago #22702 by squale
Replied by squale on topic Re:images for categories
help, no solution please ?

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

More
16 years 9 months ago #22733 by @quila
Replied by @quila on topic Re:images for categories
Hi squale,

open the kunena.parser.php and change blank to parent, line 264

components/com_kunena/lib/kunena.parser.php

Code:
case 'url': $task->autolink_disable--; // www. > http://www. if(isset($tag->options['default'])) { $tempstr = $tag->options['default']; if(substr($tempstr, 0, 4)=='www.') { $tempstr = 'http://'.$tempstr; } $tns = "<a href='".kunena_htmlspecialchars($tempstr, ENT_QUOTES)."' rel=\"nofollow\" target=\"_parent\">"; $tne = '</a>'; return TAGPARSER_RET_REPLACED; }
Hope this help.
Regards
The following user(s) said Thank You: squale

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

More
16 years 9 months ago #23004 by squale
Replied by squale on topic Re:images for categories
thank you :)
i finally find the solution yesterday, but instead of "parent", i insert "self", it's working fine. what's the difference between "parent" and "self" ?

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

More
16 years 9 months ago #23005 by Lintzy
Replied by Lintzy on topic Re:images for categories
squale wrote:

what's the difference between "parent" and "self" ?


Here is an explanation (better than I could do with my poor english ;-) )


target _parent


target _self

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

Time to create page: 0.250 seconds