cristian-chiric Posted April 25, 2014 Share Posted April 25, 2014 Hey guys, I am developing a new theme and I would like to know if there's a possibility to place cart module inside top horizontal module (like search). Thanks in advance! Link to comment Share on other sites More sharing options...
vekia Posted April 26, 2014 Share Posted April 26, 2014 you can change position of cart block with position:absolute; and top:100px; and in this way you can place it in your menu bar. Link to comment Share on other sites More sharing options...
cristian-chiric Posted April 30, 2014 Author Share Posted April 30, 2014 This was my first idea, but I would like to have it as functionality inside the top h. menu, not just css fix. Anyway, thanks for you reply Link to comment Share on other sites More sharing options...
vekia Posted April 30, 2014 Share Posted April 30, 2014 hello in this case, easiest thing will be new hook. 1) create new custom hook 2) in block cart rename displayTop function to your displayYourHook (where displayYourHook is your hook name) 3) attach module to this hook in modules > positions > transplant section 4) in blocktopmenu.tpl before last block closing tag add {Hook::exec('displayYourHook')} Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now