keithg

[unknown tag “addJsDef”] error – prestashop 1.7

Add js in prestashop 1.7 instead of addJs   // $this->context->controller->addJS(array( $this->_path . ‘views/js/belvg_freightdelivery.js’, )); $this->context->controller->registerJavascript( ‘remote-bootstrap’, $this->_path . ‘views/js/belvg_freightdelivery.js’, [‘server’ => ‘remote’, ‘position’ => ‘head’, ‘priority’ => 20] );   add below code as per you added js   [crayon-592303971aeac330973231/]Read more …
keithg

How to Create Additional Image Sizes in WordPress

Follows below the code used on functions.php: //Soft Crop used in example 2 if ( function_exists( ‘add_image_size’ ) ) { add_image_size( ‘new-size8’, 256, 148 ); } add_filter(‘image_size_names_choose’, ‘my_image_sizes8’); function my_image_sizes8($sizes) { $addsizes = array( “new-size8” => __( “New Size8”) ); $newsizes = array_merge($sizes, $addsizes); return $newsizes; } ////Hard Crop used...Read more …
keithg

How We Reorganized The Main Menu In PrestaShop 1.7

http://build.prestashop.com/news/how-we-reorganized-main-menu-prestashop-1.7/     How We Reorganized The Main Menu In PrestaShop 1.7 AND WHAT YOU SHOULD KNOW ABOUT IT Written by Alex Even Share this Twitter Facebook Google+ Did you think everything had been said about PrestaShop 1.7 version? In our quest towards a simpler interface, the main menu was...Read more …