Hi acrylian, the code that you provided didn't work and just gave errors saying the following:
`Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in C:\*******\Apache2\htdocs\Digital-Photography\themes\Corvus_Corax\image.php on line 107`.
Although after having a play with what you did provide I now have it working. I ended up using the following code:
ALBUM.PHP
`<?php if (getAlbumDesc() == null) echo printAlbumDesc(true) . 'This album does not have a description yet!'; else printAlbumDesc(true); ?>`
IMAGE.PHP
`<?php if (getImageDesc() == null) echo printImageDesc(true) . 'This image does not have a description yet!'; else printImageDesc(true); ?>`
Now when visiting either `album.php`/`image.php` when not logged-in I see 'This album does not have a description yet!' and 'This image does not have a description yet!'. However, if a description is already in place then it is shown as expected
Also when logged-in as the main Admin and visiting either `album.php`/`image.php` I see:
'Click to add a description...
This album does not have a description yet!'
or
'Click to add a description...
This image does not have a description yet!'
Needless to say, all edit-as-you-go AJAX functions now work as they did but with the added descriptive text just how I wanted it
However, one final thing, it would be fab to be able to have it displayed the other way round or even in-line like so:
'This image does not have a description yet!
Click to add a description...'
'This image does not have a description yet! Click to add a description...'
As before, the 'Click to add a description...' sections are only shown to the main Admin anyway but it would just look cleaner. Any ideas?
Thank you so far,
CR