Re: how to inlcude vote-plugin in the right way
"Matthias Dieke" <[email protected]>
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Message-ID | <[email protected]> |
Is there nobody how can help me? I had a look at http://campus.phtg.ch/, there you use the vote plugin. How did you include the plugin to your start page? Did you use xinclude? I tried xinclude, but it doesn't worked :( Please give me a little tip. Thanks Matthias > > 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 > -- eine für alle und alle für Einen... [email protected] [email protected] [email protected] [email protected] DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert: GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl -- bitflux-cms mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms