I'm looking for a solution to create a page dynamically. The contect would come from a page, and I would create a child page with that content.
For example my current page lives in: domain.com/foo/bar
On "bar" I have a data named "Virtual tour" which is a TextString for example.
So if this "Virtual tour" is not null, I would like to create a page under it and show the content of it.
The url would be: domain.com/foo/bar/virtual-tour
Any advice would be good, some code even better ;)
Create page dynamically
Hi,
I'm looking for a solution to create a page dynamically. The contect would come from a page, and I would create a child page with that content. For example my current page lives in: domain.com/foo/bar
On "bar" I have a data named "Virtual tour" which is a TextString for example. So if this "Virtual tour" is not null, I would like to create a page under it and show the content of it. The url would be: domain.com/foo/bar/virtual-tour
Any advice would be good, some code even better ;)
is working on a reply...