[TYPO3] insertData before rawUrlEncode

Andrew Davis andrew at avagraphique.com
Thu Jun 14 06:14:30 CEST 2007


sorry, i failed to note that I have defined this in constants, so that 
variable should be available...

any other ideas?


-- constants --

abs_path = http://my.path.com



-- setup --

30 = TEXT
30.value = {$abs_path}
30.insertData = 1
30.rawUrlEncode = 1




andrew



Georg Rehfeld wrote:
> Hi Andrew,
> 
> Andrew Davis wrote:
>> is this possible?
>>
>>   30 = TEXT
>>   30.value = {$abs_path}
>>   30.insertData = 1
>>   30.rawUrlEncode = 1
>>
>> it does not insert my constant data (it is raw url encoding before it 
>> inserts data... so loses { } and then doesnt insert data.... I want it 
>> to perform in the prder it is written.
> 
> IMHO the 30.insertData is totally unneccessary/wrong. 




But, according to
> a short test here, the real reason for your problem seems to be, that
> the constant '{$abs_path}' is _undefined_ ... then the 30.rawUrlEncode
> just raw encodes the 30.value, which wasn't substituted and is taken
> literally.
> 
> HTH, Georg


More information about the TYPO3-english mailing list