Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#136 2016-11-25 18:01:29
Re: zem_contact_reborn v4.5.0.0: contact mail form processing
From the plugin help:
Display the current counter value, without changing it:
<txp:rvm_counter step="0" />
So I guess you could use the name attribute of the counter as the connecting element between the form and the counter, for example through the page name, e.g. txp:article_url_title:
<txp:article_custom section="workshops" wraptag="ul" break="li" class="course-list" limit="25">
<article class="workshop">
<h1><txp:title /></h1>
<txp:excerpt />
<p class="spots-message">Only <txp:rvm_counter name='<txp:article_url_title />' step="0" /> spots left of <txp:custom_field name="total_spots" />.</p>
<a href="<txp:permlink />">Book now</a>
</article>
</txp:article_custom>
or if your setup is different somehow, you could use a custom-field or a variable to link the form with the counter using a similar method.
TXP Builders – finely-crafted code, design and txp
Offline
#137 2016-12-02 10:26:43
Re: zem_contact_reborn v4.5.0.0: contact mail form processing
A new beta is out. Yes, another one. Mops up bugs from the previous release.
Please see the change list on the releases page for more details.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#138 2016-12-02 16:48:47
Re: zem_contact_reborn v4.5.0.0: contact mail form processing
Bloke wrote #303122:
A new beta is out. Yes, another one. Mops up bugs from the previous release.
Please see the change list on the releases page for more details.
so the one that i obtained yesterday from github version 4.5.0.0 – is replaced by this beta version 4.5.0.0?
confused.
…. texted postive
Offline
#139 2016-12-02 18:05:58
Re: zem_contact_reborn v4.5.0.0: contact mail form processing
bici wrote #303130:
so the one that i obtained yesterday from github version 4.5.0.0 – is replaced by this beta version 4.5.0.0?
Yep. I’ll get an actual release out soon, I promise. And that’ll be… version 4.5.0.0 :-)
Note to self: perhaps I ought to change the version string inside the plugin itself rather than just the GitHub release version number.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#140 2016-12-14 16:46:29
Re: zem_contact_reborn v4.5.0.0: contact mail form processing
Is there a NL Textpack for this plugin already?
Offline
#141 2016-12-14 18:23:15
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Offline
#142 2016-12-14 20:02:35
Re: zem_contact_reborn v4.5.0.0: contact mail form processing
RedFox wrote #303259:
Is there a NL Textpack for this plugin already?
Not yet…
EDIT: uhh, or see below.
Last edited by Bloke (2016-12-14 20:04:42)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#143 2016-12-14 20:04:20
Re: zem_contact_reborn v4.5.0.0: contact mail form processing
Els wrote #303261:
I had one… can this still be used or does it need a complete make-over?
It could probably be used as a starting point. Things haven’t changed that much in terms of language strings in the plugin so it might be almost complete already.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#144 2016-12-15 18:13:38
Re: zem_contact_reborn v4.5.0.0: contact mail form processing
"Els wrote”
Els!! :)
Nice to see you chime in! You’ve been missed.
Offline
#145 2016-12-15 20:23:52
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: zem_contact_reborn v4.5.0.0: contact mail form processing
maverick wrote #303275:
“Els wrote”
Els!! :)
Nice to see you chime in! You’ve been missed.
Thank you Mike :) I have not disappeared, just being invisible for a while ;) I’ll be back on a more regular basis soon I hope!
Offline
#146 2016-12-16 13:20:50
Re: zem_contact_reborn v4.5.0.0: contact mail form processing
Offline
#147 2016-12-18 21:15:19
Re: zem_contact_reborn v4.5.0.0: contact mail form processing
@Els: Do you have a raw copy (.txt) of the .inc file? Maybe I can help to look into the NL translation … :)
@Everybody: Where do I find the EN textpack (.txt)? So I can try to make a NL version …
Last edited by RedFox (2016-12-19 12:14:15)
Offline
#148 2016-12-19 16:19:26
Re: zem_contact_reborn v4.5.0.0: contact mail form processing
^ Bloke’s Github page has this file.
Offline
#149 2016-12-19 17:14:49
Re: zem_contact_reborn v4.5.0.0: contact mail form processing
Thanks Petri for the link …. :)
Last edited by RedFox (2016-12-19 18:41:34)
Offline
#150 2016-12-23 19:40:31
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: zem_contact_reborn v4.5.0.0: contact mail form processing
RedFox wrote #303296:
@Els: Do you have a raw copy (.txt) of the .inc file? Maybe I can help to look into the NL translation … :)
Hi Joop, apologies for the belated reply (I’ve been out of the country for a couple of days). I honestly don’t know how to turn the .inc file into a text file… if you have a Txp site with MLP and zem_contact_reborn, you can import it (MLP > Plugins).
Offline