• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Stopping image linking to detailed view

New Here ,
May 15, 2012 May 15, 2012

Copy link to clipboard

Copied

I have created a web app to manage a large number of adverts on a clients site. I have a simple app with a few fields that include an image and the url to go to when the user clicks on the image.

The idea was to use the list view to have something like this:  <a href="{tag_url">{tag_image}</a>

..but BC seems to overwrite this and links to the detailed view instead.

How do I get around this?

Dave.

TOPICS
Web apps

Views

520

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , May 15, 2012 May 15, 2012

You do not need to do that Dave

Custom image field has two options to the tag

{tag_yourimage_nolink} will stop the link rendering and {tag_yourimage_value} will render the url of the value so you can use that to wrap in your own image attribute.

Votes

Translate

Translate
New Here ,
May 15, 2012 May 15, 2012

Copy link to clipboard

Copied

After thinking about it more I guess I need to make the "image" field a text field and not a image type and do <a href="http://{tag_url}"><img alt="" src="{tag_img2}" /></a></p>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 15, 2012 May 15, 2012

Copy link to clipboard

Copied

You do not need to do that Dave

Custom image field has two options to the tag

{tag_yourimage_nolink} will stop the link rendering and {tag_yourimage_value} will render the url of the value so you can use that to wrap in your own image attribute.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 15, 2012 May 15, 2012

Copy link to clipboard

Copied

LATEST

Thanks Liam. I thought you would know the answer!

Will buy you a beer in Sydney in a few weeks time.

Dave.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines