Hi.
meine EXT heisst 'smatchmaster'.
TS:
plugin.tx_smatchmaster_pi1 {
facebook < plugin.tx_socialplugins
facebook.settings.LikeButton.font = Arial
}
im TSOB stehen jetzt wie erwartet die Konfdaten von facebook unterhalb
des smatchmasters.
PHP:
private function getFacebookSnippetforMarker() {
return $this->cObj->cObjGetSingle($this->conf['facebook'],
$this->conf['facebook.']);
}
Leider wird nichts ausgegeben. Woher weiss denn die Methode, welches
Plugin da ausgegeben werden soll, es wird doch nur die Konf übergeben...
Etwas ratlos.
Rainer
ich habe es so gemacht:
----PHP---
private function getFacebookSnippet() {
$conf =
$GLOBALS['TSFE']->tmpl->setup['plugin.']['tx_socialplugin_pi1.'];
return $this->cObj->cObjGetSingle($conf);
}
----PHP---
da kommt aber keine Ausgabe zurück.
Bestünde nicht die Möglichkeit, das Plugin in eine versteckte Seite
einzubauen, dort per FF zu konfen und dann per getRecord() das
„rüberziehen“.
Rainer
- --- PHP ---
function insertPluginintoMarker(){
return $this->cObj->cObjGetSingle(
$this->conf['includeOutput'],
$this->conf['includeOutput.']);
}
- --- PHP ---
so kannst du später auch problemlos den output verändern gegen
beliebigen andere plugins oder mit einem COA sogar mehrer plugin
ausgaben in deisen marker füttern.
gruss chrsi
- -- 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)
iEYEARECAAYFAkvlUYQACgkQIcCaXPh/JHF6sgCfY7T/xKTVI8gj/wgMdMcZhjpX
2rYAnjtADPBWiI2y3HywdNGoN4pibwOC
=Zgi1
-----END PGP SIGNATURE-----
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
--
Webmasterei Hamburg
Dipl.-Ing. R. Schleevoigt / TYPO3 Certified Integrator
Ust-ID: DE239491976
mail:rai...@webmasterei-hamburg.de
http://webmasterei.com
22303 Hamburg | Novalisweg 10
+49 40 27806982 | skype:kontaktschmied
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german