Jump to content

yeyeyey

Members
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • Activity
    Other

yeyeyey's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. i'm creating new module, i've created and registered new hook everythink works fine, the tpl is printed on the new hook but i cant find the way to add css or js this function is doing nothing :S public function hookHeader($params) { $this->context->controller->addJS($this->_path.'views/js/front.js', 'all'); $this->context->controller->addCSS($this->_path.'views/css/front.css', 'all'); } (files does exists) but this one, for backoffice, works fine: public function hookBackOfficeHeader() { $this->context->controller->addJS($this->_path.'views/js/back.js'); $this->context->controller->addCSS($this->_path.'views/css/back.css'); } i have followed all answers in forum but nothing works for me any help please?? :) direccionespredefinidas.php
  2. Buenos dias, Estoy intentando poner 2 checkbox de gift para que el usuario pueda elegir si el giftmessage ira escrito en una targeta o en otro soporte, He podido pintar otro checkbox en el template pero no se como hacer que se guarde el nuevo campo en la bbdd x_cart Podeis ayudarme por favor? Muchas gracias!
×
×
  • Create New...