but this brings up the full URL for the listing. Any way to strip that http://www. in front of the URL? Or would I have to get the listing's URL into another field in the link 'profile', then call that custom field up?
THanks David
PS.: Been setting up the software for about 5 days now and can't stop. LOVING IT. The best thing I have seen for those that don't mind to put in some time to configure a script ENTIRELY to their needs.
On another note as well. While stripping that, how can I make each row of the top list to display only 20 characters? I am trying to put a list into a small fixed space.
There's no function to cut a url off to x chars, but you can pass such a number for titles or descriptions. Or you can customize the baseurl function in onelink.php if you're able to do that.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on strip http://www.
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
Hey Paul (and other WSN gurus),
Quick question. I wanted to create a toplist such as:
<CONFIG>links,hits;rating,10,descending;descending,,,,0,0,0,0</CONFIG>
<a href="{LINKDETAILSURL}">{LINKURL}</a>
but this brings up the full URL for the listing. Any way to strip that http://www. in front of the URL? Or would I have to get the listing's URL into another field in the link 'profile', then call that custom field up?
THanks
David
PS.: Been setting up the software for about 5 days now and can't stop. LOVING IT. The best thing I have seen for those that don't mind to put in some time to configure a script ENTIRELY to their needs.
Forum Regular
Usergroup: Customer
Joined: Jun 22, 2005
Total Topics: 91
Total Comments: 305
On another note as well. While stripping that, how can I make each row of the top list to display only 20 characters? I am trying to put a list into a small fixed space.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Please read scripts.webmastersite.net/w...inks/wsnmanual/articles/10 . I think you're looking for {LINKBASEURL[nohttp]}
There's no function to cut a url off to x chars, but you can pass such a number for titles or descriptions. Or you can customize the baseurl function in onelink.php if you're able to do that.