What could 'edit' possibly mean other than 'rename'? Just rename it. And when you do so, note that you're forcing yourself to edit all the templates involved to change the field name all places it comes up to the new name you're using.
I added a few custom linking fields. The information is showing up in the Submit a Link template.
When I go to edit a listing as the admin, all of the custom fields show but the text box next to the custom fields are blank.
I'm thinking that I didn't check the User Editable fields when creating the field name. I cannot find anyway to edit the field and add that the user editable option.
Question 1: The comments above say to rename it. Are you recommending that I rename it to County2 or something like that and then create a new County with the correct options checked?
In this case I would have to manually re-populate the county field for all listings. (Not a big deal since I have under 20 right now) but not a long term solution.
Question 2: IF I check the boxes for user editable will this solve the problem of the data not showing up when I go to edit that field? I think there are two of them in the Add Field options.
I cannot find anyway to edit the field and add that the user editable option.
Simply remove the conditional <IF {THISMEMBERISADMIN}></IF> from around it in the template that makes it only show up to admins.
The comments above say to rename it.
If you're referencing my posts, I said that you should never rename a field because it's a really bad idea that creates lots of work for you and I can't think of a reason it would ever actually be necessary -- but the option is there anyway because people want it and who am I to argue with people creating more work for theirselves.
problem of the data not showing up
All I can say is, what data? What data are you expecting to see, and what did you do that you think should cause it show?
the text box next to the custom fields are blank.
Should I presume you're suggesting you've tried to edit it to type a value in there, but when you submit and come back to edit again it's gone?
the fields still show up in edit.php. I've deleted and recreated the same custom field, but it somehow duplicates it and displays in the edit screen of a link. It looks fine in the database, but for some reason, it these custom fields still show up. IS there a way to delete those fields for good w/ out it ever showing up on an edit screen?
I've deleted some custom fields, but the fields still show up in edit.php. I've deleted and recreated the same custom field, but it somehow duplicates it and displays in the edit screen of a link. It looks fine in the database, but for some reason, it these custom fields still show up. IS there a way to delete those fields for good w/ out it ever showing up on an edit screen?
Deleting a field from the add fields screen, as it states there, does not alter your templates. It's your job to change your templates to remove stuff that's no longer applicable.
Look in the templates area of your admin panel and edit the "edit link" template. In the template you will see it duplicated.
Don't feel bad it can be confusing. Adding a new field automatically gets added to the edit link template, howevery it doesn't get added to the suggest link template. However when you delete a field, it is not automatically removed from edit or suggest template.
Why is that paul? I can understand not wanting to remove anything, but why aren't new fields either not added at all or added to both suggest and edit link template?
thanks for the info. I also want to know why the new added custom field does not display in the add new > add link section of the admin panel. You can only see it when you click on an individual link to edit.
hi paul, everything in that directory was chmoded to 666. My other alternative was to copy and paste the new custom fields from editlinks to suggestlink.
I'll have to double check to see the chmod. thanks
Okay, checked, and I can only state that every time I add a link field it does properly add the code to the 'suggest link' and 'edit link' templates -- as long as I check the boxes to indicate it should be submittable and editable, of course. It put this in suggestlink.tpl and edit.tpl:
Comments on edit fields
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
What could 'edit' possibly mean other than 'rename'? Just rename it. And when you do so, note that you're forcing yourself to edit all the templates involved to change the field name all places it comes up to the new name you're using.
or change the fields options
That's simply template HTML.
Beginner
Usergroup: Customer
Joined: Mar 21, 2005
Location: Marietta, GA
Total Topics: 2
Total Comments: 7
I added a few custom linking fields. The information is showing up in the Submit a Link template.
When I go to edit a listing as the admin, all of the custom fields show but the text box next to the custom fields are blank.
I'm thinking that I didn't check the User Editable fields when creating the field name. I cannot find anyway to edit the field and add that the user editable option.
Question 1: The comments above say to rename it. Are you recommending that I rename it to County2 or something like that and then create a new County with the correct options checked?
In this case I would have to manually re-populate the county field for all listings. (Not a big deal since I have under 20 right now) but not a long term solution.
Question 2: IF I check the boxes for user editable will this solve the problem of the data not showing up when I go to edit that field? I think there are two of them in the Add Field options.
Thanks in advance for your help.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I cannot find anyway to edit the field and add that the user editable option.
Simply remove the conditional <IF {THISMEMBERISADMIN}></IF> from around it in the template that makes it only show up to admins.
The comments above say to rename it.
If you're referencing my posts, I said that you should never rename a field because it's a really bad idea that creates lots of work for you and I can't think of a reason it would ever actually be necessary -- but the option is there anyway because people want it and who am I to argue with people creating more work for theirselves.
problem of the data not showing up
All I can say is, what data? What data are you expecting to see, and what did you do that you think should cause it show?
the text box next to the custom fields are blank.
Should I presume you're suggesting you've tried to edit it to type a value in there, but when you submit and come back to edit again it's gone?
Member
Usergroup: Customer
Joined: Sep 30, 2005
Total Topics: 7
Total Comments: 20
the fields still show up in edit.php.
I've deleted and recreated the same custom field, but it somehow duplicates it and displays in the edit screen of a link. It looks fine in the database, but for some reason, it these custom fields still show up. IS there a way to delete those fields for good w/ out it ever showing up on an edit screen?
thanks
Member
Usergroup: Customer
Joined: Sep 30, 2005
Total Topics: 7
Total Comments: 20
I've deleted some custom fields, but the fields still show up in edit.php.
I've deleted and recreated the same custom field, but it somehow duplicates it and displays in the edit screen of a link. It looks fine in the database, but for some reason, it these custom fields still show up. IS there a way to delete those fields for good w/ out it ever showing up on an edit screen?
thanks[/quote]
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Deleting a field from the add fields screen, as it states there, does not alter your templates. It's your job to change your templates to remove stuff that's no longer applicable.
Member
Usergroup: Customer
Joined: Sep 30, 2005
Total Topics: 7
Total Comments: 20
Hi Paul,
according to my problem, where do we edit on the edit.php page?
thanks!
Forum Regular
Usergroup: Customer
Joined: Feb 19, 2004
Location: Michigan
Total Topics: 57
Total Comments: 185
Don't edit the edit.php page.
Look in the templates area of your admin panel and edit the "edit link" template. In the template you will see it duplicated.
Don't feel bad it can be confusing. Adding a new field automatically gets added to the edit link template, howevery it doesn't get added to the suggest link template. However when you delete a field, it is not automatically removed from edit or suggest template.
Why is that paul? I can understand not wanting to remove anything, but why aren't new fields either not added at all or added to both suggest and edit link template?
Member
Usergroup: Customer
Joined: Sep 30, 2005
Total Topics: 7
Total Comments: 20
hi,
thanks for the info. I also want to know why the new added custom field does not display in the add new > add link section of the admin panel.
You can only see it when you click on an individual link to edit.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Why is that paul?
Because the html around the field is inevitably customized, so any attempt to guess at key markers to remove it is likely to cause damage.
I also want to know why the new added custom field does not display in the add new > add link section of the admin panel.
Your suggestlink.tpl must not have been chmoded to be writeable. Add it in like any html form element or copy the edit template.
Member
Usergroup: Customer
Joined: Sep 30, 2005
Total Topics: 7
Total Comments: 20
hi paul, everything in that directory was chmoded to 666.
My other alternative was to copy and paste the new custom fields from editlinks to suggestlink.
I'll have to double check to see the chmod. thanks
Forum Regular
Usergroup: Customer
Joined: Feb 19, 2004
Location: Michigan
Total Topics: 57
Total Comments: 185
Every time I add a new field it adds the relavent html to the edit link template
It never adds the html to the suggest link template.
This has happened from version 2.x to 3.x
My suggest link template is chmoded. In fact I've changed it several times. I also haven't removed any of the "add new fileds here" markers.
This certainly doesn't matter either way, I was just curious why new field html is added to edit but not suggest.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Will recheck this shortly.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Okay, checked, and I can only state that every time I add a link field it does properly add the code to the 'suggest link' and 'edit link' templates -- as long as I check the boxes to indicate it should be submittable and editable, of course. It put this in suggestlink.tpl and edit.tpl:
<tr>
<td class="labelscolumn"><span class="labels">testing template addition:</span></td>
<td class="optionscolumn"><input type="text" name="test" size="{STANDARDSIZE}" value="{LINKTEST}"></td>
</tr>