As part of my quest to make every SN module work with advanced profile, here is the .inc needed to make nodeprofile work with panels. It's late so I haven't given it a thorough going over, but it works. At this point, it assumes you only have one node of each type marked nodeprofile and doesn't get into all the permutations of relations with nodefamily. I spent quite a bit of time trying to figure out the nodefamily code and finally decided to start simple.
Michelle
| Comment | File | Size | Author |
|---|---|---|---|
| nodeprofile_panels.inc_.txt | 1.49 KB | michelle |
Comments
Comment #1
michelleThis has been rolled into advanced profile so no need for it to be added to nodeprofile unless you want to.
Michelle
Comment #2
fagoI think it makes sense to add it to nodeprofile, so I've committed it to 5.x-dev. thanks!
Sry I'm not used to panels, this code is panel2 only or?
Comment #3
michelleYes, panels 2 only.
Michelle
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.