Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 09-05-2005, 08:32 AM
HelenThura Offline
forum loafer
 
Join Date: Mar 2005
Posts: 4
image title in comment email

This evening I have been playing round with how the comments are emailed to me and all has been fine except for my last item of things to change.

What I want is for the subject of the email to read
Plog Name - New Comment Made - title of image

I have been able to get it to display this
Plog Name - New Comment Made - 20050905154022_img_4118.jpg <- the file name that PP gives the photos.
To get this to display:
I added $comment_image_name = $_POST['parent_name']; to index.php
then added <input type='hidden' name='parent_naame' value='<IMAGE_NAME>' /> in my comments template
Changed the $subject = "$pixelpost_site_title - New Comment Made - $comment_image_name";

Those changes worked fine so in my reasoning I should have been able to get the image title to display following the same method.
I added $comment_image_title = $_POST['parent_title']; to index.php
then added <input type='hidden' name='parent_title' value='<IMAGE_TITLE>' /> in my comments template
Changed the $subject = "New Comment Made - $comment_image_title";

This just gives me Plog Name - New Comment Made - as the subject of the email.

any ideas on how to make it work?
Reply With Quote
  #2  
Old 09-05-2005, 08:36 AM
HelenThura Offline
forum loafer
 
Join Date: Mar 2005
Posts: 4
mmm, just looked at my code in index.php and noticed that I had a spelling error it now works fine
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 03:27 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs