[TYPO3] Help with Extension Kickstarter v0.3.6?

Matthew Manderson matthew at manderson.co.uk
Fri Aug 4 14:59:00 CEST 2006


I've used kickstarter v0.3.6 in TYPO3 v4.0.1 for an extension.

But the main pi1.php file looks very different to how the tutorials show it.

1) I cannot find my reassuring $content = ""; in function main which now
shows:

function main($content,$conf)   {
        switch((string)$conf['CMD'])    {
                case 'singleView':
                        list($t) = explode(':',$this->cObj->currentRecord);
                        $this->internal['currentTable']=$t;
                        $this->internal['currentRow']=$this->cObj->data;
                        return $this->pi_wrapInBaseClass($this->singleView($content,$conf));
                break;
                default:
                        if (strstr($this->cObj->currentRecord,'tt_content'))    {
                                $conf['pidList'] = $this->cObj->data['pages'];
                                $conf['recursive'] = $this->cObj->data['recursive'];
                        }
                        return $this->pi_wrapInBaseClass($this->listView($content,$conf));
                break;
        }
}

2) After using the Kickstarter wizard I have my new table, my TCA BE form to
enter data into the table and I have my frontend as a content element
showing me records from the table. BUT, in the FE browser it also shows me
by default a search form to users search these records etc. but I cannot in
any of the ext files find how to configure this search or as above to add
my own default data.

I do have this along with other stuff:

                // Adds the search box:
        $fullTable.=$this->pi_list_searchBox();

Where do I need to look for the latest help with these things? 

In the Video section of typo3.org Kasper offers the "Frontend Plug in
Development Video" but no hyperlink to find it?

Thanks,
Matthew 
 



More information about the TYPO3-english mailing list