Hi,
I’m looking for docs about “Pagetype” «shortcut». Maybe more like «cookbook for shortcut…»
I tried with all different target nodes, but without success.
#####Situation:
Homepage
± Colors (type: Page)
± - Red (type: Page)
± - Blue (type: Page)
± Do it your self (type: Page)
± - Step one (type: Section in Themes with id=“step-one”)
± - Step two (type: Section in Themes with id=“step-two”)
…
± - Step hundred (type: Section in Themes with id=“step-hundred”)
The shortcut should appear in Menu like «normal Subpages», but in fact, there should only be an Link or shortcut to the parent-Site «Do it yourself» and there to section-id’s. Link for Menu like:
<ul class="sub-menu">
<li class="normal">
<a href="/do-it-yourself.html#step-one">Step one</a>
</li>
<li class="normal">
<a href="/do-it-yourself.html#step-two">Step two</a>
</li>
<li class="normal">
<a href="/do-it-yourself.html#step-three">Step three</a>
</li>
</ul>
If it would possible, I don’t like to use customized build prototype like this (because of using this combined with other “standard Page types” is more tricky and not that easy to use in different websites like Standard Shortcut-Solution) :
prototype(Vendor.Sitename:Menu) < prototype(TYPO3.TypoScript:Template) {
items = ${q(node).find('[instanceof Vendor.Sitename][id != ""]')}
templatePath = 'resource://Vendor.Sitename/Private/Templates/TypoScriptObjects/MenuWithAnchors.html'
sectionTitle = ${q(node).property('sectionTitle')}
}
Is there a way to use shortcut for this situation like:
- Target mode: Parent node
- Target : #step-one
- I’cant set an id-anchor in Target like #step-one
- I can set the target «Step one» but this will “link” to http://www.dev-website.neos/do-it-yourself/step-one.html and wil get an Error:
www.dev-website.neos hat Sie zu oft weitergeleitet.
Console: GET http://www.dev-website.neos/do-it-yourself/step-one.html net::ERR_TOO_MANY_REDIRECTS step-one.html:1```
So obvious I misunderstand the using of shortcut and create maybe an infinite loop.
- Is there a good documentation about use shortcut in practice, or a tutorial, that I didn't find yet?
- Or has someone an explanation of how and if I can do this with shortcut or something else outOfTheBoxNeos?