127 Posts
Cappu
5 years ago
2
Topic

Hi,

I develop a field to present fotos in a table template (seb_table). Thanks to the Seblod Developer Add-on this works great. - The field type I use is a Typography field type. - Just cannot figure out on how to programmatically access the link to the View? Or alternatively on how to access ID and Alias of the respective article  dataset?

Thanks for any hint.

Kind regards

Get a Book for SEBLOD
127 Posts
Cappu
5 years ago
1
Level 1

Just figured it out myself:

To have the $field->link parameter available in the Typography field type code, make sure to activate in List Type of the table in tab List the field to the respective link (under 2 "Link & Typography").

127 Posts
Cappu
5 years ago
0
Level 2

Make sure to set "Behaviour" from "Apply" to "Prepare" to avoid errorprone printout in your table.

Get a VIP membership