Hey,
I’m looking for a solution to customize the [html]-Tag.
In <a href: “http://neos.readthedocs.io/en/2.1/CreatingASite/RenderingCustomMarkup/AdjustingOutput.html”>docu-AdjustOutput-section there is a lot of info about elements in head and body.
Unfortunately, I can not deduce how I could use it to do something like this:
I can’t find the Logic in Source Code for NodeType Page.
Only it’s supertype’d from TYPO3.Neos:Document. To search in Code for Page- or Document-Class or -Nodetype or something like this… to many matches
Tried to overwrite the Page NodeType with:
prototype(TYPO3.Neos.NodeTypes:Page){
attributes.class = "no-js"
}
# other try:
prototype(TYPO3.Neos.NodeTypes:Page){
class = "no-js"
}
both without success …
What is the easiest solution to
use conditional in [html]-Tag?
work with modernizr’s no-js ?
find other options/attributes usable with NodeType Page?
Hi,
the Reference is quite good, if I would know what I’m have to looking for .
I found by chance two of the three answers in the sourceCode, although I was looking for something total different . And as I knew, what particular term («htmlTag») is covering my question, Google has also found something finite:
First match bingo: http://neos.readthedocs.io/en/1.1/Appendixes/NeosTypoScriptReference.html#page
My solution for class=“no-js”
I’m not sure if I really have to check the current value of the class attribute. But better safe than sorry. Maybe someone else could give me an advise on the need for?
Answer on third question: Classes or Prototype-Definition to know what other attributes/elements are possible: (Perhaps others have as much as I trouble to tease out the right terms/places from the reference)