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 435 - 465 of 2112   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
435
Jay, How many config keys are in your @config_keys array? My guess is: about 8 or 9. It doesn't look like your code here is doing any caching either. The ...
Ezra Cooper
ezra6a
Offline Send Email
Jun 3, 2004
5:36 am
436
... I don't remember at this point, but for MT-Blacklist 2.0, I currently have 24 (8 strings, 2 integers, 8 booleans and 6 array refs). I will most likely...
Jay Allen
fooljay
Offline Send Email
Jun 3, 2004
6:16 pm
437
... MT::Request is a singleton class (i.e. it's only ever created once per execution). You can access this global instance with the instance method: my $r =...
David Raynes
rayners1
Offline Send Email
Jun 4, 2004
2:23 am
438
... Hash: SHA1 ... 'config_data' is just an arbitrary label? It's a free-for-all stash? Are there namespace conflicts with anything else in the program (e.g. ...
Jay Allen
fooljay
Offline Send Email
Jun 4, 2004
2:49 am
439
... Hash: SHA1 ... Yes, yes, no, and I don't know. :) - -- David Raynes <rayners@...> I am just a figment of my own imagination. http://www.rayners.org...
David Raynes
rayners1
Offline Send Email
Jun 4, 2004
2:55 am
440
... Hash: SHA1 ... Ahhh! See that's what was confusing me... The initial instance need not stay in scope. For instance, the following prints "Jay": ...
Jay Allen
fooljay
Offline Send Email
Jun 4, 2004
2:57 am
441
... Hash: SHA1 ... Exactly. The global instance is stored as a variable in the MT::Request class, not in the scope in which it was requested. Glad I could...
David Raynes
rayners1
Offline Send Email
Jun 4, 2004
3:21 am
442
... Hash: SHA1 ... Ezra, can you give us a rundown of what IS being cached in MT 3.0D? MT-Blacklist v1.x cached anything it might have to use twice (config, ...
Jay Allen
fooljay
Offline Send Email
Jun 4, 2004
11:06 am
443
There seems to be no way to distinguish between Published and Draft entries via the XML- RPC interfaces. It seems that mt.getRecentPosts returns all the recent...
Ben Hammersley
bhammersley_uk
Offline Send Email
Jun 4, 2004
2:10 pm
444
... Hash: SHA1 ... According to my quick skim of the code (searching for the status method mostly), I did not see any methods that will return an entry's...
David Raynes
rayners1
Offline Send Email
Jun 4, 2004
6:22 pm
445
... It would be fine - except that (as a skim of the code will show you) the code base actually has scope for *four* statuses - not just the regular two. The...
Ben Hammersley
bhammersley_uk
Offline Send Email
Jun 4, 2004
10:24 pm
446
Hi guys, Can someone be kind enough to share a bare skeleton code that can be used to power a config part for a plugin? Nothing fancy, just the ability to use...
srijith_k
Offline Send Email
Jun 5, 2004
3:56 pm
447
I've updated my code that uses $ctx->{__stash}->{entries} with the delay code sent earlier. Is there any way to make sure it's working? Or is it safe to...
Chad Everett
jayseae
Offline Send Email
Jun 6, 2004
9:17 pm
448
http://www.movabletype.org/docs/mtapi_mt_plugindata.html shows how I can insert and retrieve arbitary plugin data. But how do I update an already existing...
srijith_k
Offline Send Email
Jun 7, 2004
9:45 am
449
I think one problem might be that you're uncondtionally declaring a new plugindata object about halfway through. If you've loaded one, you don't need to...
Chad Everett
jayseae
Offline Send Email
Jun 7, 2004
10:06 am
450
... Hash: SHA1 Hey all, Does anyone have any idea how one might go about setting up Internationalization for plugins? I've been playing around with it and so...
Jay Allen
fooljay
Offline Send Email
Jun 7, 2004
4:16 pm
451
I'd be interested too. I've set up my template(s) with MT_TRANS tags, though that might not be the best way about it... or I might not have done it in the...
Chad Everett
jayseae
Offline Send Email
Jun 7, 2004
4:33 pm
452
... Hash: SHA1 I've been playing around with it (in case no one came up with an answer) and have since found that even subclassing MT (or stealing the language...
Jay Allen
fooljay
Offline Send Email
Jun 7, 2004
4:40 pm
453
... I may be missing something, but can you not simply add phrases to the Lexicon hash(es) from your plugin code at load time? It wouldn't be as clean as...
Gregory Williams
gregcnationcom
Offline Send Email
Jun 7, 2004
4:53 pm
454
... Hash: SHA1 God, I hate when I send an email and it's completely unclear... What I would like to be able to do is have MT accept a plugin's lexicon as...
Jay Allen
fooljay
Offline Send Email
Jun 7, 2004
4:57 pm
455
... Hash: SHA1 Interesting idea, except that I think that the phrases are not held in memory but instead loaded by Maketext at build time. From MT.pm: { my...
Jay Allen
fooljay
Offline Send Email
Jun 7, 2004
5:04 pm
456
... Hash: SHA1 Okay, so the hackish version of making this work is as follows: Subclass MT:App and use that as your plugin application. Copy (from MT.pm) the...
Jay Allen
fooljay
Offline Send Email
Jun 7, 2004
5:25 pm
457
... Yes indeed it works! Thanks. Srijith...
srijith_k
Offline Send Email
Jun 8, 2004
9:50 am
458
I am having trouble understanding how callbacks works.. In my case I have a plugin function that needs to be called in the context of the App/Comment.pm...
srijith_k
Offline Send Email
Jun 8, 2004
10:00 am
459
We've already talked about callbacks, and that the callback you're executing isn't going to affect the rest of the code following the callback (at this point)....
Chad Everett
jayseae
Offline Send Email
Jun 8, 2004
10:11 am
460
... Hash: SHA1 ... Not to toot my own horn, but it sounds to me like you could use the alternate comment script that I have been developing over the last week:...
David Raynes
rayners1
Offline Send Email
Jun 8, 2004
10:56 am
461
That looks promising.. but where does "return $comment;" return the control to?...
srijith_k
Offline Send Email
Jun 8, 2004
11:08 am
463
... Hash: SHA1 ... It returns control to the post method in rayners::ExtendedComments (replacement for the post method in MT::App::Comments). If an undefined ...
David Raynes
rayners1
Offline Send Email
Jun 9, 2004
2:30 am
464
That could still be a potential problem for me. I guess the issue is not with your plugin design but the way the original App::Comment is coded. What if I set...
srijith_k
Offline Send Email
Jun 9, 2004
6:54 am
465
... Hash: SHA1 ... Well, if you set your callback priority to be larger than 4, it will execute after all of the original MT code, and that would still be...
David Raynes
rayners1
Offline Send Email
Jun 9, 2004
2:23 pm
Messages 435 - 465 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