[Typo3] url-parameters to src of frame via '.options'

kay stenschke kay at stenschke.com
Tue Feb 22 16:19:31 CET 2005


As i today received an email regarding this problem asking if i found a solution yet,
i decided to post my workaround-solution (sorry if it's a rather dirty fix, better suggestions
 are welcome).  after i couldn't find another solution that worked in that case, i modified the extensions used in this project (should work with any other extension also):
in the main-class of the extension, before returning the rendered $content, i added a
search&replace function to change included hyperlinks to suit the needs of the frameset,
by adding the additional target-parameter target="_self" and exchanging 'index.php?' within
hyperlinks found against  'index.php?type=8&' .

code:
  ...
  $content = str_replace('<a href="index.php?', '<a target="_self" href="index.php?type=8&', $content);
  return $content
}


- kay stenschke (kaysten)

-----------------------
This thread is located in the archive at this URL:
http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/110105699/
					



More information about the TYPO3-english mailing list