Version: CMS Textpattern 4.0.4 / 4.0.5
Current version of this plugin: 1.1
Tento plugin umožňuje tvorbu anket a jejich správu.
Do textu článku vložte následující kód: <txp:mdvoting_insert_survey id="5" />, kde ID je číslo ankety, které vidíte v seznamu anket.
Můžete upravit metodu ShowVotingForUser patřící objektu mdvoting_view.class.php - tato metoda již má všechna data a zobrazuje formulář a výsledky hlasování. Tuto funkci můžete upravit tak, aby zobrazení dat vyhovovalo přesně Vašim potřebám.
1. stáhněte si kód pluginu
(zip,
sources)
2. vložte ho v administraci do pole "přidat plugin"
3. hotovo
Plugin for creating votings.
Insert the code: <txp:mdvoting_insert_survey id="5" />, ID is number of the pool which you can see in the list of pools.
There is a function ShowVotingForUser in mdvoting_view.class.php object. This function show the voting for the user. You can update it as you want to see the voting on the site.
1. download plugin code
(zip,
sources)
2. insert it into field "add plugin" in your Txp administration
3. done