fields.ini label_link with dynamic link

Archived from the Xataface Users forum.

tomhousley — Tue Aug 11, 2009 3:25 am

Hello,

In my edit view, I would like the link next to a website to be linkable to the URL of that field, ie. not static.

My fields.ini:

Code: Select all
[org_webaddress] widget:label = "Web Address" label_link=""

Searched in the forum and couldn’t find any solution.

Any help would be appreciated.

Many thanks, Tom


shannah — Tue Aug 11, 2009 7:56 am

Try adding the “link” directive:

e.g.

Code: Select all
[org_webaddress] widget:label="Web Address" link="$org_webaddress"

This will add a link to the right of the org_webaddress field with URL being the content of the org_webaddress field.

-Steve