how to inlcude vote-plugin in the right way
"Matthias Dieke" <[email protected]>
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
sorry for asking. I still played with the vote-plugin (and used it), but now
I like to know how do include the plugin in the right way ;)
I like to use include the plugin at the start-page. Until now I did it in
this way:
- created a home.xsl file (copied static.xsl)
- added <div id="votediv"> ... </div>
- uncommentet the following in /standard/plugins/vote/vote.xsl:
<!-- <xsl:template match="/">
<xsl:apply-templates select="/bx/plugin[@name='vote']" mode="vote"/>
</xsl:template> -->
- added <xsl:import href="../standard/plugins/vote/vote.xsl"/> to my
home.xsl
- put <xsl:apply-templates select="/bx/plugin[@name='vote']" mode="vote"/>
between <div id="votediv"> ... </div>
- changed the configxml of my root-folder:
<plugins>
<parameter name="xslt" type="pipeline" value="home.xsl"/>
<extension type="html"/>
<extension type="xml"/>
<plugin type="xhtml" admin="true"></plugin>
<plugin type="vote">
<parameter name="configfile" value="files/vote/vote.xml"/>
<parameter name="magickey" value="jflsjflkluoirjj"/>
<parameter name="currentVoteId" value="1000"/>
</plugin>
<plugin type="navitree"></plugin>
</plugins>
- for the first moment I didn't used the vote.js and I thought all is
fine...
... then I used the vote.js (and xmlHttpRequest) and I realised that I
included the vote-plugin in the wrong way ;)
I tried and tried... but I didn't found the right solution, please give me a
little introduction.
Thanks for help.
Matthias
--
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie
--
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms