Element custom-link examples

Nov 6, 2013
Element custom-link examples
  • You can alter the link that is assigned to an element in the list view from the Element's list settings options.
    Below are several useful examples of custom links:

    Code (Text):
    http://www.mydomain.com/mypage.php?pagevar={myprefix_mynewlist___myfield}
    If the field is not a primary key (id field type), the url should instead be:
    Code (Text):
    http://www.mydomain.com/mypage.php?pagevar={myprefix_mynewlist___myfield_raw}
    To show the (readonly) details view even if the user has edit access:
    Code (Text):
    index.php?option=com_fabrik&view=details&formid={formid}&rowid={rowid}
    To open a PDF of the details link:
    Code (Text):
    index.php?option=com_fabrik&view=details&formid={formid}&rowid={rowid}&format=pdf
rdiana and mteles like this.