Thank you very much for everything.
The sh404SEF had a social plugin enabled this is why I had 2 divs "fb-root". I disabled the plugin and everything is ok now.
About the javascript error it was at the toolbar.php I wanted to add a cart link and a facebook link and I got a javascript error.
I just deleted the extra code I added for now. Can you please tell me how to add extra links at the toolbar.php and to look nice as the login , search link etc.
This is how I had it:
- Code: Select all
<?php if( $this->countModules('search') ): ?>
<a href="<?php echo $this->baseurl(); ?>index.php?option=com_search" id="btn_search"><span><?php echo JText::_('GK_SEARCH'); ?></span></a>
<div class="gk_search_hide">
<div class="gk_search_popup-hide" id="popup_search">
<jdoc:include type="modules" name="search" style="none" />
</div>
</div>
<?php endif; ?>
<?php if(GK_REGISTER) : ?>
<a href="<?php echo $this->baseurl(); ?>index.php?option=com_user&view=register" id="btn_register"><span><?php echo JText::_('GK_REGISTER'); ?></span></a>
<?php endif; ?>
<a href="<?php echo $this->baseurl(); ?>index.php?option=com_virtuemart&page=shop.cart" id="btn_login"><span>Your Cart</span></a>
<a href="http://www.facebook.com/durhamsbotanicals" target="_blank"><span>facebook</span></a>
<a href="http://stores.ebay.com/Durham-Botanicals" id="btn_login" target="_blank"><span>ebay</span></a>
<?php if( $this->countModules('cart') ): ?>
<jdoc:include type="modules" name="cart" style="none" />
<?php endif; ?>
The javascript error is that the search field doesn't appear when I press the search button. Instead the search page loads.