Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: jmd_rate: A CSS star rater
Katalonian wrote:
can i use this plugin as a standart poll pluin without stars?
If you don’t include the CSS file, you can. By default, the unstyled display is:
- Currently rated X/4
- 1/4
- 2/4
- 3/4
- 4/4
If you want those values to be different, you can modify the
jmd_rate->display()
method.
Offline
Re: jmd_rate: A CSS star rater
because the demo page its not available i cant see how its works and some way how i can put polls. How i can directlu create/delete/manage polls ?
<txp:txp_me />
Offline
Re: jmd_rate: A CSS star rater
Katalonian wrote:
because the demo page its not available i cant see how its works and some way how i can put polls. How i can directlu create/delete/manage polls ?
You can create a poll (“rater”) with <txp:jmd_rate>...</txp:jmd_rate>
(see first post). This should go in an article form. You can set an article to use an override form (e.g., form = “rateable”) or surround the <txp:jmd_rate>
tags with <txp:if_article_id id="x">...</txp:if_article_id>
. Sorry about the demo being down…I moved hosts awhile ago and didn’t migrate the demo DB.
There isn’t really a backend for managing polls, other than deleting all of your results. If you have phpMyAdmin or a MySQL CLI, you can use delete from jmd_rate where parentid = yourArticleId;
.
If you’re looking for a two-option plugin, check out wlk_helpful — it’s what’s used on textpattern.org.
Offline
#88 2015-09-26 19:45:51
- alivato
- Member
- Registered: 2011-03-31
- Posts: 151
Re: jmd_rate: A CSS star rater
Does anyone have a plugin jmd_rate?
Offline
Re: jmd_rate: A CSS star rater
Try jm’s github repo. It looks like there’s note a recompiled plugin so you’ll need to include it via a plugin_tmp folder (or similar) in the textpattern directory.
TXP Builders – finely-crafted code, design and txp
Offline
#90 2015-09-26 21:38:15
- alivato
- Member
- Registered: 2011-03-31
- Posts: 151
Re: jmd_rate: A CSS star rater
I found it but where to get the file ~base64, to install in the admin panel?
Last edited by alivato (2015-09-26 21:38:49)
Offline
Re: jmd_rate: A CSS star rater
I compiled it but I haven’t tested it yet.
Offline