guest* Posted August 17, 2010 Share Posted August 17, 2010 Hi, how can I remove the original presta search on the top into an extra block on the left "sidebar" ? Is there any modul for that ? Link to comment Share on other sites More sharing options...
MrBaseball34 Posted August 17, 2010 Share Posted August 17, 2010 Go to Admin->Modules-Positions and transplant it to the left hook. Link to comment Share on other sites More sharing options...
guest* Posted August 17, 2010 Author Share Posted August 17, 2010 OK I know what you mean, but I don' t know how to do that... is there any instruction or link for that? When I go to -> edit this block, all options are greyed and not possible to change. I can change only the position within header. Link to comment Share on other sites More sharing options...
MrBaseball34 Posted August 17, 2010 Share Posted August 17, 2010 I have no idea, the wiki has instructions on how to reposition a block.What you have to do is click the Transplant a Module in the page that shows all the modules' positions.Then you can select the Quick Search in the drop down and then select Left Column Blocks in the second drop down and click save. Link to comment Share on other sites More sharing options...
morri1 Posted October 1, 2010 Share Posted October 1, 2010 There are some errors in blocksearch.tpl module. The fastest way is edit blocksearch.php and replace blocksearch.tpl for blocksearch-top.tpl function hookLeftColumn($params) { global $smarty; $smarty->assign('ENT_QUOTES', ENT_QUOTES); $smarty->assign('search_ssl', (int)(isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off')); // check if library javascript load in header hook $this->_disabledSearchAjax(); $smarty->assign('ajaxsearch', intval(Configuration::get('PS_SEARCH_AJAX'))); return $this->display(__FILE__, 'blocksearch.tpl'); } for function hookLeftColumn($params) { global $smarty; $smarty->assign('ENT_QUOTES', ENT_QUOTES); $smarty->assign('search_ssl', (int)(isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off')); // check if library javascript load in header hook $this->_disabledSearchAjax(); $smarty->assign('ajaxsearch', intval(Configuration::get('PS_SEARCH_AJAX'))); return $this->display(__FILE__, 'blocksearch-top.tpl'); // replace here } After that, you need to reinstall blocksearch module and in the modules->positioning you will see leftColumn(remove other blocks). Edit, save, make some changes in the global.css and that's all.m. Link to comment Share on other sites More sharing options...
guest* Posted October 1, 2010 Author Share Posted October 1, 2010 I have fixed by another way in the css, unfortunately thx for code. 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