Changing Nodes properties only show up 1 time, and not after first change, Please Help
Well, using Umbraco 4.6.1 here, and when I change the property of a Node, it shows up the first time, but than after changing it again, it doesn't change on the front end again. I can only change it once and it will show. I don't understand what I'm doing wrong here.
So, I have a .cs file in the AppCode directory structure, and have controls using the function in the .cs files... like so:
Ok, so I found out something now. When I remove the lock (_Lock) statement, it updates fine everytime. That must be some sort of way they unlock the ability for the content to be updated.
But where do I need to look to be able to figure out that part of the code?? Hmmmm, must be a GLOBAL variable of some sort somewhere.... hmmm
In the declaration of that file, Content.cs, it says this:
private static object _Lock = "";
Awwww, I believe it was there to lock any updating of content. Nice!!!
Changing Nodes properties only show up 1 time, and not after first change, Please Help
Well, using Umbraco 4.6.1 here, and when I change the property of a Node, it shows up the first time, but than after changing it again, it doesn't change on the front end again. I can only change it once and it will show. I don't understand what I'm doing wrong here.
So, I have a .cs file in the AppCode directory structure, and have controls using the function in the .cs files... like so:
I call upon the Node and it's properties like this:
// Inside the function call is this:
And GetContent method looks like this:
What could be the problem?
Ok, so I found out something now. When I remove the lock (_Lock) statement, it updates fine everytime. That must be some sort of way they unlock the ability for the content to be updated.
But where do I need to look to be able to figure out that part of the code?? Hmmmm, must be a GLOBAL variable of some sort somewhere.... hmmm
In the declaration of that file, Content.cs, it says this:
Awwww, I believe it was there to lock any updating of content. Nice!!!
is working on a reply...