I have tricky question, regarding structure. I have one site with many languages and need to paste one page into the structure on all languages in one stroke, in other words i need to have a master site, where I sync the structure into all languages.
I need to keep the same structure syncronised in all languages, so when I add a page in a 'master' language, the page should be copied to all or some of the languages.
Andre is correct. You would want to use the relationship api in conjunction with some event handlers.
Setup some even handlers to be notified when a new page is created/saved and check the parents related node in the other site to know where to create the copy.
Checkout this link from Neils for a similar concept plus some code sample to get you started
Syncronize structure in many languages
Hi,
I have tricky question, regarding structure. I have one site with many languages and need to paste one page into the structure on all languages in one stroke, in other words i need to have a master site, where I sync the structure into all languages.
I need to keep the same structure syncronised in all languages, so when I add a page in a 'master' language, the page should be copied to all or some of the languages.
Is this possible?
Cheers Gothardt
Haven't used it yet, but this sounds like the relations api could help you:
http://blog.hendyracher.co.uk/umbraco-relation-api/
Cheers,
André
Andre is correct. You would want to use the relationship api in conjunction with some event handlers.
Setup some even handlers to be notified when a new page is created/saved and check the parents related node in the other site to know where to create the copy.
Checkout this link from Neils for a similar concept plus some code sample to get you started
http://umbraco.org/blog/2009/3/25/microsoft-translator-and-umbraco
Matt
Great links,
Thank you both, it was exactly what I was looking for!
Johnny
is working on a reply...