×
Blue Eagle 5 v1.5.4 has been Released (13 Sep 2020)

The Kunena team has announce the arrival of Kunena template Blue Eagle 5 v1.5.4 which is now available for download. This version addresses most of the issues that were discovered in development.

Question Few modification suggestions to source

More
4 years 4 weeks ago - 4 years 4 weeks ago #1 by ArnoBrinkman
In file /components/com_kunena/template/crypsis/layouts/topic/item/default.php from line 127
Change H2 please to DIV as is done for 2nd serach at the bottom of the form. Due the differences it's difficult to get both lined out correctly.
Change :
<h2 class="pull-right">
	<?php echo $this->subLayout('Widget/Search')
	->set('id', $topic->id)
	->set('title', JText::_('COM_KUNENA_SEARCH_TOPIC'))
	->setLayout('topic'); ?>
</h2>
to
<div class="ksearchbox pull-right">
	<?php echo $this->subLayout('Widget/Search')
	->set('id', $topic->id)
	->set('title', JText::_('COM_KUNENA_SEARCH_TOPIC'))
	->setLayout('topic'); ?>
</div>
also adding the extra classname to the one in the bottom


In file /components/com_kunena/template/crypsis/layouts/user/profile/default.php from line 22
Add initializations of the three variables
$rankImage = null;
$rankTitle = null;
$personalText = null;
if ($show)
{
	if (KunenaConfig::getInstance()->showkarma)
	{
		$karma = $user->getKarma();
	}
 
	$rankImage = $user->getRank($this->category_id, 'image');
	$rankTitle = $user->getRank($this->category_id, 'title');
	$personalText = $user->getPersonalText();
}
?>
<ul class="unstyled center profilebox">

Regards,
Arno

[url=""https://www.tradingtalk.nl]TradingTalk[/url]
Last edit: 4 years 4 weeks ago by ArnoBrinkman. Reason: unique classname for searchbox

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.150 seconds