Member
Member
digitome   2008-06-02, 21:18
#1

Can anyone tell me how to add another field like the description to show on the album page?

Member
Member
sbillard   2008-06-02, 22:45
#2

There is a field called "custom data" that you could use like the description. Then you would add code to the album page to print that field. You get the field by calling getAlbumCustomData() or getImageCustomData(). These return the values associated with the current album or image.

Member
Member
digitome   2008-06-03, 17:09
#3

Okay thanks i'll give it a shot

Member
Member
eddiejanzer   2008-06-03, 17:49
#4

this "custom data" field, is it only reserved for one extra field?

Member
Member
sbillard   2008-06-03, 20:33
#5

There is only one Customdata database field each for albums and images. However, you can use this field in any way you wish. For instance, you could place your sub-fileds in it separated by some character, say a comma. Then you could use:

$MyCustomFields = explode(',', getCustomData());

Which would give you an array containing each of your subfields.

Member
Member
eddiejanzer   2008-06-05, 01:19
#6

ok, thanks... I will look into it further

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.