Title tag in admin area

  • Posts: 152
  • Thank you received: 11
11 years 6 months ago #101457

Is this a problem or just a little bug?

When you are in the administrator area of hikashop, then hold the mouse over the tabs in firefox, there is showing a lot of code..

In view source it's like this..

<title>Best Oil A/S - Administration - &lt;div style=&quot;line-height:normal&quot;&gt;
&lt;span id=&quot;hikashop_menu_title&quot;&gt;&lt;a href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=product&quot;&gt;Produkter&lt;/a&gt;&lt;/span&gt;
&lt;div id=&quot;hikashop_menu&quot;&gt;
	&lt;ul class=&quot;menu&quot;&gt;
&lt;li class=&quot;l1 parentmenu&quot;&gt;&lt;a class=&quot;e1 icon-16-config&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=config&quot; &gt;System&lt;/a&gt;&lt;ul&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-config&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=config&quot; &gt;Konfiguration&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-language&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=zone&quot; &gt;Zoner&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-plugin&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=plugins&amp;amp;plugin_type=payment&quot; &gt;Betalingsformer&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-plugin&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=plugins&amp;amp;plugin_type=shipping&quot; &gt;Leveringsmåder&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-tax&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=taxation&quot; &gt;Moms&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-currency&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=currency&quot; &gt;Valutaer&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-order&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=category&amp;amp;filter_id=status&quot; &gt;Ordrestatus'er&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-email last&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=email&quot; &gt;Emails&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;&lt;li class=&quot;l1 sel parentmenu&quot;&gt;&lt;a class=&quot;e1 sel icon-16-product&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=product&quot; &gt;Produkter&lt;/a&gt;&lt;ul&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-addproduct&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=product&amp;amp;task=add&quot; &gt;Tilføj produkt&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;l2 sel&quot;&gt;&lt;a class=&quot; sel icon-16-product&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=product&quot; &gt;Produkter&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-category&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=category&amp;amp;filter_id=product&quot; &gt;Kategorier&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-characteristic&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=characteristic&quot; &gt;Karakteristikker&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-category&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=category&amp;amp;filter_id=manufacturer&quot; &gt;Producenter&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-badge&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=badge&quot; &gt;Badges&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-import last&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=import&amp;amp;task=show&quot; &gt;Import&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;&lt;li class=&quot;l1 parentmenu&quot;&gt;&lt;a class=&quot;e1 icon-16-user&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=user&amp;amp;filter_partner=0&quot; &gt;Kunder&lt;/a&gt;&lt;ul&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-user&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=user&amp;amp;filter_partner=0&quot; &gt;Kunder&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-vote last&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=vote&quot; &gt;Afstemning&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;&lt;li class=&quot;l1 parentmenu&quot;&gt;&lt;a class=&quot;e1 icon-16-order&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=order&amp;amp;order_type=sale&amp;amp;filter_partner=0&quot; &gt;Ordrer&lt;/a&gt;&lt;ul&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-order&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=order&amp;amp;order_type=sale&amp;amp;filter_partner=0&quot; &gt;Ordrer&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-discount&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=discount&quot; &gt;Rabatter&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-article&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=entry&quot; &gt;Åbninger&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-report last&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=report&quot; &gt;Rapporter&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;&lt;li class=&quot;l1 parentmenu&quot;&gt;&lt;a class=&quot;e1 icon-16-views&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=view&quot; &gt;Vis&lt;/a&gt;&lt;ul&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-views&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=view&quot; &gt;Visninger&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-menu&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=menus&quot; &gt;Indholdsmenuer&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-module&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=modules&quot; &gt;Indholdsmoduler&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-field&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=field&quot; &gt;Tilpas felter&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-filter last&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=filter&quot; &gt;Filtre&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;&lt;li class=&quot;l1 parentmenu&quot;&gt;&lt;a class=&quot;e1 icon-16-help&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=documentation&quot; &gt;Dokumentation&lt;/a&gt;&lt;ul&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-help&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=documentation&quot; &gt;Dokumentation&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-install&quot; href=&quot;/administrator/index.php?option=com_hikashop&amp;amp;ctrl=update&quot; &gt;Opdatér/om&lt;/a&gt;&lt;/li&gt;
&lt;li class=&quot;l2&quot;&gt;&lt;a class=&quot; icon-16-info last&quot; href=&quot;http://www.hikashop.com/support/forum.html&quot; target=&quot;_blank&quot;&gt;Forum&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;	&lt;/ul&gt;
&lt;/div&gt;
&lt;style type=&quot;text/css&quot;&gt;
&lt;!--
div#submenu-box { display: none; }
// --&gt;
&lt;/style&gt;
&lt;div style=&quot;clear:left&quot;&gt;&lt;/div&gt;
&lt;/div&gt;
</title>


I'm using firebug, forumsearch, dokumentation and then I ask.. It's so easy ;)
Last edit: 11 years 6 months ago by holm76.

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
11 years 6 months ago #101475

Hi,

Your backend template is not compatible with the way HikaShop is setup apparently.

Go in the configuration and change the option "menu position" and that should then display properly.

The following user(s) said Thank You: holm76

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

  • Posts: 5
  • Thank you received: 0
11 years 6 months ago #101794

Hi Nicolas and holm76

I've just noticed the exact same issue on my Hikashop admin pages so I thought I'd tag onto this thread rather than starting an identical one. 'Menu position' was set to 'Under the title' so I changed it to 'Above the main area', but no change. Any other suggestions?

Thanks - Grant

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

  • Posts: 13201
  • Thank you received: 2322
11 years 6 months ago #101947

Hi,

The problem was coming from the new Joomla versions, they add the title name without removing the html tags.

You can edit the file "administrator/components/com_hikashop/helper/helper.php" and in the function "hikashop_setTitle()" add at the end:

	$app=JFactory::getApplication();
	$doc->setTitle($app->getCfg('sitename'). ' - ' .JText::_('JADMINISTRATION').' - '.$name);

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

Time to create page: 0.076 seconds
Powered by Kunena Forum