10 years ago
1
Topic

Hi,

i would like to add a field to my content type to select a phoca gallery album and display a link to this album on the content page. 

Does anyone know how i can do?

Thanks in advance

X_Ch4n

Get a VIP membership
693 Posts
rpoy
10 years ago
0
Level 1

Hi X_Ch4n,

This would depend on the data in the database.  But I would imagine that you can use the Select Dynamic filed to query the Gallery Names from the database and store that in a Site Form.  Then in the Content section, you can use an Live Link (option #2) select the Typography and HTML:

then for the html add your link something like:

<a href="/URLToGallery=$cck->getValue('select_dynamic_field');">$cck->getValue('select_dynamic_field');</a>

Hope that helps,

Randy

Get a VIP membership