All Collections
Legacy Interfaces
Branding Your Legacy Interface
Legacy: Creating dynamic and custom links within your Interface
Legacy: Creating dynamic and custom links within your Interface
Bryan Nye avatar
Written by Bryan Nye
Updated over a week ago

This article describes the old version of MetaLocator and applies to Interfaces created in the Interface Editor.

You may want to include a custom link in each of your records.  That will be displayed by default as the full text of the link, directly in your Directory Item Template and elsewhere.  It looks like this by default:

However you might want that link to read "Click Here", or you may want to provide an image to click on, instead of text.  This tutorial will cover both options.

As described above, the default link output is the URL itself, which can be unattractive and quite long.  To replace that with Click Here, you can update your Directory Item Template. By default, that appears like this:

 

To change the {link} field,  to read "Click Here", but still use the link, click the Source button in the toolbar, and change the link field as follows:
​ 

The important part is

{link Click Here /link}

That wraps the "Click Here" text in the link contained in the link field.   This results in a layout that appears as follows:
​ 

That's it!

Adding an Image

Instead of "Click Here", as described above, in this example, we'll use an image.  The process is the same, but the link field format is a little different:

{link <img alt="" src="https://admin.metalocator.com/ul/156/images/corn.png" /> /link}<br />

Notice that we've added an image wrapped into the link field.  This results in this layout:

 

 

Adding Dynamic Data

You can also nest a field into the link,

{link {webname} /link}<br />

That creates a link to the URL in the link field labelled with the webname custom field value for that record.  The value of Webname for this example record is:

 

That appears on our Interface as follows:
​ 

Did this answer your question?