Webmastersite.net
Register Log In

Adding new cat field problem

Comments on Adding new cat field problem

babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Sep 02, 2008 - 2:22 AM:

When I add a new category field and then go to edit an already existing category, the new field is already filled with the information from the custom field above.
fusionx
Experienced

Usergroup: Customer
Joined: Jun 18, 2008

Total Topics: 22
Total Comments: 85
fusionx
Posted Sep 03, 2008 - 12:01 PM:

Interesting. I'm getting the same thing on links.

I added a field a while ago called linksnippet - like a short description for the Show Links in Category page. I also added a text based address/directions field. The snippet text is showing in the address field until manually replace it.

This is only happening on existing links. Anything new that I add works as expected.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 03, 2008 - 6:49 PM:

That's not what happens when adding a category field keeping the defaults. Tell me what steps to follow and what template content you're using.

What does "filled with the information from the custom field above" mean? What information would that be? A new field wouldn't have any information.
webflair
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006

Total Topics: 187
Total Comments: 465
Posted Sep 03, 2008 - 7:38 PM:

I have been getting the same thing on links since the first release of 5 series
webflair
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006

Total Topics: 187
Total Comments: 465
Posted Sep 03, 2008 - 7:46 PM:

Say you create a custom field called "field1" and then you add data to field1

You then create a field called "field2" and it will be filled with the data from field1 when editing.

I have been combating this by using..

<input type="text" name="field2" size="{STANDARDSIZE}" <IF {FIELD2BOOL}>value="{FIELD2}"<ELSE>value=""</IF> " />


... which is a workaround for the problem.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 03, 2008 - 9:48 PM:

Again, give me an exact procedure.
webflair
Forum Regular

Usergroup: Customer
Joined: Nov 27, 2006

Total Topics: 187
Total Comments: 465
Posted Sep 03, 2008 - 9:54 PM:

Create a custom field in admin panel

Go and add some data to that field in a category (or link)

Create another custom field

Go to edit the same category you added data to

You will see that both of your new custom fields now have the same data showing in the edit form
babrees
Expert

Usergroup: Customer
Joined: Aug 19, 2005
Location: England

Total Topics: 391
Total Comments: 1303
babrees
Posted Sep 04, 2008 - 12:26 AM:

Paul wrote:
Again, give me an exact procedure.


On installing wsn I first created 3 custom cat fields (fields 1, 2 and 3). I then made several new categories, filling in these 3 fields with html info (my affiliate info). I then added a link in the categories.

I then thought of another cat field (field 4)I required so created that. On the suggest cat form the new field 4 is below the the previous field 3 I had created.

Fields 1,2 and 3 are text boxes, field 4 is a drop down box.

In each of the categories that was already there the new field was filled with the information from field 3.

I made a new category and field 4 was empty. It only happened with categories that were already there prior to creating the new cat field.

I then went in and manually changed field 4 in each category. Which brings me to my other problem where some categories will not update! www.webmastersite.net/forum...dit-cat-after-no-8362.html
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 04, 2008 - 3:13 AM:

Reproduced now, so it should be fixed tonight.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#10 - Quote - Permalink
Posted Sep 04, 2008 - 4:33 AM:

Turned out to be another of the really annoying complications that come up when database fields are allowed to be NULL. Fixed.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.