PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   ReviewPost Bug Reports (http://www.photopost.com/forum/reviewpost-bug-reports/)
-   -   "*Apply these settings..." wipes out extra fields (http://www.photopost.com/forum/reviewpost-bug-reports/126167-apply-these-settings-wipes-out-extra-fields.html)

BryanG July 19th, 2006 12:29 PM

"*Apply these settings..." wipes out extra fields
 
I recently found out, the hard way, that if you check "Apply these settings and permissions to all children", it wipes out your extra fields of any of the children categories you may have even though the parent has none.

Is there a way to seperate the "settings" and "permissions" because I sometimes change the permissions, but not the settings, of a category, and would like those permissions set for the children of that category as well instead of having to go in and modify each category individually. And, now having the ability to add different extra fields to each category, being forced to apply the master category "settings" to all of them would be more of a hinderance than anything. Or, perhaps if a category has no products, then don't allow extra fields to be added, and maybe only have permissions in there.

Additionally, since this has wiped the fields out, has the data been lost as well, or is that still sitting in the database somewhere? (Please say it's still in the database...) :rolleyes:

MitchSchaft July 19th, 2006 01:03 PM

That's horrible. I think I saw a mod that will let you hardcode extra fields along with the pro/con fields. Maybe that will be a solution to both of our issues.

Chuck S July 19th, 2006 03:26 PM

I dont see an issue here with it wiping anything out. Maybe it did not update your category info with the appropriate numextra fields. In adm-misc.php I added one more line here just as an update to make sure each childs cat insert is indeed updated with the correct number. Your data should not be lost

Code:

Content visible to verified customers only.

BryanG July 19th, 2006 04:17 PM

After losing my extra fields, I did a test to see what would happen.

I added an extra field to a sub-category, then I went to the parent category of that sub-cat and changed a few of the permissions then clicked the "Apply to all" check box and saved it, and when I went back the extra field that I created was gone.

These weren't the "Add new field type" extra fields (the ones added to 3.3), but the extra fields that are hardcoded (ie. Extra Field #1 through Extra Field #6)

Freesteyelz July 19th, 2006 04:23 PM

Yup. I came across that problem too. Even with the added code the child extra field bits do get removed. I hesitate but at least from this point it does appear to be a bug.

Freesteyelz July 19th, 2006 04:25 PM

Quote:

Originally Posted by PBChannel
These weren't the "Add new field type" extra fields (the ones added to 3.3), but the extra fields that are hardcoded (ie. Extra Field #1 through Extra Field #6)

The mod I did for Review Posts?

*NM. I misread your post.

BryanG July 20th, 2006 10:36 AM

Maybe since there's an extra fields option now, the hard coded ones can be eliminated.

But, then you'd have to move any fields that are in the hard coded ones into the extra fields.

And then you would have to worry about adding a sort option.

Chuck S July 20th, 2006 11:00 AM

I do not in any of my testing see anything getting removed nor is there any code in our files to delete them unless you physically check the delete function

I did a test on my site and added a field called testing children to both a cat additonal field and a review extra field and applied it to the children

This is the result so as you can see it works that I am seeing here

http://www.reeftalk.com/reviews/show...p/product/1865

I would need more info like urls etc to try on your site but this is clearly functioning in my testing of it

BryanG July 20th, 2006 11:47 AM

4 Attachment(s)
Ok, in the attached images, I have done it step by step.

Image 1/rp1.gif

I added an extra field called "Duration" into one of my sub-categories.

Image 2/rp2.gif

I did a screen cap of the extra field showing up on the "Upload Product" information page.

Image 3/rp3.gif

I changed some of my permissions on the PARENT category of this sub category, and wanted those permission changes to be the defaults of the sub-categories of this parent category.

Image 4/rp4.gif

As you can see, when I did this, the field that I added to the sub-category is no longer there.

I've done this multiple times and get the same result every time.

swatkins July 20th, 2006 01:09 PM

1 Attachment(s)
Maybe this is also what it happening to me...

I added a new field type and it is really acting strange...

Sometimes it is showing up in three places when I go to add child.

I edit out the new field and it may or may not show back up..

Latest problem is happening today.. The new fiels is a check box and when a new product is added the check boxes accept the check mark. When the product is saved all of the check boxes show up on the product but they are greyed out and nothing is checked...

Tearing my hair out here :( Not much left :)

Here is a screen shot... the one field is showing up 4 times. :(

swatkins July 20th, 2006 02:51 PM

Just added the extra bit of code.... Went to all the sub categories and deleted the new field box and the one in the main category.. Saved the work and then entered a new field type in just the main category and checked the save to children option....

All the subs received the new box , updated and are only showing the one box now.

BUT after adding a product the checked boxes that worked fine in the add process are still showing up blank and greyed out in the product page..

Baffled :(

Chuck S July 20th, 2006 04:18 PM

PBChannel there is your problem we aint talking the same thing. Yes the normal extra fields the names change if you overwrite from parent they are suppose to

I am talking the additional extra fields and thats why I did not see what you see

swatkins explain what is wrong with this page?

http://www.truckandrvreview.com/revi...uct=34&cat=125

BryanG July 20th, 2006 04:31 PM

Quote:

Originally Posted by Chuck S
PBChannel there is your problem we aint talking the same thing. Yes the normal extra fields the names change if you overwrite from parent they are suppose to

I kind of figured as much, that\'s why I suggested splitting the permissions/settings so that one can change permissions for that category and its sub categories and not have to worry about affecting anything else.

swatkins July 20th, 2006 08:41 PM

Quote:

Originally Posted by Chuck S
PBChannel there is your problem we aint talking the same thing. Yes the normal extra fields the names change if you overwrite from parent they are suppose to

I am talking the additional extra fields and thats why I did not see what you see

swatkins explain what is wrong with this page?

http://www.truckandrvreview.com/revi...uct=34&cat=125

See the gray check boxes beside the "Brands sold or Serviced"? They are greyed out so that you can\'t change them I think,, but there is also nothing checked in the boxes... There are options checked in the product itself but they do not transfer to this page..

BryanG July 20th, 2006 08:59 PM

That\'s the product. You would check those when you upload the "product", or in this case, the Dealer/Shop.

They will still show up even if they are not checked.

I had the same problem...you can check out my solution here:
http://www.photopost.com/forum/reviewpost-how-do-i/125386-rp-3-3-check-boxes.html

Chuck S July 20th, 2006 09:12 PM

Yes all options are suppose to show whether checked or not swatkins

swatkins July 20th, 2006 10:48 PM

No this is not the same... I know they show up if not checked.. the problem is some of them are checked and not showing up as checked on the page...

I got rid of the multiple boxes by installing the new code and removing all the boxes from the children and parent then reinstalling it on the parent and checking the box to give the same attributes to the children, that worked fine but the boxes are not showing the checked information...

swatkins July 20th, 2006 10:51 PM

Quote:

Originally Posted by PBChannel
That's the product. You would check those when you upload the "product", or in this case, the Dealer/Shop.

They will still show up even if they are not checked.

I had the same problem...you can check out my solution here:
http://www.photopost.com/forum/showthread.php?t=125386


Thanks PB! :)
I will do that after I understand the current problem.

swatkins July 22nd, 2006 09:39 PM

PH .. a question for you...

I used the code you refered me to and I like how it gets rid of the check boxes , fine job :)

Now I am having another problem :(

When a product is first entered checks are placed in the check off boxes but the program is not transfering that information to the product after it is submited...
The box description shows up but there are no items beside it.. In other words the information from the checked boxes is not transfered...

If I go back and edit the product I find the boxes are blank... I then recheck the boxes and submit and I find the information is now passed to the finished product page...

The information checked off in the boxes is not passed on the first time and I have to edit to make it appear...


HELPPPPPPPP :) I am a babe lost in the woods on this one!

Thanks for any help
Steve


All times are GMT -5. The time now is 11:30 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97