Hi there,
I'm getting to grips with custom templating (don't have much php knowledge). So far I have found it quite easy to print the various fields in the template (using yootheme template with UI Kit).
I have run into a snag - which is probably only a basic bit of php but not sure on the correct syntax.
I have a youtube field which is optional, as such I want to only display the following code if the field exists for the particular article (i.e. if they have not added a video it will not be displayed);
<div>
<h3>Video Instructions</h3>
<?php
echo $cck->renderField('recipe_video');
?>
</div>
I assume it would be something with the php isset command but again, no idea on the syntax!
Any help is appreciated!
Thanks in advance
Simon