I have a listing field "produkt_lank" where they fill in the direkt link to their product that they want to sell to make it easier for visitors to go and buy it.
I place the code in "listing_details.tpl" but it doesnt work as it should.
I have made it so it make a button but it uses the link as a name making the button long because it takes all the text and not only the link from the value.
It only makes a new line and not taking the existing field value and make that into a button.
Here you can see how it look:
How it looks when i view the site in html mode.
PHP Code:
Only registered members can view the code.
Here you see the code and where i have put it.
PHP Code:
Only registered members can view the code.
I guess the best thing should be to make the existing URL into a button but i dont know where to change that.
I have looked some in the admins tpl but it's hard to find.