Plugin Forums

Discuss and get help with staggernation.com's plugins for Movable Type.

You are not logged in.

#1 2007-12-28 16:02:15

Dave Hill
Member
Registered: 2006-08-30
Posts: 10

TinyTuring and MT4?

I know you said you had no problems with it, but I am. 

----
The requested page could not be found.
Smarty error: [in evaluated template line 106]: syntax error: unrecognized tag 'mttinyturing' (Smarty_Compiler.class.php, line 580)
----

That comes up in a dynamic individual entry page (http://www.hill-kleerup.org/blog/mt4tes … _wide.html) from within a template module that has TinyTuring invoked in it ($MTTinyTuring$).  The same code works fine with MT3 (my production version of the page is http://www.hill-kleerup.org/blog/2007/1 … _wide.html).

This was a new install directory (testing), and I reinstalled the current version of TT.  It shows up in the Plugins screen nice and dandy.

Any particular ideas?  I can try poking at it a bit more, or simply turn off TT for the moment, but in case it's one of those "Of course, you idiot, you forgot to do X" things, I thought I'd check with you first.

Offline

 

#2 2007-12-28 17:14:52

Kevin Shay
Administrator
Registered: 2005-11-22
Posts: 265
Website

Re: TinyTuring and MT4?

Ah, I had no problems with it with static publishing, but didn't actually try it with dynamic. I'll investigate...

Offline

 

#3 2007-12-28 17:20:42

Kevin Shay
Administrator
Registered: 2005-11-22
Posts: 265
Website

Re: TinyTuring and MT4?

OK, it looks like with MT 4 they've changed where plugin dynamic tag code lives. Try moving all the TinyTuring files (tinyturing_lib.php and all the function.MTTinyTuring* files) out of php/plugins and into a directory called php within plugins/TinyTuring. I'll test this when I have a chance, but I suspect that's the issue.

Offline

 

#4 2007-12-29 12:28:12

Dave Hill
Member
Registered: 2006-08-30
Posts: 10

Re: TinyTuring and MT4?

Hmm ... that makes sense, but doesn't seem to have helped. 

I've tried:

TinyTuring.pl in plugins/TinyTuring
All the other files in plugins/TinyTuring/php

I've also tried leaving the .pl in plugins, as it was before.

Both seem to generate the same error.

Unfortunately, changing back to static publishing on this blog isn't a very viable option.

Have you been able to duplicate the error?

Offline

 

#5 2008-01-03 12:06:33

Kevin Shay
Administrator
Registered: 2005-11-22
Posts: 265
Website

Re: TinyTuring and MT4?

OK, it looks like the file names now need to be all lowercase, so the files will need to be renamed function.mttinyturing.php, etc. (The tags as used in the templates are now case-insensitive, so you won't have to change those.)

I'll try to make a new version available shortly so that others won't have to do this moving and renaming... thanks for pointing out the issue!

Offline

 

#6 2008-01-05 13:31:30

Dave Hill
Member
Registered: 2006-08-30
Posts: 10

Re: TinyTuring and MT4?

And it works!  Huzzah!

Thanks.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson