Search the web
Sign In
New User? Sign Up
mt-dev · Movable Type Developers
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 2083 - 2112 of 2112   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
2083
... Yes, see "Custom collectors" in the recipe guide provided with the development version of the plugin (most of it applies to 1.0 as well): ...
Mark Paschal
markpaaasc
Offline Send Email
Aug 20, 2008
5:20 pm
2084
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
jessedp23
Offline Send Email
Aug 28, 2008
5:03 pm
2085
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...
Mark Carey
bsakamano
Offline Send Email
Aug 28, 2008
5:41 pm
2086
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 ...
jesse
jessedp23
Offline Send Email
Aug 28, 2008
6:15 pm
2087
... 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...
Mark Carey
bsakamano
Offline Send Email
Aug 28, 2008
7:25 pm
2088
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...
jesse
jessedp23
Offline Send Email
Aug 28, 2008
7:49 pm
2089
I have a template file in a plugin that I need to compile and write the HTML to a separate directory. I've seen the following way to initialize a...
Michael Thomsen
codemonkeyov...
Offline Send Email
Sep 2, 2008
8:25 pm
2090
What version are you working with? Sent from my iPhone On Sep 2, 2008, at 16:25, "Michael Thomsen" <mikerthomsen@...>...
Timothy Appnel
tappnel
Offline Send Email
Sep 2, 2008
10:28 pm
2091
4.21 Pro...
Michael Thomsen
codemonkeyov...
Offline Send Email
Sep 2, 2008
11:46 pm
2092
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...
Mark Carey
bsakamano
Offline Send Email
Sep 3, 2008
12:17 pm
2093
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?...
Michael Thomsen
codemonkeyov...
Offline Send Email
Sep 3, 2008
12:40 pm
2094
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...
jesse
jessedp23
Offline Send Email
Sep 3, 2008
3:55 pm
2095
... 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
hamletcomplex
Offline Send Email
Sep 3, 2008
4:03 pm
2096
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"....
jesse
jessedp23
Offline Send Email
Sep 3, 2008
4:10 pm
2097
... 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(); ...
Mark Carey
bsakamano
Offline Send Email
Sep 3, 2008
5:31 pm
2098
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 Thomsen
codemonkeyov...
Offline Send Email
Sep 3, 2008
5:54 pm
2099
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...
jesse
jessedp23
Offline Send Email
Sep 3, 2008
6:04 pm
2100
Thanks, but that doesn't seem to work with MT::Template->build. I was logging the output, and each time it kept ignoring the params hash....
Michael Thomsen
codemonkeyov...
Offline Send Email
Sep 3, 2008
6:12 pm
2101
... 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...
Mark Carey
bsakamano
Offline Send Email
Sep 4, 2008
3:28 pm
2102
Yeah, that's the gist of what I was doing with the loop variable. It was just a list with a series of hashes inside of it. Thanks for the info!...
Michael Thomsen
codemonkeyov...
Offline Send Email
Sep 4, 2008
3:37 pm
2103
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 ...
Mikael Sheikh
nycmilkshake
Offline Send Email
Sep 17, 2008
10:34 pm
2104
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?...
Michael Thomsen
codemonkeyov...
Offline Send Email
Oct 8, 2008
8:10 pm
2105
... 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) =...
Mark Paschal
markpaaasc
Offline Send Email
Oct 9, 2008
6:00 pm
2106
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 ...
jesse
jessedp23
Offline Send Email
Oct 20, 2008
2:56 pm
2107
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...
Mark Carey
bsakamano
Offline Send Email
Oct 20, 2008
8:29 pm
2108
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: ...
Timothy Appnel
tappnel
Offline Send Email
Oct 22, 2008
3:53 pm
2109
I believe underscores is correct, as shown at: http://www.movabletype.org/documentation/developer/callbacks/mtappcmscms-pre-savetype.html Just checked one of...
Mark Carey
bsakamano
Offline Send Email
Oct 22, 2008
4:13 pm
2110
Thanks for the sanity check Mark. Will drop a comment there for Byrne to pickup. <tim/> -- Timothy Appnel Appnel Solutions http://appnel.com/...
Timothy Appnel
tappnel
Offline Send Email
Oct 22, 2008
4:22 pm
2111
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 ...
Timothy Appnel
tappnel
Offline Send Email
Dec 18, 2008
6:46 pm
2112
How can I add a class to the first entry in a blog? <mt:If tag="Entries" eq="first entry"> add class <mt:Else> do nothing </mt:if> Thanks...
Andrew famiano
label9ine
Offline Send Email
Aug 5, 2009
4:22 pm
Messages 2083 - 2112 of 2112   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help