Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2008-04-19 22:57:13
- Ruhh
- Member
- From: dakota dunes
- Registered: 2008-01-20
- Posts: 305
changing variables or whatnot
I am uncertain on how to change this:
<a href=”’.permlinkurl($thisarticle).’#c’.$vars[‘discussid’].’”>’.$vars[‘name’].’</a>
so it is linking to the commentator’s website so help on this?
<txp:Ruhh />
Offline
#2 2008-04-20 00:08:06
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: changing variables or whatnot
Offline
#3 2008-04-20 00:10:36
- Ruhh
- Member
- From: dakota dunes
- Registered: 2008-01-20
- Posts: 305
Re: changing variables or whatnot
Actually I’m modifying the link in the plugin so a txp tag won’t do it.
<txp:Ruhh />
Offline
Re: changing variables or whatnot
Ruhh wrote:
Actually I’m modifying the link in the plugin so a txp tag won’t do it.
Mary is kinda right, you can use the tag, as you can see:
<a href="'.comment_web(array()).'>'.$vars['name'].'</a>'
But it can be that it doesn’t work so (I’m quite sure it doesn’t, coz that plugin probably uses different method than the original), without looking the plugin itself:
<a href="'.$vars['web'].'>'.$vars['name'].'</a>'
Last edited by Gocom (2008-04-20 01:02:28)
Offline
#5 2008-04-20 01:18:11
- Ruhh
- Member
- From: dakota dunes
- Registered: 2008-01-20
- Posts: 305
Re: changing variables or whatnot
Those two options didn’t work for me. I get a bunch of errors.
EDIT: Ok, I finally got the modified plugin to work without getting errors. I just had to add a new variable to the plugin.
Last edited by Ruhh (2008-04-20 18:30:26)
<txp:Ruhh />
Offline
Pages: 1