[Typo3-dev] Some questions concerning extension programming

Andreas Bulling spam at phoenix.hadiko.de
Tue Nov 29 00:07:39 CET 2005


Hi all,

I already asked on the german/english list but waited for hours without
receiving any answer to my posting.
So I hope someone on this list can help me ;)

1) What is the right way to create links with anchors with
TYPO3 functions? All of the functions like pi_linkTP() don't seem
to have any parameter intended for this. After looking at the
tslib_pibase source code I tried the following:

$conf = array(
        'useCacheHash' => $this->pi_USER_INT_obj ? 0 : $this->allowCaching,
        'no_cache' => $this->pi_USER_INT_obj ? 0 : $this->allowCaching,
        'parameter' => $pageID,
        'section' => 'cat_' . $categoryUID,
);
$link = $this->local_cObj->typoLink( $category, $conf );

Unfortunately only the base path to the TYPO3 installation is
added to the links (that is the document root in this case)
but the rest is missing (=the path to the page).

2) What is the right way to access the plugin's flexform options
within the backend module? Now, I do it manually by selecting the appropriate
pi_flexform field of tt_content...

3) How can I use the stdWrap functions of the cObj within the backend module?

Thanks a lot in advance,
sincerly,
  Andreas




More information about the TYPO3-dev mailing list