Jump to content

cart and topmenu conflict, or cart and userinfo conflict ?


Recommended Posts

I'm posting on the English forum as the Italian one was to no avail. I hope in some help from more experienced users. 

 

I had managed to include the "welcome/login/logout" links into the top menu (as it is visible on http://www.mondodellabirra.com/shop) which is perfectly working.

Then I went to unhook it from the top-page as it wasn't needed there anymore and the result was that the top-menu moved all the way up, covering the logo and pushing the cart below.

Actually, moving the cart was going to be my next step, but now it has taken an entire row with its height, even if the dynamic slide on hover begins from the cart's original position. To free the logo again I can lower the top-menu with some padding, but this would push all the rest along with it.

Hooking or unhooking top menu and cart with pagesheader (displayheader) and top of pages (displaytop)  doesn't bring things back as they were.

 

How did this happen, if I have only used BackOffice feattures?  I'm really stuck in this, any help?

Edited by Enoteca (see edit history)
Link to comment
Share on other sites

I have noticed that after the above operations, a new folder was created in my modules folder. It's called "fb6477820a7d14fbd1b5f1d18f5c8b60" and it has a blockuserinfo.tpl inside, very different from the original .tpl inside blockuserinfo module:

<!-- Block user information module -->
<div id="informations_block_left" class="block">
	<h4><a href="{$base_dir_ssl}my-account.php">{l s='My Account' mod='blockuserinfo'}</a></h4>
    <div class="block_content">
	  <table width="191" border="0" cellspacing="0" cellpadding="0">
	  	<tr>
            <td><img src="{$base_dir}modules/blockuserinfo/login.png"/></td>
            <td>
            <p id="header_user_info">
				{l s='Welcome' mod='blockuserinfo'},

				{if $logged}
				<span>{$customerName}</span> (<a href="{$base_dir}index.php?mylogout" title="{l s='Log me out' mod='blockuserinfo'}">{l s='Log out' mod='blockuserinfo'}</a>)
				{else}
				<a href="{$base_dir_ssl}my-account.php">{l s='Log in' mod='blockuserinfo'}</a>
				{/if}
			</p>
        	</td>
  		</tr>
        <tr>
            <td><img src="{$base_dir}modules/blockuserinfo/user.png"/></td>
            <td>
				<ul id="header_nav">
				<li id="your_account"><a href="{$base_dir_ssl}my-account.php" title="{l s='Your Account' mod='blockuserinfo'}">{l s='Your Account' mod='blockuserinfo'}</a>
        		</li>
				</ul>
    		</td>
  		</tr>
	  </table>
    </div>
</div>
<!-- /Block user information module -->

What in the world is it? Some kind of virus that involves the major problem I have introduced with my post?  Need serious help..

Link to comment
Share on other sites

Still no reply to this major issue. I'm gonna keep posting because I'm getting nowhere with my trial-and-error method. Other posts (like

http://www.prestashop.com/forums/topic/215309-solved-shopping-cart-module-position-in-top-right-corner/ and

http://www.prestashop.com/forums/topic/302101-no-add-to-cart-and-user-info-block-module-is-under-menu-bar-need-help-please/)

aren't giving the solution... because hooking from the Bakoffice doesn't do anything to the cart blcok, as it is declared "not movable".

 

Also, the weirdest thing: if I uninstall the cart module, the cart is till showed in the shop!

Edited by Enoteca (see edit history)
Link to comment
Share on other sites

I think I solved the issue. I followed instructions to drag Top-menu module in the main positions page, to the bottom of top-menu section. Somehow it wasn't reacting for the first time but now it's ok, i.e. cart is again over the top-menu.

One question thought is left: what shall I do with that strange file "fb6477820a7d14fbd1b5f1d18f5c8b60" with a blockuserinfo.tpl inside? Shall I delete it or what?

Link to comment
Share on other sites

I have noticed that after the above operations, a new folder was created in my modules folder. It's called "fb6477820a7d14fbd1b5f1d18f5c8b60" and it has a blockuserinfo.tpl inside, very different from the original .tpl inside blockuserinfo module:

<!-- Block user information module -->
<div id="informations_block_left" class="block">
	<h4><a href="{$base_dir_ssl}my-account.php">{l s='My Account' mod='blockuserinfo'}</a></h4>
    <div class="block_content">
	  <table width="191" border="0" cellspacing="0" cellpadding="0">
	  	<tr>
            <td><img src="{$base_dir}modules/blockuserinfo/login.png"/></td>
            <td>
            <p id="header_user_info">
				{l s='Welcome' mod='blockuserinfo'},

				{if $logged}
				<span>{$customerName}</span> (<a href="{$base_dir}index.php?mylogout" title="{l s='Log me out' mod='blockuserinfo'}">{l s='Log out' mod='blockuserinfo'}</a>)
				{else}
				<a href="{$base_dir_ssl}my-account.php">{l s='Log in' mod='blockuserinfo'}</a>
				{/if}
			</p>
        	</td>
  		</tr>
        <tr>
            <td><img src="{$base_dir}modules/blockuserinfo/user.png"/></td>
            <td>
				<ul id="header_nav">
				<li id="your_account"><a href="{$base_dir_ssl}my-account.php" title="{l s='Your Account' mod='blockuserinfo'}">{l s='Your Account' mod='blockuserinfo'}</a>
        		</li>
				</ul>
    		</td>
  		</tr>
	  </table>
    </div>
</div>
<!-- /Block user information module -->

What in the world is it? Some kind of virus that involves the major problem I have introduced with my post?  Need serious help..

 

 

Could anyone help me at least with the above issue?  My shop is working, but I don't like to have that strange folder in my directory.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...