[TYPO3-german] Extension Entwicklung Subpart ignorieren

Christian Wolff chris at connye.com
Wed May 12 15:23:31 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 12.05.2010 13:59, schrieb Stefan Collon:
> Hallo Oliver. 
> Wow...Klasse! Das sieht richtig gut aus und ich werde mich mal dranmachen das zu integrieren.
> Komisch trotzdem, dass es da keine eingebaute Typo3 Funktion gibt,aber zum Glück gibt es ja Dich ;)
> 
> Danke an alle für die Hilfe!

Hi ihr wist schon das tslib_cObj funktionen dafür bereit stellt oder?
tslib_cObj ist normalerweis bei plugins bereits $this->cObj verfügbar.

die funktionen:
getSubpart  ($content, $marker)
substituteSubpart ($content, $marker, $subpartContent, $recursive=1)
substituteMarker ($content, $marker, $markContent)

(es gibt auch noch einige funktionen die ein marker array verwenden)

hat. damit ist es eigendlich ganz einfach oder verstehe ich das problem
nicht?

$templ= $this-cObj->fileResource('mytemplatefile.html');


if($supbpartNotNeedet){
  $templ=$this->cObject->substituteSubpart($templ,###mark###,'',true);
}

gruss chris


- -- 
Christian Wolff // Berlin
http://www.connye.com

some projects:
http://richtermediagroup.com | http://titanic.de |
http://fairplay-homepage.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iEYEARECAAYFAkvqq9IACgkQIcCaXPh/JHFJtgCfav73aVtmnY5ViA+K1KMO0x7i
B6QAoJo0hXmT6tHeuvahADMFLrk5+0am
=zU8d
-----END PGP SIGNATURE-----


More information about the TYPO3-german mailing list