5121 Posts in 1527 Topics by 1119 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 474 Views |
-
Exclude fields from translation?

16 July 2011 at 12:54am
Hi, is it possible to share certain information between the translations of a page? These fields should be only editable in the base language and greyed out in the translations (like the "PageType" field).
There was a similar request some time ago, I wonder if this is possible meanwhile?
-
Re: Exclude fields from translation?

20 July 2011 at 9:53pm
Or maybe someone has a workaround/hack (like a "copy this field to all languages" button)?
-
Re: Exclude fields from translation?

21 July 2011 at 5:44am
I don't think it's part of the Translatable module.
I'm thinking first you'd have to make the field readonly or (have it disapear) within the CMS for all pages except for the master page.
Next you'd have to add some functionality to the Page's OnBeforeWrite() or OnAfterWrite() method that checks if the current page is the master page, and if so, collects all translations, updates their corresponding field and then writes them to the database. Something like that
| 474 Views | ||
|
Page:
1
|
Go to Top |

