user3182532
user3182532

Reputation: 1109

Typo3: page.999 >

I'm sure there's a quick answer but I just cannot find it. Search engines don't get me any results when I put ">" or "greater than" and I've also searched the typoscript reference. I need to know what page.999 > does in a root template?

Upvotes: 1

Views: 66

Answers (2)

Aristeidis Karavas
Aristeidis Karavas

Reputation: 1956

Well let's just say you have a CSS file that is coming from an Extension. Let's take the tx_news as example.

The tx_news, if you include the static template, gives you a CSS file on the header area of your html with the name news-basic.css. If you want to keep the static template in and remove the CSS file, this is the operator you use. ">"

For example:

plugin.tx_news.settings.cssFile >

At this point you say "Please remove the CSS file, i do not need it". Whatever the setting cssFiles holds, just remove it.

The same happens to you page.999. The page.999 holds something in it. With the ">" operator, you remove it. (at least in frontend).

On the other hand, if you use the "=" operator, you define a new file. Like this:

plugin.tx_news.settings.cssFile = EXT:myExtension/Resources/News/Resources/Public/Css/news.css

And with this operator < you append something on the cssFile

plugin.tx_news.settings.cssFile < lib.pathToTheFile

Best regards,

Upvotes: 2

Mathias Brodala
Mathias Brodala

Reputation: 6460

This is the object unsetting operator, see the TypoScript syntax documentation:

This is used to unset an object and all of its properties.

Upvotes: 3

Related Questions