[TYPO3-dev] Mapping eId-URLs to "real" URLs
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Thu Jan 18 17:31:04 CET 2007
Cyprian Kowalczyk schrieb:
> On Thu, 18 Jan 2007 16:13:23 +0100, Martin Kutschker
> <Martin.Kutschker at n0spam-blackbox.net> wrote:
>
>> I wanted to translate all of my URLs to fake "real" URLs. Why? So I
>> can get a complete dump with wget easily.
>> But the dump should include also the click enlarge images provided
>> by showpic.php which as of 4.0 is implemented as a eId-URL.
>> Does anyone have an idea how to get this into Real URL?
>> I think of having the eIds in a separate URL prefix, eg
>> mysite.com/eid/. So mysite.com/eid/showpic/options should be the
>> generated and accepted URL for my popups.
>> The other thing I need to change is the thumbnails. Currently they
>> are done as t3lib/thumbs.php, but if they were an eId-script they too
>> could be set up like above.
>
> I'm not sure but it seems you need to initialize RealURL yourself in
> your eID script as eID scripts are run before any other stuff so you
> would have to retranslate the path before eID call is made, actually
> without it index_ts.php [?] doesn't even know you run eID script.
You are right, the usual path-to-uid translation is done elsewhere. I have
no problem in calling a path-mapping routine myelf. The point is that Real
URL must be aware of my mapping scheme. It must recognize the eId-URL
prefix and act accordingly.
Masi
More information about the TYPO3-dev
mailing list