Some page titles not displayed

  • Posts: 98
  • Thank you received: 3
  • Hikaauction Standard Hikamarket Multivendor Hikashop Business
2 days 19 hours ago #372020

-- HikaShop version -- : 6.4.1
-- HikaMarket version -- : 6.0.0
-- Joomla version -- : 6
-- PHP version -- : 8.4

Hello Team

We have the user menu where some pages are not displaying the title probably due to a bug on the HikaMarket tmpl

We enabled the page title prnt.sc/JPz5tNu43yID

but on the "Watchlist", "Vendor order listing" and "Vendor product listing" menu item, "Show Page Heading" (and my be some others) function of menu is not working

Example with Title: prnt.sc/SCiLPnQtv_YQ

Example without Title prnt.sc/XsJzNXMPdSQS

Could please look into it please?

Thank you

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

  • Posts: 26360
  • Thank you received: 4067
  • MODERATOR
20 hours 49 minutes ago #372021

Hello,

Your first screenshot for the settings ( prnt.sc/JPz5tNu43yID ) is not a HikaMarket vendor listing (or vendor product listing).
The tabs we can see in the screenshots are : "product options", "price display".
These tabs are HikaShop settings, not HikaMarket.

More than that, there is no "Watchlist" menu in HikaMarket (or HikaShop).
I'm sorry but I don't know what menu that is.

Regarding the "vendor order listing" and the "vendor product listing" menus, the views are currently missing the code to display the menu.
But the "vendor listing" do handle correctly the Joomla setting and you can already copy the content from the view (vendormarket / listing) and copy it into the view "ordermarket / listing" and "productmarket / listing".

<?php
$title = 'show_page_heading';
$titleType = 'h1';
if($this->module) {
	$title = 'showtitle';
	$titleType = 'h2';
}
if($this->params->get($title) && hikaInput::get()->getInt('hikamarket_front_end_main', 0)) {
	if($this->module) {
		$heading = $this->params->get('title');
	} else {
		$heading = $this->params->get('page_title');
		if($this->params->get('page_heading')) {
			$heading = $this->params->get('page_heading');
		}
	}
	echo '<' . $titleType . '>' . $heading . '</' . $titleType . '>';
}
?>

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: lucad

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

  • Posts: 7
  • Thank you received: 7
14 hours 39 minutes ago #372022

i added this part codes but i got this error:

Call to a member function get() on array
() 	JROOT/templates/shaper_helixultimate/html/com_hikamarket/productmarket/listing.php:18

and this is codes:
<?php
/**
 * @package    HikaMarket for Joomla!
 * @version    6.1.0
 * @author     Obsidev S.A.R.L.
 * @copyright  (C) 2011-2026 OBSIDEV. All rights reserved.
 * @license    GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */
defined('_JEXEC') or die('Restricted access');
?>
<?php
$title = 'show_page_heading';
$titleType = 'h1';
if($this->module) {
	$title = 'showtitle';
	$titleType = 'h2';
}
if($this->params->get($title) && hikaInput::get()->getInt('hikamarket_front_end_main', 0)) {
	if($this->module) {
		$heading = $this->params->get('title');
	} else {
		$heading = $this->params->get('page_title');
		if($this->params->get('page_heading')) {
			$heading = $this->params->get('page_heading');
		}
	}
	echo '<' . $titleType . '>' . $heading . '</' . $titleType . '>';
}
?>
<div id="hikamarket_product_listing">
<form action="<?php echo hikamarket::completeLink('product&task=listing'.$this->url_itemid); ?>" method="post" name="adminForm" id="adminForm">

<div class="d-grid d-lg-flex align-items-center justify-content-between">
	<div class="hkc-md-7 hikam_search_zone">
<?php
	echo $this->loadHkLayout('search', array(
		'id' => 'hikamarket_products_listing_search',
	));
?>
...
...


Joomla & Hikashop Dev - JoomlaMax.com
The following user(s) said Thank You: lucad

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

  • Posts: 26360
  • Thank you received: 4067
  • MODERATOR
6 hours 39 minutes ago #372023

Hello,

Sorry, it misses the initialization of the "module" via:

$this->module = false;
$moduleHelper = hikamarket::get('helper.module');
$moduleHelper->initialize($this);
It is done normally in the "view.html.php" file (and added by the patch I made), but I forgot to update the code for your case.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Moderators: Obsidev
Time to create page: 0.068 seconds
Powered by Kunena Forum