Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Banner only on certain pages


boimonster

Recommended Posts

I installed the Banner Manager 1.4 with Column Manager.

 

Here is what I want to do, which I am confused on--

 

How do i speficy what banners to display on the Category pages (if any), rather than having the same banners appear on all pages?

 

I put the column manager block in the index.php page (I use STS, but same spot basically).

 

I can tell it not to show on certain pages, but the category page, or anything with index?cPath= is killing me on how not to display it or display different ads there.

 

Any help?

Link to comment
Share on other sites

  • 3 weeks later...
I installed the Banner Manager 1.4 with Column Manager.

 

Here is what I want to do, which I am confused on--

 

How do i speficy what banners to display on the Category pages (if any), rather than having the same banners appear on all pages?

 

I put the column manager block in the index.php page (I use STS, but same spot basically).

 

I can tell it not to show on certain pages, but the category page, or anything with index?cPath= is killing me on how not to display it or display different ads there.

 

Any help?

I have the same problemproblem I've been looking for a solution for about a week and a half, but no joy I'll send you a post if I find anything. best wishes

Link to comment
Share on other sites

Thanks, I thought I was alone on this and was about to give up on it.

 

not sure how STS works but in a normal installation you could use :

 

if (stristr(basename($PHP_SELF),'index')) {

if (isset($_GET['cPath'])) {include the banner for the category pages}

else {include the banner for the main page}}

else {include the banner for all others}

Treasurer MFC

Link to comment
Share on other sites

Thanks, I thought I was alone on this and was about to give up on it.

 

 

You can put different banners in the same group and they will revolve randomly.

 

And/Or you can have different banner boxes with a different group names for different ad groups, then you can specify where these boxes are supposed to show.

 

For instance only in the catagories.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...