[TYPO3-dev] Custom Filenames in RealURL

Jeff Segars jsegars at alumni.rice.edu
Wed Mar 26 00:16:06 CET 2008


Steffen Kamper wrote:
>  "Jeff Segars" <jsegars at alumni.rice.edu> schrieb im Newsbeitrag 
>  news:mailman.1.1206477421.12811.typo3-dev at lists.netfielders.de...
>>   I'm attempting to generate custom filenames with RealURL and
>> running into a brick wall so I wanted to get some feedback as to
>> whether this is even possible.  From what I can see, its probably
>> not but might be a nice addition to RealURL at some point in the
>>  future.

>>  Original URL:

>> http://mysite.com/calendar/?type=150&tx_cal_controller>[calendar]=70
>> Goal URL: http://mysite.com/calendar/my-calendar-name.ics

>>  I know I can generate the following URLs...
>> http://mysite.com/calendar/my-calendar-name/index.ics (where index
>> is  static and used for all ics urls)
>>  http://mysite.com/calendar/my-calendar-name/ics/

>>  Is it possible to generate a dynamic filename alongside a file
>> extension based on the page type?

>>   Thanks,
>>   Jeff

>  Hi Jeff,

>  imho is this easy to configure, use section filename, eg
>  'fileName' => array (


>    'defaultToHTMLsuffixOnPrev' => 1,
>    'index' => array(
>        'index.ics' => array(
>            'keyValues' => array (
>                'type' => 150,
>            )
>        )

>    }

Hey Steffen,
This is actually what I know how to do but want to avoid :)  I'm
looking for a way to generate my-calendar-name.ics, where
my-calendar-name is generated from a database lookup and .ics is
generated based on the page type.

Thanks,
jeff






More information about the TYPO3-dev mailing list