[TYPO3-dev] Creating links with typeNum using simulateStaticDocuments

Steffen Kamper steffen at dislabs.de
Mon Feb 5 09:42:36 CET 2007


"Oliver Hader" <oh at inpublica.de> schrieb im Newsbeitrag 
news:mailman.1.1170614446.6561.typo3-dev at lists.netfielders.de...
> Hi Oliver,
>
> Oliver Klee wrote:
>> for a site, I'm using simulateStaticDocuments. Now I also use typeNum to
>> create different output (in this case, CSV). Yet creating links to pages
>> with a non-default type using pi_linkTP fails if I provide the type as
>> another parameter.
>>
>> The resulting links look like this:
>>
>> 6.html&?type=4
>> instead of
>> 6.4.html
>>
>> What can I do to make this work?
>
> As Steffen suggested, I'd also use typolink. Have a look to the
> discussion at http://bugs.typo3.org/view.php?id=4564
>
>
> olly
> -- 
> Oliver Hader
> http://inpublica.de/

i made a suggestion in #4564
For me only adding one line works perfect:

if($conf['type']) $theTypeP =$conf['type'];

for this it is possible to easy declare:

10.typolink.parameter=7
10.typolink.type=150

and result is: Links.7.150.html

please have a look in BT.

vg  Steffen






More information about the TYPO3-dev mailing list