[Typo3-dev] templates for realurl config

Michiel Roos typo3 at monosock.org
Wed Oct 19 11:12:51 CEST 2005


On Wed, 19 Oct 2005 10:53:24 +0200, Ernesto Baschny [cron IT] wrote:
> I have noticed that most RealURL configs are the same or almost the same.
> 
> What I have done is create a new extention which includes a
> ext_localconf.php that configures RealURL. The advantage is that I can
> install that without having to twidle in the main localconf.php, and I
> have some settings that can be done through ext_conf_template.txt which
> will then be regarded in the RealURL settings (e.g. if the site is
> multilanguage, which languages, if tt_news is installed, which pid for
> single-news, etc).

Are you talking single domain install here? I have over 15 sites in one
typo3 install. They could all be in need a seperate pid for single news.

Would this work with your setup? It would still come down to hacking text
files. I opt for a backend array generation tool (see other post as
reaction to kaspers).

> But the best would be: have RealURL provide a basic/standard
> configuration already and have each extention which provide views based
> on parameters provide its own RealURL configuration snipped (e.g.
> tt_news could set
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT']['postVarSets']['_DEFAULT'][]['article']
>  if the admin ticks a checkbox on tt_news installation).

I agree.

> If interesting, I could provide my current configuration masks that
> works for RealURL, multilanguage sites and tt_news, maybe they can be
> included in future RealURL/tt_news versions?

Sure, I would be interested. Any chance you can cook up a quick page to
explain all of this on your site? Otherwise on the wiki?

Cheers,


Michiel Roos




More information about the TYPO3-dev mailing list