Re: Patforms...

Christian Stocker <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general
Organization Bitflux GmbH
Message-ID <[email protected]>

On 10.1.2006 1:22 Uhr, Adrian Nussbaum wrote:
> hi
> 
>>> That's what I tried already once... but the form doesn't appear  in 
>>> the other .en.xhtml :-( What's wrong??
>>
>>
>> What does your .configxml look like? Can you post some code or  links
>> please? Are there any error messages? Be more verbose please :)
> 
> 
> my .configxml for /contact is more or less original:
> 
> ----
> <?xml version="1.0"?>
> 
> <bxcms xmlns="http://bitflux.org/config">
>     <plugins>
>     <parameter name="xslt" type="pipeline" value="static.xsl"/>
>         <extension type="html"/>
>         <plugin type="xhtml" admin="true" adminmaster="true"></plugin>
>         <plugin type="navitree"></plugin>
>     </plugins>
> 
> 
>     <filters>
>         <extension type="html"/>
>         <file name="index"/>
>         <filter type="patforms">
>         </filter>
>     </filters>
> 
> 
> 
> </bxcms>

the filter matches only on index.html, you either have to add a filter
for each static page you have, like <file name="another"/> or you should
be able to just remove <file name="index"/> and it will match on any
.html page in that collection

chregu
> 
> 
> ----
> 
> no, there aren't any error messages. it's almost everything there... 
> but no form-elements at all...
> i now made it another way: i've created one collection per form (=per 
> mail-address). it's not that nice, but it works like this.
> 
> 
> 
> 
>> Make sure the form is run thru the filter at all by adjusting  your
>> .configxml
>>
>> Default is:
>> -------------
>> <filters>
>>     <extension type="html"/>
>>     <file name="index"/>
>>     <filter type="patforms">
>>     </filter>
>> </filters>
>>
>> Which means that the patforms filter will only run on index.html. 
>> Read this[1] to get an idea on how the .configxml thing actually  works.
>>
> 
> 
>>> Can I adjust it to "/lang/contact1.xml" or anything this way??
>>
>>
>> Of course you can :) Doesn't it work like that?
> 
> it doesn't seem like it's gonna work this way. if i set it to *.xml  its
> just "contact_body" in the mail. nothing more... it did it for me  to
> just adjust the master.xml.
> but maybe it would be nice to have some other possibilities??
> 
> adrian
> 
> 

-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 44 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
http://www.bitflux.ch | [email protected] |  GPG 0x5CE1DECB
-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.