[TYPO3] RealURL and printable version - problem
Tomasz Chmielewski
mangoo at wpkg.org
Wed May 17 20:30:17 CEST 2006
Tomasz Chmielewski wrote:
> Dmitry Dulepov wrote:
>> Hi!
>>
>> Tomasz Chmielewski wrote:
>>> Any ideas how to fix it?
>> Make "pre" variable. See RealURL docs for details.
>>
>> Dmitry.
>
> I just looked at RealURL documentation, but I'm not sure if we're
> talking about the same.
> I use RealURL with "TARGET-E RealURL Settings" extension, so that URLs
> are generated automatically from the website name without any additional
> configuration.
>
> I investigated some more, and it seems that the print version works just
> fine if the URL is longer.
>
> For example, this one doesn't work (doesn't generate a printer friendly
> page):
>
> http://server/support.html?type=98
>
> But this one works - not that the URL contains additional /pages/):
>
> http://server/pages/support.html?type=98
I didn't find a solution, so here's a quick JavaScript code that
corrects it:
location.href.replace(".html","/?type=98");
--
Tomasz Chmielewski
Software deployment with Samba
http://wpkg.org
More information about the TYPO3-english
mailing list