Hello all. I'm putting out an updated version of our MT plugin and am having some issues with the upgrade scripts b/c I need to up the schema version. For the...
Jesse, Its hard to be specific since you haven't posted any code but... I don't think the MT api will remove the column. It is pretty good add schema changes...
Thanks for the reply, Mark. Sorry for not posting code, but I had literally followed the example on the page I referenced to the tee. Anywho, here's my ...
... This is correct, it must match the object type you have defined. Each object passing the "condition" will get passed to the "code" function, so your first...
Turns out I wasn't paying attention to the ever so important placement of a closing brace, so my entire upgrade_functions section was not in the registry...
If you already have a template object (from the db) loaded, you can do: my $ctx = $tmpl->context; The error is because your context does not include a blog...
Hmmm, see I'm loading the template from a plugin directory, not the database. Do I need to register the tmpl file in the registry to make this easier?...
I have an object being passed to a template and can access it's fields just fine. The object represents a user-selected "list", of which there may be many. I...
... In this line you seem to be creating $id but not setting it to anything, and then testing if it equals $lid. That obviously won't because you never gave...
Su, on the line you referenced, "id" is coming from the "lists" object (it maybe a hash) used in my mt:loop. Also notice that it's a "var", not a "setvar"....
... In that case, you were probably on the right track originally, but you need add the blog context manually: my $ctx = MT::Template::Context->new(); ...
Ok, that works. How do I pass it variable values so that tags like <mt:var and <mt:loop can get populated? What I have right now is: $params{items} =...
Michael, you should be able to just shove any other variables you want into the $params hash you have setup there. I'm not real great with my perl and what...
... While there is likely more than one way, here is one way to populate <mt:var>: $ctx->var( 'commenter_author_name', $name ); For <mt:loop, it seems like...
Should boolean values in XML-RPC be passed as 'true'/'false', as 1/0, or are both valid? I'm using the Photon 1.2 iPhoto plug-in, which is sending the ...
I've been logging the results of $imageAsset->thumbnail_file() and all I see is a numeric value. What do I need to do get usable path to the thumbnail file?...
... thumbnail_file() returns multiple values: the URL as well as the width and height of the image. If you only want the URL, call it like: my ($url) =...
Can anyone point me towards someone or some process that can reset the login attached to my plugin? Apparently the info I wrote down is incorrect or was ...
There is a problem on the plugin directory right now -- even if you can login successfully, there is no link to access your previously submitted plugins for...
I'm trying to registry a couple of callbacks to run when an entry or page is saved in the CMS. I have this in my config.yaml file. callbacks: WYSITidy_entry: ...
I believe underscores is correct, as shown at: http://www.movabletype.org/documentation/developer/callbacks/mtappcmscms-pre-savetype.html Just checked one of...
Anyone out there have some experience debugging IE cross-domain cookie domain issue? I want to hear from you if you do. I have a client whose sign in ...