TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

TYPO3 Mailingliste: nicht fragen - lesen!

TYPO3 Mailingliste: nicht fragen - lesen!_RR_1-->
Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-project-templavoila@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 09.05.2007, 23:54
Mark Ravitz
Gast
 
Beiträge: n/a
Standard [TYPO3-templavoila] Render content of page from PHP

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Sponsored Links
  #2  
Alt 10.05.2007, 10:22
Dmitry Dulepov
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Render content of page from PHP

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

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


Alle Zeitangaben in WEZ +1. Es ist jetzt 13:00 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Template-Modifikationen durch TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103