[TYPO3] realurl compatible EXT Developing

rocky rockyo at max-source.com
Wed Sep 13 04:58:46 CEST 2006


rocky wrote:
> rocky wrote:
>> Hey List,
>>
>> I did some project specific EXTs. Before I'm using realurl, I get the 
>> value by refer to the page ID and pass them into my EXTs for further 
>> processing. Since I configured realurl, it seems my EXTs are not 
>> working as I expected. Did I miss something in my EXT?
>>
>> Can any of you give me some direction please?
>>
>> Thanks,
>> Rocky
> 
> For instance before the url is www.domain.com/index.php?id=22
> and I need to use 22 how can I do that after using realurl please?
> 
> Thanks,
> Rocky

Ok, This is the code I'm using in my EXT

$id = t3lib_div::_GET("id");
  if ($id == 22) {
  //display content ...
  } else if ($id == 36){
  // display other contens
  }

It seems this does not work after configure the realurl work properly.

Can any of you help me please?

Thanks,
Rocky



More information about the TYPO3-english mailing list