Hi,
I use the nodeprofile module since several months in conjunction with the nodefamily and usernode modules. Now, I suddenly noticed a strange behaviour of my nodeprofiles:
I deactivated "use as nodeprofile" for a content type and activated it again later. Afterwards, only the themed box with the title got displayed, but none of the fields. I tried it with other content types (cck and also module generated content types), same result. Reinstalled node profile, node family and subform modules, in vain.
One thing is curious: If I unmark these content types again, then mark them 'manually' (through nodefamily settings) as childs of usernode, they get displayed as supposed ! Btw: For display, I use the method described at the end of the nodeprofile module's readme file.
I suppose this has something to do with one of the module's updates, because up to now I never had this problem.
Please tell me if you need more information or if I should test something specific.
Thanks!
Comments
Comment #1
fagohm, which output variant are you using? Edit link enabled?
Please check the html source too, perhaps there is a css issue.
Comment #2
fagohttp://drupal.org/comment/reply/189433/628604
Comment #3
olio commentedHi fago,
thanks for your reply and sorry for the delay.
I tested each possible output variant, without any effect.
But I noticed something else as I changed my usernode template file: I didn't use the $content variable of the usernode inside the template file to print out the nodeprofiles. My approach was to put the nodeprofiles in two columns in two variables ('nodeprofiles_col1', 'nodeprofiles_col2') inside the template.php (see below) and to print them out inside the usernode template file. When I print the $content variable, the nodeprofiles appear.
But the strange thing is, that up to now, my approach worked fine, and works again if I uncheck the 'use as nodeprofile' checkbox for each of the node types and mark them as childnodes of usernode via the userfamily module.
So, all in all, I think, it's not a bug, but maybe something has changed in how the nodeprofile module 'delivers' the nodeprofile contents ?
Here is what I put in the _phptemplate_variables() function inside template.php:
If nobody else should have the same kind of problem, then please don't waste time with this. I will use the nodefamiliy instead.
Anyway, thanks for your help (and your module!).
Comment #4
fagook, if it's not bug, then let's close it. However I'm not aware of any changes, which should affect this.
Comment #5
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #6
socialnicheguru commentedsubscribing
Comment #7
socialnicheguru commentedsubscribe