Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Getting Measure Map setup correctly with TXP
Ok thanks for letting me know Mary. I was just wondering though wouldn’t it be best to keep everything under one roof since it all has to do with getting Measure Map configured to work under Textpattern?
Offline
#14 2005-11-21 19:35:57
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Getting Measure Map setup correctly with TXP
Oh I see, you’re still talking about that. Yeah, keep it here. :)
Offline
Re: Getting Measure Map setup correctly with TXP
It doesn’t seem to be possible to use the same date format as article dates for comments…
Offline
#16 2005-11-22 01:54:31
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Getting Measure Map setup correctly with TXP
Not built-in, but there is a plugin.
Offline
Re: Getting Measure Map setup correctly with TXP
Bingo!
<code>
<script type=“text/javascript”><!—
if(!mmcomments){var mmcomments=[];}mmcomments[mmcomments.length]=”<txp:comment_id />”;
//—></script>
<!— mmc mmid:<txp:comment_id /> mmdate: <txp:upm_comment_time format=”%Y%m%d%H%M%S” /> mmauthor: <txp:comment_name /> —>
</code>
That did the trick :)
Thanks Mary!
edit – oops, I forgot. Must escape the html in author name…
Last edited by aloicious (2005-11-22 02:18:03)
Offline
Re: Getting Measure Map setup correctly with TXP
Mary and Aloicious Thank you so much. Awesome it works perfectly fine.
I wonder why the same date format isn’t used in comments?
It’s kind of weird I guess that people using MM will have to go through adding a plugin, just to get it to work. But anyway I’m quite happy it does now. hehe
Thank again guys. Hopefully in the next version of both MM and TXP, they will work together without having to add the plugin.
Peace and God Bless!
Offline
#19 2005-11-22 21:41:12
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Getting Measure Map setup correctly with TXP
The default comment time matches the default archive mode time. The comment time tag doesn’t allow overriding, simply because its an oversight and no one has bothered to patch it. I think I forgot to do so when I made the plugin to serve in the interim. I’ll send one in now.
Offline
Re: Getting Measure Map setup correctly with TXP
Ok thanks Mary. Much appreciated. I have also let the people over at Measure Map, know how we got it working.
Last edited by axle_foley00 (2005-11-22 23:05:47)
Offline
Re: Getting Measure Map setup correctly with TXP
I’ve got my Measure Map Visitors, Links and Posts working, but alas my comments still refuse to play ball. I’m sorry if this is a daft question, but in what template/form are you placing the comments code quoted in #17 above.
Offline
Re: Getting Measure Map setup correctly with TXP
Hello ebcomley, I placed mine in the comments form right after the <txp:message />
.
Let me know if that works for you also.
Offline
Re: Getting Measure Map setup correctly with TXP
Thanks axle, working now! Visitors, Links, Comments and Posts all recording.
Offline
Re: Getting Measure Map setup correctly with TXP
Wonderful ebcomley. Happy to hear it’s working now. Enjoy!
Offline