Hallo!
Hier mein XML-Output:
<toxid><pagetitle>DEMOINFO</pagetitle><navi><a href="demoinfo/" onfocus="blurLink(this);"><item><link>demoinfo/</link><title>DEMOINFO</title></item></a><a href="cetest-firstpage/" onfocus="blurLink(this);"><item><link>cetest-firstpage/</link><title>Content Elements</title></item></a><a href="visions/" onfocus="blurLink(this);"><item><link>visions/</link><title>Visions</title></item></a><a href="about-us/" onfocus="blurLink(this);"><item><link>about-us/</link><title>About Us</title></item></a><a href="contact/" onfocus="blurLink(this);"><item><link>contact/</link><title>Contact</title></item></a></navi><content>
<!-- CONTENT ELEMENT, uid:411/bullets [begin] -->
<div id="c411" class="csc-default">
<!-- Header: [begin] -->
<div class="csc-header csc-header-n1"><h1 class="csc-firstHeader">Aenean pellentesque bibendum velit</h1></div>
<!-- Header: [end] -->
<!-- Bullet list: [begin] -->
<ul class="csc-bulletlist csc-bulletlist-0"><li class="odd">Cras tortor turpis, vulputate non, accumsan a, pretium in, magna. Cras turpis turpis, pretium pulvinar, pretium vel, nonummy eu, leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Curabitur augue nibh, iaculis eget, suscipit ut, sodales in, lectus. Curabitur diam odio, blandit vel, pretium non, mollis in, mi. </li><li class="even">Vestibulum leo turpis, fringilla sit amet, semper eget, vestibulum ut, arcu. Vestibulum mauris orci, vulputate quis, congue eget, nonummy non, ante. Vestibulum neque est, posuere a, sollicitudin non, tincidunt eget, neque. Vestibulum nibh mauris, interdum sit amet, pharetra ac, interdum eu, velit. Vestibulum odio wisi, cursus suscipit, feugiat nec, dictum et, lacus. </li><li class="odd">Donec dui mauris, vestibulum id, venenatis at, rhoncus ut, dui. Donec elit felis, rhoncus congue, posuere vel, aliquet at, massa. Donec justo est, bibendum non, volutpat sed, eleifend quis, risus. Donec justo nunc, imperdiet at, consectetuer vel, mollis eu, eros. Donec malesuada, turpis at lobortis mattis, leo urna pulvinar purus, in volutpat elit turpis at eros. </li><li class="even">Nam aliquam, lorem nec dapibus feugiat, ipsum quam laoreet arcu, sed ullamcorper augue augue vitae magna. Nam est lectus, interdum id, accumsan a, blandit quis, mauris. Nam lacus lectus, mattis vel, pharetra sit amet, placerat sit amet, nibh. Nam laoreet, erat ac laoreet euismod, sapien felis pretium libero, semper euismod mauris metus quis tortor. Nam mauris massa, rhoncus nec, pharetra at, sollicitudin non, est.</li></ul>
<!-- Bullet list: [end] -->
</div>
<!-- CONTENT ELEMENT, uid:411/bullets [end] -->
</content></toxid>
Das mit dem Aufruf hab ich mir “zerschossen” - bekomme nur eine weisse Seite…
aber hier mal der Inhalt meiner config.inc.php:
// your URL-Snippet to dectect TOXID-Pages
$this->aToxidCurlSeoSnippets = array(
'0' => 'toxid-curl',
'1' => 'toxid-curl-en',
);
// URL to your CMS
$this->aToxidCurlSource = array(
'0' => 'http://all24_typo3',
'1' => 'http://all24all24_typo3',
);
// Additional Params for URL
$this->aToxidCurlUrlParams = array(
'0' => '?type=123',
'1' => '?type=123',
);
Da das ja die Einstellungen sind, die in der Readme beschrieben sind, sollte das ja so funktionieren oder?:
{assign var='toxid' value=$oViewConf->getToxid()}]
[{ $toxid->getCmsSnippet(content) }]
Also ich steh da sowas von auf dem Schlauch, das mir schon ganz übel wird…
Markus
Ach ja, ich bekomme auch folgende Fehlermeldung im php-Log:
[18-Dec-2012 12:45:19] PHP Fatal error: Call to a member function xpath() on a non-object in /Applications/MAMP/htdocs/all24_host/modules/toxid_curl/core/toxidcurl.php on line 123
Im “TOXID cURL” Thread steht, dass es wahrscheinlich das Template ist, aber ich bin auf dem Original Azure Template unterwegs…