For the build of a twinning site (French/German cities), I would like have for each documents, a part of the content in French and the other in German.
The layout of the site will be in German or in French, depending of the nationality of the web user, but all the documents will be presented in the two languages on the same page.
How could I add a sort of template to make easier the input of the content (in French and in German) ?
Is it possible to add a second text-area in the document manager for instance ? Which pgms should be modified ?
Is there somewhere an example of this kind of customisation ?
Thanks for your answer and your suggestion.
-
MODX Staff
- 10,725 Posts
Isn’t this a perfect use for a template variable?
-
MODX Staff
- 10,725 Posts
I see.
IMHO, we need an external search indexing tool. I’ve partially integrated a site with Solr (a Java-based search/indexing tool) and the concept works wonderfully. But it’s anything but trivial to architect a search indexing tool properly, though I had planned to try a simple implementation as part of the efforts for 1.0, which will consequently also change the way site_content works, allowing documents to have predefined sets of content/metadata attached (i.e. multiple content areas, custom metadata fields, etc.) without having the relationships be dependent on a Template.
Lucene might be interesting, as it already has some good PHP interfaces