HelenThura
09-05-2005, 08:32 AM
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?
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?