I’m running 2.2.2
All my fields are being returned on my comment results page except for “url”. It’s as if there is a control panel setting blocking the return of that type of field only. Any suggestions?
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
August 31, 2011 7:12pm
Subscribe [3]#1 / Aug 31, 2011 7:12pm
I’m running 2.2.2
All my fields are being returned on my comment results page except for “url”. It’s as if there is a control panel setting blocking the return of that type of field only. Any suggestions?
#2 / Aug 31, 2011 8:56pm
I guess this is only the member url. Not their personal website.
#3 / Sep 01, 2011 8:45am
Hi, thefifthlion. When you say you’re wanting the url variable to be seen, where are you using it?
http://ellislab.com/expressionengine/user-guide/modules/comment/entries.html#var_url is the page in the docs for it.
#4 / Sep 01, 2011 1:27pm
Sue,
Just wanted to say thanks for all your helpful advice since I’ve signed up!
Basically I wanted to attached the members url to their screename so it would link to their site. But the url isn’t being passed via {url} for some reason. Have a look. When I use firebug it shows as an empty href.
http://www.stonehavenjewelry.com/about/testimonials/what_they_are_saying
#5 / Sep 02, 2011 1:27am
thefifthlion,
Do you mind posting the template code where you are wanting to use {url}, that will give us some context and we can help you sort it out.
Thanks!
#6 / Sep 02, 2011 12:04pm
#7 / Sep 02, 2011 12:06pm
I’ve logged in as another member to post an entry and entered a url but when I view the comment on the url is not passed. I thought there might be a “external linking” = off in the control panel or channels somewhere? Thanks for your help.
#8 / Sep 02, 2011 4:59pm
{url_as_author} - give that a try and see if it works.
#9 / Sep 02, 2011 5:26pm
where should I use this in the? {url_as_author}
I’m getting the following html returned back which obviosly is an error:
pastemployee” class=“bluegreen”>pastemployee
September 02, 2011
below are the locations where I added {url_as_author}
—————————
<label for="url">URL:</label> <input type="text" name="{url_as_author}" value="{url_as_author}" size="50" /><br >
<div><h3><a href="http://{url_as_author}" class="bluegreen">{name}</a></h3>#10 / Sep 02, 2011 5:42pm
got {url} to work, sorry for the confusion
#11 / Sep 02, 2011 5:43pm
Glad you were able to figure out what the problem was. Don’t hesitate to post again as needed.