PDA

View Full Version : How do I hide the url display? 3.0.4 version


jeeplaw
05-07-2006, 04:05 PM
I'm trying to implement some affiliate links in my directory, yet, the url looks reallll ugly. How can I hide just the url display? Currently, it looks like this-

Dimples and Dandelions - http://www.shareasale.com/r.cfm?b=49534&u=159178&m=9402&urllink=&afftrack=

And I'd like everything AFTER the "Dimples and Dandelions" not displayed in the directory. What do I need to take out?

Neticus
05-07-2006, 04:16 PM
Link.tpl

Look for

Content visible to registered users only.
remove {$link.URL|escape}

or supress by wrapping with

<!-- {$link.URL|escape} -->

jeeplaw
05-07-2006, 05:24 PM
This works for 3.0.4? I just did that and it hasn't changed anything

Neticus
05-07-2006, 05:34 PM
Content visible to registered users only.

In same code supress like so

<!-- <span class="url"> - {$link.URL|escape}</span> -->

or remove. It should work I'll be suprised if it didn't.

MKInfo
05-07-2006, 05:46 PM
Works a treat for me.
I know little about coding or html but I love these little tweaks.:)
Thankyou.
MK

anon
05-07-2006, 06:52 PM
Content visible to registered users only.

suppressing with {* {$link.URL|escape} *} is the way to go.

no garbage code floating around in your finalized outcome. ;)

MKInfo
05-07-2006, 06:57 PM
Content visible to registered users only.

I just deleted it :o

anon
05-07-2006, 11:16 PM
bastard!!! i'll delete you!!


but seriously, it is always better to keep code around for *just in case* purposes.
I know i've had to look back a few times to refresh my memory. It's a personal preference I guess though.

:lol: