[Typo3-dev] templates for realurl config
Robert Lemke
robert at typo3.org
Tue Oct 18 07:18:40 CEST 2005
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 ;-)
--
Robert Lemke
TYPO3 Association - Research & Development
Member of the board
http://association.typo3.org
More information about the TYPO3-dev
mailing list