Jump to content

My loyalty page havent left colums how add it?


Guest

Recommended Posts

i have prestashop 1.5.4.3 and last loyalty module.

when i login and click on my loyalty points i not see on left left column.

how on this page add left columt with standart modules as is example on product page or product list?

Link to comment
Share on other sites

okay i found it!

 

go to modules/loyalty/controllers/front/default.php

 

you've got there code like:

public function initContent()
{
 $this->display_column_left = false;
 parent::initContent();
 $this->context->controller->addJqueryPlugin(array('dimensions', 'cluetip'));
 if (Tools::getValue('process') == 'summary')
  $this->assignSummaryExecution();
}

 

just remove the $this->display_column_left = false;

  • Like 1
Link to comment
Share on other sites

hi vekia, would be better delete this text/code or just only replace it?

delete "$this->display_column_left = false;"

or only rename false on enable "$this->display_column_left = enable;"

both variants come or we must delete?

 

now i test and works both variant. is there any difference between them or it will cost the same?

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

really? now i test on my domain and when i write "enable" so left panel is showed

but okay for sure functionality rather we write variant "true" what you write :)

Link to comment
Share on other sites

it's because this option only works when you set it to false ;)

any other option in this case will not work ;)

 

it mean that prestashop check this option, and if it is set to false - then script will not show the column. any other values are ignored

Link to comment
Share on other sites

×
×
  • Create New...