[TYPO3-english] Inheritance of meta tags

Stephan Schuler Stephan.Schuler at netlogix.de
Fri Apr 17 18:33:31 CEST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hey there.

Since Pablo asked for a "default in TYPO3" way, pointing him to a 3rd party extension isn't exactly what he asked for.
If you think this extension is required you should at least add "no, I don't think so, but".

Well.

I don't know exactly what this tiny feature is called. I usually call it "content slide" but I'm quite sure that targets something slightly different.

I'm talking about the "levelfield" feature of "gettext"
http://docs.typo3.org/typo3cms/TyposcriptReference/DataTypes/Gettext/Index.html#levelfield

The part of the documentation which is easily missed:
> slide" parameter forces a walk to the bottom of the rootline until there's a "true" value to return.

So here you are.
Usually you would call "data = keywords" to access the "keywords" property of the current page.
Switch that to "data = levelfield : -1, keywords, slide" to walk down the rootline until there is a not-empty "keyword" property.

Sorry for only providing german examples. But I think you're good by ignoring the german text and just look at the code examples:
http://typo3blogger.de/title-und-meta-tags-bequem-setzen/
https://www.spiersch.com/blog/2014/04/20/typo3-und-die-meta-tags/

Regards,



Stephan Schuler
Web-Entwickler | netlogix Media

Telefon: +49 (911) 539909 - 0
E-Mail: Stephan.Schuler at netlogix.de
Web: media.netlogix.de




netlogix GmbH & Co. KG
IT-Services | IT-Training | Media
Neuwieder Straße 10 | 90411 Nürnberg
Telefon: +49 (911) 539909 - 0 | Fax: +49 (911) 539909 - 99
E-Mail: info at netlogix.de | Web: http://www.netlogix.de

netlogix GmbH & Co. KG ist eingetragen am Amtsgericht Nürnberg (HRA 13338)
Persönlich haftende Gesellschafterin: netlogix Verwaltungs GmbH (HRB 20634)
Umsatzsteuer-Identifikationsnummer: DE 233472254
Geschäftsführer: Stefan Buchta, Matthias Schmidt



- -----Ursprüngliche Nachricht-----
Von: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-bounces at lists.typo3.org] Im Auftrag von TSniper
Gesendet: Freitag, 17. April 2015 16:09
An: typo3-english at lists.typo3.org
Betreff: [TYPO3-english] Re: Inheritance of meta tags

Hello Pablo,

There is an ewtension tq_seo, it's a good one for generating metatags. hope this help.
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

-----BEGIN PGP SIGNATURE-----
Version: PGP Universal 3.3.2 (Build 15704)
Charset: utf-8

wpUDBQFVMTXcpp0IwsibV8MBCG8oBACXLlzOUFgqIGOhSrRPMRfpMV9yHeeEFqwl
ULAOmrsE3W/B32zoIc4drGwHkcWuc5OFIFL04kjvmlBBBGsvPuh8VvFT3xsv6z7S
MQwWgpQrrjSUSYYG8YcnhiCM7uyZSq171LKdxRx7mBSm3ISiRcK5kIAzOlUsfy/t
Vb/1CGzDCw==
=f9Ol
-----END PGP SIGNATURE-----


More information about the TYPO3-english mailing list