Swapping structuredData from old to new
Hello I am currently trying to change the old structuredData to a new one. So I was successfully able to change my contentType and my pageConfigurations but the old structuredData stays the same.
Showing page 2 out of 2. View the first page
Discussions are closed to public comments.
If you need help with Cascade CMS please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
30 Posted by Wing Ming Chan on 09 Mar, 2016 12:55 PM
Judging from your dumps, the phantom node is created by adding another field to your data definition in use. Correct me if I am wrong here.
I plan to do two things in the next few days. First, I will add another lesson in my web service courses to talk about phantom nodes and switching content type. Second, I will enhance my library to deal with phantom nodes specifically. No one in the entire Cascade community has been interested in phantom nodes at all until recently. I think it's time for me to deal with them properly in my library.
If you cannot wait, then please check from_rwd2_to_one_region_template.php
, especially the part of code from line 115 to line 123. Here I use the code to deal with new nodes missing from the old data definition. The method
mapData
was added to the class just a few days ago. You may want to update the entire library to take advantage of these new methods.Lesson 10: Phantom Nodes is taking shape. I have added new code to my library to deal with phantom nodes. I am writing programs to illustrate how to use the library to fix the problem.
Wing
31 Posted by Wing Ming Chan on 10 Mar, 2016 02:37 PM
Added a bit of phantom-node related code to various classes.
https://github.com/wingmingchan/php-cascade-ws-ns/tree/master/casca...
Also added a few programs, illustrating how to remove phantom nodes of both types:
https://github.com/wingmingchan/php-cascade-ws-ns-examples/tree/mas...
https://github.com/wingmingchan/php-cascade-ws-ns-examples/tree/mas...
Stilling working on the new lesson.
Wing
Ryan Griffith closed this discussion on 14 Apr, 2016 07:07 PM.