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...
Message search is now enhanced, find messages faster. Take it for a spin.

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 1860 - 1889 of 2112   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1860
Is there a way to access the args of a parent container? For example, suppose I define a template tag that is designed to be used inside an <MTEntries>...
Mark Carey
bsakamano
Offline Send Email
Jan 2, 2008
6:12 pm
1861
Version? Static or dynamic (PHP) templates? :) <tim/> -- Timothy Appnel Appnel Solutions http://appnel.com/...
Timothy Appnel
tappnel
Offline Send Email
Jan 2, 2008
8:03 pm
1862
... MT4+ ... Static. (well, I guess if there is an equivalent in dynamic publishing, I would be interested in that as well....) -Mark...
Mark Carey
bsakamano
Offline Send Email
Jan 2, 2008
8:20 pm
1863
I don't have time to test this theory, but the MT4 template compiler stashes a parent element in each token. You should be able to achieve what you want by...
Timothy Appnel
tappnel
Offline Send Email
Jan 2, 2008
8:43 pm
1864
... Thanks, Tim, I will give that a try. ... Can you elaborate on this one? Do you mean that I can grab the actual $tmpl object from the stash, from within...
Mark Carey
bsakamano
Offline Send Email
Jan 2, 2008
8:51 pm
1865
... In MT::Template::context that MT::Builder::compile calls to create a context object for the page being built, that method stashes the template object with...
Timothy Appnel
tappnel
Offline Send Email
Jan 3, 2008
3:08 pm
1866
Just out of curiosity, has anyone given MT a go on Perl 5.10 yet? <tim/> -- Timothy Appnel Appnel Solutions http://appnel.com/...
Timothy Appnel
tappnel
Offline Send Email
Jan 4, 2008
1:47 am
1867
... Is there any particular reason you ask? Did something change that might make you wonder about compatibility or whatever? /I'm/ asking because someone's ...
Su
hamletcomplex
Offline Send Email
Jan 4, 2008
2:47 pm
1868
Here is what I posted to that thread in that forum thread: This error may be related to v5.10 disallowing a sloppy program practice or it may be some...
Timothy Appnel
tappnel
Offline Send Email
Jan 4, 2008
4:44 pm
1869
I'm forwarding this along for Chris. See below. <tim/> ... From: Chris Ernest Hall <fozboot@...> Date: Jan 4, 2008 1:53 PM Subject: Re: [mt-dev] Perl...
Timothy Appnel
tappnel
Offline Send Email
Jan 4, 2008
7:05 pm
1870
Hi, I've been reading various docs, wiki nodes and other posts and am starting to put together a good picture of how to get MTOS to satisfy all the...
j_s_shirley
Online Now Send Email
Jan 10, 2008
12:05 am
1871
... As of MT4, a plugin should register callbacks in the registry, either in the MT::Plugin::MyPlugin->new() call or in the init() or init_registry() method....
Kevin Shay
kevin_shay
Offline Send Email
Jan 10, 2008
12:38 am
1872
... http://www.movabletype.org/documentation/developer/plugins/creating-a-global-modifier.html ... I think that the global tag filter is probably the better...
j_s_shirley
Online Now Send Email
Jan 10, 2008
1:00 am
1873
... Don't forget that you can also register callbacks and all other matters of plugin hooks via a config.yaml file. The technical advantage being MT doesn't...
Timothy Appnel
tappnel
Offline Send Email
Jan 10, 2008
1:11 am
1874
... Hi Tim, Thanks for the tip on that! Surely a useful way to keep the plugins thinner. Hoping you or someone else can answer a related question on text ...
j_s_shirley
Online Now Send Email
Jan 10, 2008
7:22 pm
1875
... Hey Kevin, I've began to do some hacking with the macros (it's very nice for microformats) but I can't get it to work in the content entry itself. If I add...
j_s_shirley
Online Now Send Email
Jan 11, 2008
8:41 pm
1876
... Sorry if I was unclear about how this would work. expand_macros isn't a built-in feature of MT, it's just a name I made up as an example of a global...
Kevin Shay
kevin_shay
Offline Send Email
Jan 11, 2008
8:47 pm
1877
... Kind like this (untested): sub init_registry { my $plugin = shift; $plugin->registry({ tags => { modifier => { 'bold_mark' => \&bold_mark_filter, }, }, });...
Mark Carey
bsakamano
Offline Send Email
Jan 12, 2008
12:48 am
1878
Mark, thanks for the example. Here's another tip--when I'm working on plugin code that involves regexes, what I'll often do first is something like this: sub...
Kevin Shay
kevin_shay
Offline Send Email
Jan 12, 2008
1:06 am
1879
... This good advice. I do something similar (especially with callbacks!): sub bold_mark_filter { my ($str, $val, $ctx) = @_; }...
Mark Carey
bsakamano
Offline Send Email
Jan 12, 2008
1:32 am
1880
Whoops, hit the wrong key and Gmail went nuts and then sent the message ;) *This* is what I do: sub bold_mark_filter { MT->log('blog_mark_filter started'); my...
Mark Carey
bsakamano
Offline Send Email
Jan 12, 2008
1:35 am
1881
... Okay, I finally got around to trying this, and here is what I came up with, which works with limitations: sub my_plugin_tag_handler { my($ctx, $args,...
Mark Carey
bsakamano
Offline Send Email
Jan 17, 2008
1:26 am
1882
Let's say I plan to try and open discussion for adding a db column to various MT objects(at the very least entries). Are there any technical/inherent reasons...
Su
hamletcomplex
Offline Send Email
Jan 20, 2008
10:18 am
1883
... You're not, and it turns out to be really easy: http://movabletype.org/documentation/developer/plugins/extending-existing-object-type.html (I think you may...
Kevin Shay
kevin_shay
Offline Send Email
Jan 20, 2008
3:03 pm
1884
... You can't define an index on existing object column extensions. They are metadata that are all stashed in the meta column akin to how MT::PluginData...
Timothy Appnel
tappnel
Offline Send Email
Jan 20, 2008
3:41 pm
1885
Here is another limitation that I have ran into: this doesn't work when either the target tag or container tag (or both) are within an included template...
Mark Carey
bsakamano
Offline Send Email
Jan 20, 2008
5:48 pm
1886
... No, I meant I wanted to throw an idea out as an addition to the app itself. Sorry that wasn't clear....
Su
hamletcomplex
Offline Send Email
Jan 20, 2008
6:51 pm
1887
... This is true for the meta columns (entry_meta) that MT uses internally for some things and that CustomFields uses, but when I tried this example "extending...
Kevin Shay
kevin_shay
Offline Send Email
Jan 20, 2008
11:24 pm
1888
sent previously, but from the wrong email address.... ;) ... Tim, I think you may be confusing object extensions (as described in the link Kevin posted) with...
Mark Carey
bsakamano
Offline Send Email
Jan 21, 2008
12:16 am
1889
... I think I am. I was under the impression there were only (what we are calling here) meta extensions. This creates a lot of questions for me. I guess I'll...
Timothy Appnel
tappnel
Offline Send Email
Jan 21, 2008
1:36 pm
Messages 1860 - 1889 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