[TYPO3-dev] UriBuilder Functionality with eID
g4-lisz at tonarchiv.ch
g4-lisz at tonarchiv.ch
Wed Mar 19 20:20:41 CET 2014
On 03/19/2014 12:22 PM, Jigal van Hemert wrote:
> Hi,
>
> On 19-3-2014 0:10, g4-lisz at tonarchiv.ch wrote:
>> Is there a way to build URIs in eID code similar to UriBuilder in a
>> controller? E.g.
>>
>> $this->uriBuilder->setTargetPageUid($pid);
>> $url = $this->uriBuilder->build();
>>
>> I need to do the same in eID (also respecting realURL).
>> There also should be as few initialization overhead as possible because
>> I need a very fast response from th eID.
>
> You may find inspiration from the extension "pagepath". It might not
> be extremely fast, but it can generate frontend URLs and supports any
> speaking URL extension (RealURL, cooluri, etc.).
>
Hi Jigal,
thank you for the hint!
As I see, the tricky thing is to get a working cObj ... I think, if I do
all this intitalization stuff, then eID isn't any faster than a normal
fe plugin :(
My approach at the moment is to write all fe stuff I need into the user
session. When generating the page that gets AJAX from eID, all the
initialization is done anyway...
Cheers,
Till
More information about the TYPO3-dev
mailing list