[Typo3] Some questions concerning extension programming

Andreas Bulling spam at phoenix.hadiko.de
Mon Nov 28 21:45:39 CET 2005


Hi all,

I'm writing an extension but I have some problems and I hope
someone can help me:

1) Whats 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
source 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 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?

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-english mailing list