|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Hi,
I'm trying to get an Ajax plug-in to work with TV. The plug-in has a PHP function which needs to return the rendered contents of a page without the body/header tags. When you are not using TV the code looks like: $conf1 = array('orderBy' => 'sorting', 'pidInList' => '123'); $conf2 = array('table' => 'tt_content', 'select.' => $conf1); $content = $this->cObj->CONTENT($conf2); Does any know what the PHP function call should look like with TV? Thanks, Mark Ravitz _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
| Sponsored Links |
|
#2
|
|||
|
|||
|
Mark Ravitz wrote:
> I'm trying to get an Ajax plug-in to work with TV. The plug-in has a PHP > function which needs to > return the rendered contents of a page without the > body/header tags. > > When you are not using TV the code looks like: > > $conf1 = array('orderBy' => 'sorting', 'pidInList' => '123'); > $conf2 = array('table' => 'tt_content', 'select.' => $conf1); > $content = $this->cObj->CONTENT($conf2); > > > Does any know what the PHP function call should > look like with TV? I guess something like: $conf = array('userFunc' => 'tx_templavoila_pi1->main_page'); $content = $this->cObj->USER($conf); -- Dmitry Dulepov Web: http://typo3bloke.net/ Skype: callto:liels_bugs "It is our choices, that show what we truly are, far more than our abilities." (A.P.W.B.D.) _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3-templavoila] HTML Tags that accept templavoila content | Nagita Karunaratne | typo3-project-templavoila@lists.netfielders.de | 1 | 15.04.2007 06:33 |
| [TYPO3-templavoila] tv content slide: white page if no content (TV1.3 , Typo3 4.1.1) | Matthias Kurz | typo3-project-templavoila@lists.netfielders.de | 0 | 14.04.2007 14:11 |
| [TYPO3] Inherit content from parent page (TemplaVoila) | Wytse P. Bezemer | typo3-english@lists.netfielders.de | 1 | 26.03.2007 16:06 |
| [TYPO3-templavoila] Content Elements don't render | Helge Preuss | typo3-project-templavoila@lists.netfielders.de | 1 | 02.03.2007 14:22 |
| [TYPO3-templavoila] no content showing in Web>Page or front end | Cate & Peter | typo3-project-templavoila@lists.netfielders.de | 0 | 31.12.2006 02:45 |