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 July 27th, 2010, 09:38 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jul 2010
Posts: 41
Display total images on my website index page.

I have been searching these forums for help on adding a "Total images = " line on my main index page of my main site.

If I'm on the right track i need to create a .php page with the required code inside and then call that page via php include on my index page.

I have created a file called totalimages.php and placed it into my "photopost" dir...the code ive used is
Code:
Content visible to verified customers only.
The error i get is

Fatal error: Call to a member function query_first() on a non-object in /home/sites/vip1895980/httpd/htdocs/photopost/totalimages.php on line 1

Any ideas on what I'm doing wrong any help appreciated!!!
mulderx is offline   Reply With Quote
Old July 27th, 2010, 09:45 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
well you have not correctly included the gallery_global.php file so your file will know what query_first means.

Code:
Content visible to verified customers only.
__________________
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 July 27th, 2010, 10:11 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jul 2010
Posts: 41
...that makes sense.. however, I dont have vbgallery and as such gallery_global.php file... Is there a way of me doing this just using photopost as that is the only package I have.
mulderx is offline   Reply With Quote
Old July 27th, 2010, 10:23 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
If you have photopost pro how come your referencing vbgallery in your query?

Feel free to discuss code modifications to any product in the MOD CORNER.
__________________
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 July 27th, 2010, 10:26 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jul 2010
Posts: 41
I didn't realise it was referencing vbgallery! Amateur error Oh well I'll keep looking Thank you
mulderx is offline   Reply With Quote
Old July 27th, 2010, 06:40 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Yes photopost pro would be like this

Code:
Content visible to verified customers only.
Your global file include would be

Code:
Content visible to verified customers only.
__________________
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
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
Display medium images on gallery page clockwood8494 Photopost Pro How Do I...? 1 October 19th, 2006 08:48 AM
Photos total to display in flash? datamunky Photopost Pro How Do I...? 2 September 6th, 2006 09:24 AM
display most recent - 3 columns 3 rows (9 images total) glowinggal Photopost Pro How Do I...? 2 January 8th, 2006 10:41 PM
photo total on VB index page cognaccola Photopost Pro How Do I...? 11 September 11th, 2005 03:48 AM


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

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