After some research (and sleep!) I found that the above problem that seemed a bug actually isn't a bug but a feature!!
In the template code, a
component is being put in the page, not a module. Therefore, changes in the page placement of the module had no effect. Changing the code to display a banner
module did the trick.
So use the code below in order to put a module of the banners on the page and you can use the module controls to determine at what pages a banner is to be displayed:
PHP Code:
<?php mosLoadModules ( 'banner' ); ?>