[TYPO3-english] CoolURI - removing parts of URL

Pero Matic pero at matic.com
Wed Oct 20 22:26:16 CEST 2010


Jan Bednarik wrote:
>> And what can i read there Jan? Few lines of markup about maxsegments
>> .. ?
>
> Exactly!
>
> Maxsegments is what you are looking for.

Nice :-) Now i can go into CoolURI source, spend one day to find out what 
this mean:

<pagepath>
    <title>tx_realurl_pathsegment, alias,subtitle,title</title>

    <saveto>id</saveto>

    <default>0</default>

    <userfunc>tx_cooluri->getPageTitle</userfunc>

    <maxsegments>1</maxsegments>

</pagepath>

and how to remove path /factory/planes/pilots/ from 
/factory/planes/pilots/classes/page but not from 
/factory/planes/pilots/equipment/page or /factory/planes/pilots/reports/page 
:-)








More information about the TYPO3-english mailing list