View Single Post
Old June 5th, 2007, 07:21 PM   #1 (permalink)
trgreen
Junior Member
Verified Customer
 
Join Date: Aug 2006
Posts: 18
Conditional statement to check if I am on a PhotoPost page? Using vBa...

Using vB, vBa, and PhotoPost Pro.

In vBadvanced, I have moved the breadcrumbs to below the header so I could put a banner ad in the header. I'm using this:

<if condition="$pages['name'] != 'home'"> (breadcrumbs in here) </if>

to have the breadcrumbs show up on every page within vB except the home page (vBa). This works great until I go over to PhotoPost, which I have integrated with vB. The problem is, the breadcrumbs show up on PhotoPost as well, and I don't want them to. Can anyone recommend a conditional that I can wrap around the one I'm using above to test whether I'm in PhotoPost or not?

I guess I need some sort of <if "not in PhotoPost"> conditional wrapped around the one I'm already using, so the breadcrumbs will not appear on the vBa CMPS home page, nor any PhotoPost pages. Make sense? Can anyone think of a way to do that?

Here's my site: http://www.dailypress2.com/index.php

Thanks!

Last edited by trgreen; June 5th, 2007 at 07:43 PM.
trgreen is offline   Reply With Quote