ldon Posted March 20, 2014 Share Posted March 20, 2014 Hello, I'm giving up. I've instaled the latest version of presta 1.6.0.5 and I've spended a few hours trying to display left column on the home screen but I'm not able to do so. Please help. I've done the update of http://www.prestashop.com/forums/topic/307223-solved-hook-left-column-on-cms-pages/?do=findComment&comment=1554559 but it doesn't work. Thank you in advance. Link to comment Share on other sites More sharing options...
zvorchik Posted March 21, 2014 Share Posted March 21, 2014 The same problem =\ Link to comment Share on other sites More sharing options...
NemoPS Posted March 21, 2014 Share Posted March 21, 2014 Is that an upgraded or fresh version? Link to comment Share on other sites More sharing options...
vasekcekal Posted March 21, 2014 Share Posted March 21, 2014 Same! I have upgraded v1.5 but only DB... Theme I use v1.6 Bootstrap... and still impossible to show left column on home... Link to comment Share on other sites More sharing options...
ldon Posted March 21, 2014 Author Share Posted March 21, 2014 Is that an upgraded or fresh version? Fresh version and it is not only on the front page. It is on product, basket, cms and so on... Link to comment Share on other sites More sharing options...
Yngvi Posted March 21, 2014 Share Posted March 21, 2014 Modules/position Then look for display left column and see the modules that are listed under that. Click edit next to each one and in the field exceptions remove 'product' It may appear more than once. Do these for each module in the left column, and repeat for each page you want the left column to appear on. 1 Link to comment Share on other sites More sharing options...
ldon Posted March 21, 2014 Author Share Posted March 21, 2014 Modules/position Then look for display left column and see the modules that are listed under that. Click edit next to each one and in the field exceptions remove 'product' It may appear more than once. Do these for each module in the left column, and repeat for each page you want the left column to appear on. The exceptions field is empty. Link to comment Share on other sites More sharing options...
astpierre Posted March 21, 2014 Share Posted March 21, 2014 I had the same problem but after enabling in in the theme configuration the left column showed up. But when I tried disabling it, it didn't want to go. I have tried everything and the only way I could disable it was to play around with the layout.tpl file. So there are some bug with this module, left and right columns are not working properly. Link to comment Share on other sites More sharing options...
ldon Posted March 21, 2014 Author Share Posted March 21, 2014 I had the same problem but after enabling in in the theme configuration the left column showed up. But when I tried disabling it, it didn't want to go. I have tried everything and the only way I could disable it was to play around with the layout.tpl file. So there are some bug with this module, left and right columns are not working properly. It doesn't work in my shop. Link to comment Share on other sites More sharing options...
ldon Posted March 22, 2014 Author Share Posted March 22, 2014 Any ideas please? Link to comment Share on other sites More sharing options...
vekia Posted March 23, 2014 Share Posted March 23, 2014 i just tried it a second ago and recorded it, it works, take a look: 3 Link to comment Share on other sites More sharing options...
zeus71 Posted March 23, 2014 Share Posted March 23, 2014 (edited) My problem (little problem, because I like one single column, but I would see something different to try...) is that activating the left column , Presta give me generic error and can't do that like in your video. ? Edited March 23, 2014 by zeus71 (see edit history) Link to comment Share on other sites More sharing options...
astpierre Posted March 23, 2014 Share Posted March 23, 2014 Vekia thank you Now try disabling it please and see if this works for you 1 Link to comment Share on other sites More sharing options...
ldon Posted March 23, 2014 Author Share Posted March 23, 2014 i just tried it a second ago and recorded it, it works, take a look: I've done all this but no changes has appeared. Maybe because I've got it on localhost (easyphp)? Link to comment Share on other sites More sharing options...
zeus71 Posted March 23, 2014 Share Posted March 23, 2014 (edited) I've done all this but no changes has appeared. Maybe because I've got it on localhost (easyphp)? I'm using prestashop 1.6.0.5 , online and with a new copy on local with xampp , and I have the same problem. ...and more : in local I can add the left column in the index ( homepage) and not in the product. And online in any part. Really a great tool, with very bad testers.Unbelievable.... Edited March 23, 2014 by zeus71 (see edit history) 1 Link to comment Share on other sites More sharing options...
NemoPS Posted March 24, 2014 Share Posted March 24, 2014 hm! It seems that left column works in category pages...right column doesn't! It doesn't work anywhere for me actually, I can only enable left column at the moment! Link to comment Share on other sites More sharing options...
dioniz Posted March 24, 2014 Share Posted March 24, 2014 (edited) Nemo1 have you checked you have some modules transplated to right. In my case there wasn't any, and when i transplated, right column work on category page Edited March 24, 2014 by dioniz (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted March 24, 2014 Share Posted March 24, 2014 ..... :D Yes, I'm still sleeping. I had all of them removed But I guess Zeus and Idon still have this problem, correct? Several modules should already be transplanted to left column in this case Link to comment Share on other sites More sharing options...
vasekcekal Posted March 24, 2014 Share Posted March 24, 2014 i just tried it a second ago and recorded it, it works, take a look: I tried it like is showed in video and still no left column on home page... o.O Link to comment Share on other sites More sharing options...
vekia Posted March 24, 2014 Share Posted March 24, 2014 I tried it like is showed in video and still no left column on home page... o.O when you're enabling left column, you see some confirmation message? (confirmation, that everything was saved correctly) ? Link to comment Share on other sites More sharing options...
Lucas Cerdan Posted March 24, 2014 Share Posted March 24, 2014 Hi, Could you please look at: http://www.prestashop.com/forums/topic/307223-solved-hook-left-column-on-cms-pages/page-2?do=findComment&comment=1600499 This should solve your problem. Thank you Link to comment Share on other sites More sharing options...
vasekcekal Posted March 24, 2014 Share Posted March 24, 2014 when you're enabling left column, you see some confirmation message? (confirmation, that everything was saved correctly) ? Vekkia: Yes, I see the confirmation message... Hi, Could you please look at: http://www.prestashop.com/forums/topic/307223-solved-hook-left-column-on-cms-pages/page-2?do=findComment&comment=1600499 This should solve your problem. Thank you Lucas: I tried this SQL, but nothing changed :/ Link to comment Share on other sites More sharing options...
ldon Posted March 24, 2014 Author Share Posted March 24, 2014 Vekkia: Yes, I see the confirmation message... Lucas: I tried this SQL, but nothing changed :/ I've tried everything. Maybe I'll have to wait for a new release of the Presta. http://www.prestashop.com/forums/topic/307223-solved-hook-left-column-on-cms-pages/page-3?do=findComment&comment=1608158 Link to comment Share on other sites More sharing options...
vasekcekal Posted March 24, 2014 Share Posted March 24, 2014 (edited) I found a solution! I wanted mainly categories block in left columnt on homepage, but it was disabled in position... In position of modules - find DisplayLeftColumn hook - there is Categories block>edit-enable index page. I THINK THIS IS SOLUTION OF THIS PROBLEM. JUST ENABLE MODULES WHAT YOU WANT ON INDEX (Of course after enabling left-column, like on video from Vekia) My problem was only in wront settings, which I didn't expected. I hope this will help you Edited March 24, 2014 by vasekcekal (see edit history) Link to comment Share on other sites More sharing options...
ldon Posted March 25, 2014 Author Share Posted March 25, 2014 I found a solution! I wanted mainly categories block in left columnt on homepage, but it was disabled in position... In position of modules - find DisplayLeftColumn hook - there is Categories block>edit-enable index page. I THINK THIS IS SOLUTION OF THIS PROBLEM. JUST ENABLE MODULES WHAT YOU WANT ON INDEX (Of course after enabling left-column, like on video from Vekia) My problem was only in wront settings, which I didn't expected. I hope this will help you No solution for me. I've done this yet but no change appear. Link to comment Share on other sites More sharing options...
roo10 Posted March 26, 2014 Share Posted March 26, 2014 Another problem: I can't enable the left-column for products comparison page. It shows an error as shown in attached screenshot. Link to comment Share on other sites More sharing options...
NemoPS Posted March 26, 2014 Share Posted March 26, 2014 Can you bring up the developer console (f12 on chrome), access the network tab, clear it, then hit the button and see what you get as response of the ajax call? Link to comment Share on other sites More sharing options...
roo10 Posted March 26, 2014 Share Posted March 26, 2014 Thanks Nemo for the reply. This is the repsonse I got in dev console - {"success":0, "text":"An error occurred while updating this meta."} Link to comment Share on other sites More sharing options...
NemoPS Posted March 26, 2014 Share Posted March 26, 2014 Let's try and debug. Open AdminThemesController (controllers/admin), then locate public function ajaxProcessLeftMeta() { $theme_meta = Db::getInstance()->getRow( 'SELECT * FROM '._DB_PREFIX_.'theme_meta WHERE id_theme_meta = '.(int)Tools::getValue('id_theme_meta') ); $result = false; if ($theme_meta) { $sql = 'UPDATE '._DB_PREFIX_.'theme_meta SET left_column='.(int)!(bool)$theme_meta['left_column'].' WHERE id_theme_meta='.(int)Tools::getValue('id_theme_meta'); $result = Db::getInstance()->execute($sql); } if ($result) echo json_encode(array('success' => 1, 'text' => $this->l('The status has been updated successfully.'))); else echo json_encode(array('success' => 0, 'text' => $this->l('An error occurred while updating this meta.'))); } Instead of the error message write echo json_encode(array('success' => 0, 'text' => mysql_error())); Link to comment Share on other sites More sharing options...
Lucas Cerdan Posted March 26, 2014 Share Posted March 26, 2014 Problem with meta should be solved by: http://www.prestashop.com/forums/topic/307223-solved-hook-left-column-on-cms-pages/page-2?do=findComment&comment=1600499 1 Link to comment Share on other sites More sharing options...
roo10 Posted March 26, 2014 Share Posted March 26, 2014 Found the solution. The database table "ps_theme_meta" didn't automatically add "id_meta" for products comparison page for the custom theme. Link to comment Share on other sites More sharing options...
stnadmin Posted March 26, 2014 Share Posted March 26, 2014 Thanks for the post gang! It helped me figure out what the issue is with the settings. You need to enable the left column on index: Then you need to go to the modules and make sure they are not set to "NOT" display on the index. To do that go to Modules >> Positions. Then filter for the module that you are wanting to display Then go to the "displayLeftColumn" hook and click on the Edit button. Next you want to make sure that "index" is NOT selected: And then hit save. You will need to do this for any other modules that you want to display on the home page left column. 1 Link to comment Share on other sites More sharing options...
datasphere Posted April 25, 2014 Share Posted April 25, 2014 (edited) Vekia thank you Now try disabling it please and see if this works for you I`ve had the same problem , confirming it`s a bug now I had products squeezed in the middle and two invisible right and left columns ------------------------------------- edit: I changed to another theme and went back and it is the same, But if entering in the theme>themename and clicking by hand on every exclamation mark or whateveris called you can arrange your theme to be shown properly VERY SMART PRESTASHOP TEAM I NEVER SEEN SUCH USER FRIENDLY LOGIC BEHIND A SYSTEM - in 1.6.* it is close to perfection ! Edited April 25, 2014 by datasphere (see edit history) Link to comment Share on other sites More sharing options...
LuvCollectables Posted April 28, 2014 Share Posted April 28, 2014 Hi there, Im a prestashop newbie and I have the same problem - upgraded to the latest PS and the left column appeared for a moment with manufacturers etc, then it disappeared. I have left column activated on every page (this is how it was since upgrade - i didnt change it) but for some reason no left columns appear anywhere on the site. Im using the default bootstrap theme on 1.6 - Any help greatly appreciated as I have just left this hoping that an update might fix it but nothing so far. W Link to comment Share on other sites More sharing options...
LuvCollectables Posted April 28, 2014 Share Posted April 28, 2014 btw...I need the left column on all pages except the home page. Thanks in advance - my site is www.ilovecollectables.com Link to comment Share on other sites More sharing options...
datasphere Posted April 28, 2014 Share Posted April 28, 2014 nice shop !~ this setup worked for me (pegasusmarket.us) you must select it and arrange it by hand and here check if you enabled default left column and click on th edit right on the name of used theme - the default bootstrap as I can see on your shop it is located in Preferences>Themes then Edit , check if you enabled default left column and click on th edit right on the name of used theme also check modules - positions `display home` `left column` `categories` for the left column hooks Link to comment Share on other sites More sharing options...
LuvCollectables Posted April 28, 2014 Share Posted April 28, 2014 Thank you! And thank you for the advice! Ill have a go, but I tend to break things when I try : / Ill be back! : ) W Link to comment Share on other sites More sharing options...
datasphere Posted April 28, 2014 Share Posted April 28, 2014 Thank you! And thank you for the advice! Ill have a go, but I tend to break things when I try : / Ill be back! : ) W Idk why presta forum wont show my screen shots ... I will try and edit the post again 1 Link to comment Share on other sites More sharing options...
LuvCollectables Posted April 28, 2014 Share Posted April 28, 2014 ok... this is what I have: "Preferences>Themes then Edit , check if you enabled default left column and click on th edit right on the name of used theme" - Both left and right default is enabled. "also check modules - positions `display home` `left column` `categories` for the left column hooks" No left column hooks in Display Home - I think I removed it as I didnt want left column on the Home Page. Does this need to be here? and what do you mean "left column""categories"...I cant find categories. Am I missing something? Thank you so much for taking the time to help : ) W Link to comment Share on other sites More sharing options...
LuvCollectables Posted April 28, 2014 Share Posted April 28, 2014 YOU BEAUTY! I finally figured it out after reading your post again - slowly! Some of the modules had been disabled in the backoffice and some were not hooked in - I finally understand the hooks system ( i think) - I really didnt think Id ever get my head round it - You are a star! Thank you! W Link to comment Share on other sites More sharing options...
whoami8005 Posted May 14, 2014 Share Posted May 14, 2014 Tried this and every other solution mentioned in this thread. But no solution yet.. Looks like the left column just doesnt want to display I found a solution! I wanted mainly categories block in left columnt on homepage, but it was disabled in position... In position of modules - find DisplayLeftColumn hook - there is Categories block>edit-enable index page. I THINK THIS IS SOLUTION OF THIS PROBLEM. JUST ENABLE MODULES WHAT YOU WANT ON INDEX (Of course after enabling left-column, like on video from Vekia) My problem was only in wront settings, which I didn't expected. I hope this will help you Link to comment Share on other sites More sharing options...
vekia Posted May 14, 2014 Share Posted May 14, 2014 Tried this and every other solution mentioned in this thread. But no solution yet.. Looks like the left column just doesnt want to display so, at the moment what's the issue? you cant enable left column due to the error on theme configuration page... or? Link to comment Share on other sites More sharing options...
whoami8005 Posted May 15, 2014 Share Posted May 15, 2014 No error on the config page when enabling the left column. When enabling the left column, status successfully updated is shown. But still no left column. Removed the index from the exception field too. Very new to Prestashop. might be missing something very obvious Link to comment Share on other sites More sharing options...
Salvador Gomez Posted May 29, 2014 Share Posted May 29, 2014 I trie to check all the options in the "Column Left" (Of course after enabling left-column) and finaly I can show the left column in my "Home" or "index" web. Goto: Preferences>Themes Then Edit , check if you enabled default left column and click... and check all the options in "Appreance of Columns". source: http://mypresta.eu Link to comment Share on other sites More sharing options...
niels194 Posted June 15, 2014 Share Posted June 15, 2014 Modules/position Then look for display left column and see the modules that are listed under that. Click edit next to each one and in the field exceptions remove 'product' It may appear more than once. Do these for each module in the left column, and repeat for each page you want the left column to appear on. Sir, You are my hero and saved my day! I am new to prestashop and was looking hours for the solution. I had no idea tat is was so simple! Tnx! Link to comment Share on other sites More sharing options...
wickershop Posted September 21, 2014 Share Posted September 21, 2014 In my case the only thing I have to do was enable index page on left column in Preferences/Themes/Advanced Settings/ in sections: Appearance of columns. Link to comment Share on other sites More sharing options...
vekia Posted September 22, 2014 Share Posted September 22, 2014 yeah usually it's enough to just define appearance, but from some unknown reasons, it doesnt always work like that. this is why it's necessary to restore tables in db Link to comment Share on other sites More sharing options...
faDdy Posted January 12, 2015 Share Posted January 12, 2015 Hi, I have just installed Prestashop 1.6.0.11 i saw the video but i dont have an option to enable left column for product page , please check the snapshot and if any one knows what i need to do to eanble left column on product page. The other options that i can see in there like index and product comaprison when i enable them they are working fine . Please help . Thank you Link to comment Share on other sites More sharing options...
faDdy Posted January 12, 2015 Share Posted January 12, 2015 So i saw Vekia's post http://www.prestashop.com/forums/topic/317556-left-column-in-the-categories-page/ and i checked my database table ps_theme_meta , i have total 35 values there but in backend theme configuration it's showing me only 27 options so i dont what exactly is the problem but i changed the left columns values all to 1 and i got the left column in product page. But it will be good if someone can tell me that how exactly i can see this left column option in backend theme configuration. Thank you. Link to comment Share on other sites More sharing options...
Paul de Cocq Posted January 22, 2015 Share Posted January 22, 2015 (edited) I also do have a problem with displaying the left_column (with category block module) on the product page. I will try to explain to make things a little bit more clear. I can get it to show at only the product page. In my case it has something to do with the size of the $left_column_size variable in "header.tpl" that is not properly set. I'm talking about the following code: <div class="row"> {if isset($left_column_size) && !empty($left_column_size)} <div id="left_column" class="column col-xs-12 col-sm-{$left_column_size|intval}">{$HOOK_LEFT_COLUMN}</div> {/if} {if isset($left_column_size) && isset($right_column_size)}{assign var='cols' value=(12 - $left_column_size - $right_column_size)}{else}{assign var='cols' value=12}{/if} <div id="center_column" class="center_column col-xs-12 col-sm-{$cols|intval}"> I had done a print_r in smarty to see what $left_column_size contained as a result i got "0" that doesn't seem right. So what happens* (only at the product page) that he doesn't even shows the "left_column" div because the size is not set. That explains why there is no left column at all, but why only on the product page? Temporary solution: What i Tried and what worked is the following code but that isn't the proper way to do this i think? {if $page_name == 'product'} <div id="left_column" class="column col-xs-12 col-sm-3">{hook h="displayLeftColumn"}</div> <div id="center_column" class="center_column col-xs-12 col-sm-9"> {/if} So does anyone have any suggestions why the left-column is not showing at the product page it is turned on at "settings->themes->advanced-settings" any help would be much appreciated Edited January 22, 2015 by Paul de Cocq (see edit history) Link to comment Share on other sites More sharing options...
Spark111 Posted January 23, 2015 Share Posted January 23, 2015 (edited) Found it. With the latest version (1.6.0.11) there seems to be a problem with updating the table ps_meta_lang. Unfortunately you need access to phpmyadmin (database editor) to fix this. Make a DB backup first!!!!!! 1. find the table {prefix}_meta. So most of the time: ps_meta. 2. Find the id_meta that belongs to the page "product". 3. Find the table ps_meta_lang 4. Check if there is a record with the id_meta as the previous page. 5. If not then add a record with this id and the appropriate fields id_shop and id_lang plus the title field 6. You might need to repeat #5 for each shop and each language, but I am not sure. After that the product option in the advanced theme editor is activated. I am not sure, if you need to set 'configurable' for the 'product' in ps_meta to '1'. For me it makes no difference. I hope this helps. Edited January 23, 2015 by Spark111 (see edit history) Link to comment Share on other sites More sharing options...
Paul de Cocq Posted January 23, 2015 Share Posted January 23, 2015 Found it. With the latest version (1.6.0.11) there seems to be a problem with updating the table ps_meta_lang. Unfortunately you need access to phpmyadmin (database editor) to fix this. Make a DB backup first!!!!!! 1. find the table {prefix}_meta. So most of the time: ps_meta. 2. Find the id_meta that belongs to the page "product". 3. Find the table ps_meta_lang 4. Check if there is a record with the id_meta as the previous page. 5. If not then add a record with this id and the appropriate fields id_shop and id_lang plus the title field 6. You might need to repeat #5 for each shop and each language, but I am not sure. After that the product option in the advanced theme editor is activated. I am not sure, if you need to set 'configurable' for the 'product' in ps_meta to '1'. For me it makes no difference. I hope this helps. I will try this, after i back-upped the whole DB. It looks promising, Thanks!! Link to comment Share on other sites More sharing options...
Alex Nitu Posted January 28, 2015 Share Posted January 28, 2015 I was close to end up with a headache when I saw that I might have to tangle with the code but then I found an interesting option for modules, called reset. I had the same issue, allowed left column, then blocks just wouldn't start to show, no matter what I did. What solved the issue, even after hooking each block on left column, was the "reset" option for the modules. Worked perfectly after all modules got a reset and now I can finally allow banners, specials block, newsletter block, and pretty much, any other block. Hope this helps others, before they start to go into the code. Link to comment Share on other sites More sharing options...
Spark111 Posted January 28, 2015 Share Posted January 28, 2015 Left column problem has been solved structurally: https://www.prestashop.com/forums/topic/385845-16011-upcoming-release/?p=1922750 I need to look in Github more often. Saves quite a lot of time. Link to comment Share on other sites More sharing options...
Recommended Posts