Courtney Fantinato
Forum Replies Created
-
Forum: Plugins
In reply to: [Magic Fields] Conflict with Gravity Forms 1.6.10Just an update incase someone else comes across this problem.
The people over at Gravity Forms have said to use the above fix for now. In a coming update of Gravity Forms, they will add a hook that will allow us to change the line without having to do it right in the plugin code.
Forum: Plugins
In reply to: [Magic Fields] WordPress image uploader doesn't workSame problem here as well.
A fix has been posted but is it only for MF version 2? Can it be applied to version 1?
EDIT: YES, it can be applied to version 1. The code chunk is the same.
Forum: Plugins
In reply to: [Magic Fields] Conflict with Gravity Forms 1.6.10I have been able to move the Forms link by changing “add_object_page” on line 771 of the Gravity Forms plugin to “add_menu_page” and that seems to have stopped it from overriding Media. Unfortunately this is not ideal due to future plugin updates so I will have to contact Gravity Forms and see what they say.
Forum: Plugins
In reply to: [Magic Fields] Conflict with Gravity Forms 1.6.10Thanks for responding KristinCodesWP!
The problem is that I have looked at the code for Gravity Forms, and it doesn’t specify a position for the admin menu (line 771) – so by default it should go after Comments (which it does when Magic Fields is NOT activated) as per the Codex.
Once Magic Fields is activated, that is when Gravity Forms moves up the menu. If there are few write panels, it is below Media – why? I don’t know, it should still be under Comments, no? But then if you have lots of write panels, it hides/covers Media.
I have tried giving it a position, anything higher than 10 (which is the default for Media), even 100, but nothing moves the Forms link down from not hiding Media. How are you able to move it to block something else?
The only number I CAN find in the Gravity Forms code is a position of 16.9 (line 769), but even then it should place it below Links (15) but the line (771) without the position specified is the one being used as I commented out the icon URL to figure out which was being used (it’s an if/else statement).
Forum: Hacks
In reply to: Custom Post Type – Not Saving Custom Meta DataThe problem has been solved. The nonce check was causing problems.
Forum: Hacks
In reply to: Custom Post Type – Not Saving Custom Meta DataAnyone? I have found some “solutions” but nothing works.
I have put an updated code sample on Pastebin, including the code creating the custom meta box.
Forum: Hacks
In reply to: Custom Post Type – Not Saving Custom Meta DataSorry, here it is on Pastebin.