PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old June 5th, 2007, 07:21 PM   #1 (permalink)
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
Old June 5th, 2007, 07:24 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
There is not this is photopost define in general

All our scripts have defines for each script name you can use in a conditional like this

if ( THIS_SCRIPT == "ppindex")
{
blah blah
}
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old June 5th, 2007, 07:25 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2006
Posts: 18
I don't understand the first line of your reply. [edited: okay, i re-read your post and now I understand the first line...]

I know I can test things in PhotoPost, but my conditional needs to be in the NAV template of vBa.

BTW, thanks for the quick reply!
trgreen is offline   Reply With Quote
Old June 5th, 2007, 07:28 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2006
Posts: 18
Maybe there is some way to just test the URL, and if it contains "/photopost" then not show the breadcrumbs?

Like I said, this has to happen in the vBa template, and it won't parse PHP, but I can use JavaScript. Can JS help me here?

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


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Check boxes on Browseimages.php page ludachris vBGallery Suggestions 2 January 20th, 2008 08:20 PM
Check if current page is gallery JLuerken How Do I? - vBulletin 3.6x 2 April 27th, 2007 05:51 PM
Check Page Loading Time mihirp Photopost Pro How Do I...? 1 February 21st, 2007 09:42 AM
Home / Forum Link If Statement dieselpowered How Do I? - vBulletin 3.5.X 2 July 26th, 2005 11:43 PM


All times are GMT -5. The time now is 11:34 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0