Hello,
I made twee additional fields for my images and they are working fine:
1-
image_flash (showing on the details.html and shows a link to download the flash file)
2-
image_flashYESorNOT (This field is serchable and NOT showing on the details.html)
Everything is working good because if someone search for FLASH (via the search form) he get those images with the flash download file.
At the ACP I fill the woord Flash in the
image_flashYESorNOT field, but if I have 3000 images it will be verry difficult to do that
manually.
I tryed this on the
functions.php but it does not work:
$image_flash= $image_row['image_flash];
$image_flashYESorNOT = $image_row['image_flashYESorNOT];
if ($image_flash== "") {
$image_flashYESorNOT = "No";
}
else {
$image_flashYESorNOT = "Flash";
}
What I want is if I put a download link in
image_flash it will save automatically the woord Flash in
image_flashYERorNOT othewise the woord NO.
I hope I get this time some support because I am sure it a peace of cake for some who know a little bit of PHP programing.
Thank you in advance,
SZ