How to add an option to display an attribute in a new window when clicked

Hello everyone.
I’m contacting you regarding an issue I’m experiencing and unable to resolve.
I’ve created a “View Website” attribute to allow advertisers to include their website address in their ad.
I’d like the link to open in a new tab when the user clicks on the address.
Do you have a solution?


I’ve attached a screenshot and thank you in advance.

Hello mon Cricri !
This may help :

Hello, my friend, and thank you so much. However, is it possible to have the website address instead of “view site”?
And is it also possible to remove the “%”?
I’ve attached a screenshot.
Thank you again and have a nice day.

Okay, sorry, I removed the “%”.

You just have to edit the part you want. I guess it is not too difficult.
The important bit to keep is target="_blank" if you want to open the link in a new tab.

1 Like

Hello Condorito, and thank you again for everything.
Regarding my “view site” attribute.
When an advertiser posts an ad, they insert their email address in the “view site” attribute field. What’s the solution so this address is automatically inserted into the code you provided me yesterday?
I’ve attached the screenshot.
Thank you.

Okay, I contacted you too quickly. I found the solution.
Thank you very much, you’re great.
Have a nice day.

I am glad you found a solution, because it was quite unclear to me what you were looking for.

Thank you, yes, I expressed myself poorly. But thanks to you, I got there.
Thank you again for your time.