Closed (duplicate)
Project:
Content Templates (Contemplate)
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Mar 2009 at 02:22 UTC
Updated:
7 Aug 2009 at 14:21 UTC
I'm working on a development site that uses the location module and after changing the street addresses in my demo from the real users' street to dummy ones (so I can demo it!) the data is showing the dummy values... (like in the user profile), Except for in my page .. Or node display ... That uses contemplate.
I cleared the cache and did a browser refresh. What am I missing?
Comments
Comment #1
yesct commentedI wanted to make sure it was not a location module problem... so I also updated the phone fields in the profile (using content profile module). The phone is stored as a text value. So I changed xxx-xxx-7083 to xxx-xxx-1234
And in almost everyplace, it updates to 1234 correctly.... except on the node I use content profile for... So I cleared the cache and did a search in phpmyadmin for 7083, and I found it! in the users table, in the data field!
How do I get the data field to notice the new info stored in the cck fields?
This old issue looked related, but maybe not quite the right match: #337182: Profile fields not updated in user data
Comment #2
yesct commentedI was (talking to myself) opening an issue in content profile (#417862: new data in cck profile fields not updated to the data field in the users table in the database) and I thought.. Maybe the old data is in the "data" field in the users database table, sure.. but maybe it is my bad that I'm accessing it! I did write the php in the content template!
maybe I need to do another [EDIT: node_load() not load_node()] to load the content profile node's cck fields...
what I have now is:
What would I use to load the fields from the content profile node instead of the table users, data?
Comment #3
yesct commentedcontent_profile_load()?
Comment #4
kenorb commented#337182: Profile fields not updated in user data