Re: Re: PDF erstellen...

Christian Stocker <[email protected]> Mon, 18 Jul 2005 16:34:49 +0200
Newsgroups gmane.comp.cms.bitflux.general.german
Message-ID <[email protected]>

On 18.7.2005 16:32 Uhr, Christian Stocker wrote:
>=20
> On 18.7.2005 15:31 Uhr, Thomas Baumann wrote:
>=20
>>Die .configxml.children sieht jetzt so aus:
>>
>><?xml version=3D"1.0"?>
>><bxcms xmlns=3D"http://bitflux.org/config">
>><plugins>
>><parameter name=3D"xslt" type=3D"pipeline" value=3D"static.xsl"/>
>><extension type=3D"html"/>
>><plugin type=3D"xhtml" admin=3D"true"></plugin>
>><plugin type=3D"navitree"></plugin>
>></plugins>
>><plugins>
>><extension type=3D"pdf">
>><parameter type=3D"pipeline" name=3D"xslt" value=3D"xml2fo.xsl"/>
>><parameter type=3D"pipeline" name=3D"pipelineName" value=3D"fo"/>
>></extension>
>></plugins>
>></bxcms>
>=20
>=20
> ah. da fehlt das plugin im plugins
>=20
>  <plugin type=3D"xhtml" admin=3D"true"></plugin>
>=20
> muss noch nach
>=20
> <parameter type=3D"pipeline" name=3D"pipelineName" value=3D"fo"/>

und extension muss gleich wieder zu... also
<plugins>
<extension type=3D"pdf"/>
<parameter type=3D"pipeline" name=3D"xslt" value=3D"xml2fo.xsl"/>
<parameter type=3D"pipeline" name=3D"pipelineName" value=3D"fo"/>
<plugin type=3D"xhtml" admin=3D"true"></plugin>
</plugins>

so... Wenn Du die navi willst, muss das navitree nat=FCrlich auch noch re=
in

chregu

>=20
> kommen
>=20
> chregu
>=20
>=20
>>Aber im apache error log kommt immer folgender Fehler:
>>
>>Notice[8] Undefined index:  indexpdf in
>>/home/tirili/public_html/inc/bx/collection.php at line 188
>>
>>Woran kann das noch liegen ? Wie kann das noch debuggt werden ?
>>
>>Ein
>> fop -xml test.xml -xsl xml2fo.xsl -pdf test00.pdf -d
>>
>>erzeugt mir das gew=FCnschte PDF.
>>
>>LG
>>
>>- tom
>>
>>
>>
>>>>Das wird der Knackpunkt sein :-) Meine .configxml sieht so aus:
>>>>
>>>><?xml version=3D"1.0"?>
>>>><bxcms xmlns=3D"http://bitflux.org/config">
>>>>   <plugins>
>>>>	<parameter name=3D"xslt" type=3D"pipeline" value=3D"static.xsl"/>
>>>>       <extension type=3D"html"/>
>>>>       <plugin type=3D"xhtml" admin=3D"true"></plugin>
>>>>       <plugin type=3D"navitree"></plugin>
>>>>   </plugins>
>>>>   <plugins>
>>>>   <extension type=3D"pdf">
>>>>   <parameter type=3D"pipeline" name=3D"xslt" value=3D"xml2fo.xsl"/>
>>>>   <parameter type=3D"pipeline" name=3D"pipelineName" value=3D"fo"/>
>>>>   </extension>
>>>>   </plugins>
>>>></bxcms>
>>>
>>>Du das mal in .configxml.children rein
>>>
>>>.configxml wird nicht vererbt. .configxml.children solange kein
>>>.configxml wieder gefunden wird
>>>
>>>chregu
>>
>>
>>
>>-------------------------------------------------
>>This mail sent through IMP: http://horde.org/imp/
>=20
>=20

--=20
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
http://www.bitflux.ch  |  [email protected]  |  gnupg-keyid 0x5CE1DECB