OK, moving forward with MaxiGallery and using customFields
but am stuck!
I have created the custom field OK - and that field exists in the database. When I update the field in the management page, the data is written to the database, but the refreshed page shows "camera0" on the screen (in the first record, camera1 in the second, etc), not the data in the database...
I also cannot get the data to appear when viewing the image either...
Here is my gallery call:
[!MaxiGallery? &display=`normal` &pics_per_row=`5` &big_img_linkstyle=`lightboxv2` &max_thumb_size=`110` &max_pic_size=`600` &thumb_use_dropshadow=`1` &thumb_shadow_bgcolor=`222222` &pic_use_dropshadow=`1` &pic_shadow_bgcolor=`222222` &keep_bigimg=`1` &customFields=`camera` &picture_target=`71` &manage_target=`70`!]
Here is the call for id 70, the manage target:
[!MaxiGallery? &display=`normal` &pics_per_row=`5` &big_img_linkstyle=`lightboxv2` &max_thumb_size=`110` &max_pic_size=`600` &thumb_use_dropshadow=`1` &thumb_shadow_bgcolor=`222222` &pic_use_dropshadow=`1` &pic_shadow_bgcolor=`222222` &keep_bigimg=`1` &customFields=`camera` &is_target=`1`!]
And here is the picture target call:
[!MaxiGallery? &display=`normal` &pics_per_row=`5` &big_img_linkstyle=`lightboxv2` &max_thumb_size=`110` &max_pic_size=`600` &thumb_use_dropshadow=`1` &thumb_shadow_bgcolor=`222222` &pic_use_dropshadow=`1` &pic_shadow_bgcolor=`222222` &keep_bigimg=`1` &customFields=`camera` &is_target=`1` &pictureTpl=`@FILE:assets/snippets/maxigallery/templates/dj_picturetpl.html`!]
Here is the section in the manage template - I have added the relevant line in the strings file
[+maxigallery.strings.camera+]:
<br/>
<textarea name="[+maxigallery.fieldnames.camera+]" rows="4" cols="40" onKeyDown="document.editform.[+maxigallery.fieldnames.modified+].value='yes'">[+maxigallery.fieldnames.camera:htmlent+]</textarea>
<br />
And here is the line in the dj_picturetpl.html file
[+maxigallery.picture.descr:isnot=``:then=`
<p class="description">[+maxigallery.picture.descr:htmlent+]</p>
`+]
</div>
<p class="description">here [+maxigallery.fieldnames.camera:htmlent+] </p>
If anyone can see why the data is not displayed, I shall be very grateful!
Cheers
Daz