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 14th, 2006, 03:39 PM   #1 (permalink)
Member
Verified Customer
 
AndreasP's Avatar
 
Join Date: May 2006
Location: Austria
Posts: 37
Send a message via Skype™ to AndreasP
answer link at bottom of comments

I have altered the links in the line at the bottom of comments.
My intention has been adding an answer-link.
That's what I've added in the vb3.php-file after $ugallery:
Quote:
$ugallery
&middot;&nbsp;<a href=\"{$Globals['maindir']}/comments.php?photo=$photo\">{$Globals['pp_lang']['answer_short']}</a>
Also added answer_short in the language file.

But it doesn't work. I get an unvalid script error and the $photo is ignored. The URL shown in the browser only shows
domain.com/gallery/comments.php?photo=

What's wrong?

Andreas
AndreasP is offline   Reply With Quote
Old June 15th, 2006, 08:03 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
Try using $id instead
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 15th, 2006, 01:58 PM   #3 (permalink)
Member
Verified Customer
 
AndreasP's Avatar
 
Join Date: May 2006
Location: Austria
Posts: 37
Send a message via Skype™ to AndreasP
Hi Chuck,

I've changed it to this: domain.com/gallery/comments.php?photo=$id
but did not solve the problem, still no valid URL created.

Sorry!

Andreas

//edit: solved by adding the link in the template showphoto.tmpl and deleting it from vb3.php

Last edited by AndreasP; June 15th, 2006 at 02:52 PM.
AndreasP is offline   Reply With Quote
Old June 15th, 2006, 05:49 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
Yes you need to have the link in showphoto template since thats where the variables are defined.

good going
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
Still need an answer 91GT Photopost Pro Installation & Upgrades 0 February 23rd, 2006 08:34 AM
Hi can you answer my questions Damir P General Discussion 3 April 3rd, 2005 06:51 AM


All times are GMT -5. The time now is 08:23 AM.

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