Jump to content

Put banner in "config.inc.php" then login page is gone..


Recommended Posts

I put this code in the first row of "config.inc.php" because i want this banner in every page.






every pages work fine but when customers want to login the login page has only this banner show, no loging page.


anyone have experience about this, or how can i put this banner on everypage without effect the login precedure.


THANKS.

Link to comment
Share on other sites

I found the solution, sorry for post this topic, here for someone want to know how it work.

Go to the desired theme for ex. if it is the default one go to prestashop\themes\prestashop\ and open header.tpl then you will see this code ( a bit longer but i started from head ).

</head>

   <body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}>


<!-- HERE IS THE PEACE OF THE CODE YOU HAVE TO PUT TO MAKE YOUR BANNER THE WAY YOU WANT-->
 

           <!-- Header -->


                   {$HOOK_TOP}



           <!-- Left -->

               {$HOOK_LEFT_COLUMN}


           <!-- Center -->
 
Link to comment
Share on other sites

×
×
  • Create New...