Re: mixing xhtml-plugin and gallery-plugin

Matthias Dieke <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general
Message-ID <[email protected]>

Matthias Dieke wrote:
> Hi,
> 
> I like to "mix" the gallery-plugin and the xhtml-plugin. For the 
> overview-mode (of gallery-plugin) all works fine. I have some problems 
> on the image-mode, the xhtml-plugin isn't in the xml-tree (had a look to 
> xml-code www....de/foobar.jpg?XML=1)
> 
> 
> Here is my .configxml
> 
> 
> <plugins>
>         <extension type="html"/>
>         <extension type="jpg"/>
>         <extension type="jpeg"/>
>         <extension type="gif"/>
>         <extension type="png"/>
>         <parameter name="xslt" type="pipeline" value="referenzen.xsl"/>
> 
>         <plugin type="xhtml" admin="true" />
> 
>         <plugin type="gallery">
>             <!--<parameter name="virtualDir" 
> value="files/_galleries//referenzen/vermietung/"/>-->
>             <parameter name="columnsPerPage" value="3"/>
>             <parameter name="rowsPerPage" value="3"/>
>         </plugin>
> 
>         <plugin type="navitree"/>
>     </plugins>
> 
>     <plugins inGetChildren="false">
>         <extension type="xml"/>
>         <file preg="#preview#"/>
> 
>         <plugin type="gallery_preview">
> 
>         </plugin>
>     </plugins>
> 
> 
> I'm not sure, but I think the xhtml-plugin has some problems with the 
> image-extension (like .jpg, .gif). Is it so? How do I have to use both 
> plugins in image-mode.


with the above .configxml I get also this php-errors:

BXCMSNG Errors:
Strict[2048] Declaration of bx_plugins_gallery::addResource() should be 
compatible with that of bx_plugin::addResource() in 
/home/dima/public_html/bxcms/inc/bx/plugins/gallery.php at line 375.
Notice[8] Undefined index: plugin in 
/home/dima/public_html/bxcms/inc/bx/collection.php at line 331.




when  I move <plugin type="xhtml" admin="true" /> after <plugin 
type="gallery">...</plugin>

I get only this php-error:

BXCMSNG Errors:
Strict[2048] Declaration of bx_plugins_gallery::addResource() should be 
compatible with that of bx_plugin::addResource() in 
/home/dima/public_html/bxcms/inc/bx/plugins/gallery.php at line 18.


the line where the error occurs is different ;)


Hope that anyone has a idea to solve the problem.

Thanks

Matthias
-- 
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.