contao / docs-archive

Contao Documentation
https://docs.contao.org/
Other
43 stars 77 forks source link

Added Information about "TinyMCE anpassen" in Contao 4 #375

Closed christianromeni closed 8 years ago

christianromeni commented 8 years ago

I wanted to add the chapter "7.4. TinyMCE anpassen" to the Contao 4 Docs, it took me some time to find out the template HAS to be in the root template folder and not in a subfolder. Also I wanted to give the hint about the style_formats_merge: true line, since that is very handy! I have only added it in german so far..

lionel-m commented 8 years ago

Thank you for your contribution @christianromeni !

The chapter about DCA is now in the API and this part of the doc is available in English only.

The part about TinyMCE is in the cookbook but I think it has its place in the manual. However, we should not create a new chapter just for this information. We have to decide where to place this new content in the existing chapters. @aschempp, what do you think ?

christianromeni commented 8 years ago

Ok, actually I added the DCA part only to make it have the same structure as the one from 3.4

As I see it, some parts change from version to version. Like in this case, the template came in Contao 4. If its put in the cookbook, its not version specific. So I would actually put it back in the manual.

Let me just know what to do.

lionel-m commented 8 years ago

As I see it, some parts change from version to version.

Yes the structure of the version 3.5 is now the reference.

If its put in the cookbook, its not version specific.

This is something we must resolve in the future...

I'm for adding this information in the manual. Probably in the chapter 04 "managing-content" (what do you think?) but before I would like to know the opinion of @aschempp.

aschempp commented 8 years ago

I think the cookbook chapter is correct for this topic, as the content explains a one-off topic not related to anything else in the manual. It is similar to a wiki article about exactly one topic. The Contao 3 vs. Contao 4 issue can easily be solved be either creating two cookbook entries or have two parts in the cookbook.

lionel-m commented 8 years ago

The Contao 3 vs. Contao 4 issue can easily be solved be either creating two cookbook entries or have two parts in the cookbook.

I prefer two parts:

Contao 3
  1 Deutsch
     1.1 Inhaltselemente verwenden
     1.2 ...
  2 English
     2.1 Using content elements
     2.2 ...
Contao 4
  1 Customizing TinyMCE 
  2 ...
  3 ...

We can add headings in the summary

aschempp commented 8 years ago

That's probably not best, because almost all cookbook articles for Contao 3 also apply to Contao 4 (as the API is backwards compatible)…

lionel-m commented 8 years ago

Yes right...

So as you said in this comment, the tag is globally the most suitable solution 👍 .

lionel-m commented 8 years ago

@christianromeni Could you add your contribution in the cookbook please. So far as possible we would like to have the cookbook in English only so could you also translate your text if possible?

@aschempp, @christianromeni We have already a chapter that addresses this subject for Contao 3.x. So this text could be added below and we can identify the version with the following code > **Tag** The text below concerns the version 4.0.0 and higher. (Something like that...).

christianromeni commented 8 years ago

Yes, I'll translate and add it to the cook book.. give me a few days.. currently a bit too busy...

lionel-m commented 8 years ago

Thanks 👍

aschempp commented 8 years ago

ping

christianromeni commented 8 years ago

Hab jetzt einen weiteren PR gemacht: #402

aschempp commented 8 years ago

Closed in favor of #402