Jump to content

Ajutor Hook


ElGato

Recommended Posts

Dragilor,

sunt nou in prestashop si am dat de o problema.
am modificat un modul ca sa faca ce vreau eu numai ca nu pot sa-l mut in alta coloana/loc.

function install()
   {
       if (!Configuration::updateValue('HOME_FEATURED_NBR', 8) OR !parent::install() OR !$this->registerHook('raffColumn'))
           return false;
       return true; 

   }



problema urmatoarea:
In !$this->registerHook('raffColumn')) cand folosesc top sau leftColumn sau oricare locatie gata definita din prestashop merge perfect daca scriu orice altceva imi da eroare de instalare.

Ceva idei ?

Link to comment
Share on other sites

Pai ca sa poti sa introduci in alta locatie in primul rand trebuie sa definesti noua locatie peste tot unde este nevoie inclusiv in template, cauta in toate fisierele de exemplu leftColumn si vezi apoi in ce fisiere trebuie sa adaugi asta.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...