[Typo3-dev] templates for realurl config

Kasper Skårhøj kasper2005 at typo3.com
Tue Oct 18 21:49:23 CEST 2005


realurl is invoked (on decoding) even before the TCA is available so therefore 
the only choice for configuration was TYPO3_CONF_VARS in this case. Sorry.

- kasper



On Tuesday 18 October 2005 07:18, Robert Lemke wrote:
> Hi Ben,
>
> ben van 't ende [netcreators] wrote:
> > At the moment you have to put the realurl config in localconf or at
> > least that is what i do. My collegae already suggested to use includes.
> > Wouldn't it be a good idea if you could use some special template type
> > for storing that info in. I have some problems in dealing  with the
> > configuration as it is now. Having separate templates would also give
> > authors the possibility to add some default config. I feel it has some
> > advantages to include that as records in the backend.
> >
> > Is this a good idea?
>
> yes, I also experimented with it the last weeks. However, there might be
> some special cases we need to solve:
>
> In my case I need to add a certain configuration for all pages where a
> frontend plugin ter_fe_pi1 is installed. At the point when localconf.php
> (or ext_localconf.php) is executed, there's no database connection yet. And
> we cannot just create one because DBAL might not yet be configured.
>
> Without knowing really the internals of RealURL I therefore suggest to move
> the configuration from the localconf.php to a RealURL specific location
> which is parsed directly from RealURL when a DB connection already exists.
>
> Kasper, you have been working on RealURL recently - is it likely that you
> get back to it (maybe after finishing workspaces) to work on such a
> solution?
>
> Cheers,
> robert
>
> PS: Tuesday, 7 a.m. - working on TER2 ;-)

-- 
- kasper

-----------------
Think future, not feature




More information about the TYPO3-dev mailing list