Results 1 to 3 of 3

Thread: Link to external URL in catalog

  1. #1
    New user
    Join Date
    07-11-11.
    Location
    Basel, Switzerland
    Posts
    11

    Default Link to external URL in catalog

    Hello everybody,

    Is it possible to use the catalog to link to an external URL? I've created a catalog form with a URL field, however when I try to create an entry, I can either select an internal page from a list, or enter a URL manually (however this URL isn't linked when viewed in the front end.)

    Have I maybe overlooked something obvious? Perhaps this is possible with an insert tag? (if so, which one?)

    Thanks for any suggestions!

  2. #2
    User
    Join Date
    07-01-09.
    Posts
    91

    Default Re: Link to external URL in catalog

    The way I would do it is to construct the url in the template.

    So, in the backend, if your text field name is "link_url", and you paste in "http://example.com"

    The entry in your template would look something like:
    Code:
    Example Link

  3. #3
    New user
    Join Date
    07-11-11.
    Location
    Basel, Switzerland
    Posts
    11

    Default Re: Link to external URL in catalog

    Thanks a lot for your suggestion. Turns out there is a really simple way to create a link to an external site. By simply entering a complete URL, Catalog will turn it into a link for you.

    For instance, entering http://www.test.com will render www.test.com in the front-end. If you leave out the "http://" the link won't be generated. Not sure how I managed to overlook that... ops:

    Still, there's no way to change what the link says, I'm guessing this is where your method would be useful.Then you could change the link to say to say whatever you'd like, and not be stuck with the default.

    Thanks!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •