Jump to content

Terracom_Progr

Members
  • Posts

    31
  • Joined

  • Last visited

Community Answers

  1. Terracom_Progr's post in conseguir desde archivo js pasar Tools::getValue('mi_variable') was marked as the answer   
    Vale el problema venía de antes   
     
    $this->context->controller->addJS($this->_path.'MiArchivoJS.js');  echo "<script>alert('desde php ".Tools::getValue('MiVariableDelModulo')."');</script>"; ---  Al verlo en blanco ...  Media::addJsDef(array('temp' =>  Tools::getValue('MiVariableDelModulo')));     Lo correcto era   Media::addJsDef(array('temp' =>  Configuration::get('MiVariableDelModulo'))     Listo Muchas gracias.  
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More