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...
Show off your group to the world. Share a photo of your group with us.

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
YAML registry of CMS Pre Save Entry   Message List  
Reply | Forward Message #2109 of 2112 |
Re: [mt-dev] YAML registry of CMS Pre Save Entry

I believe underscores is correct, as shown at:

http://www.movabletype.org/documentation/developer/callbacks/mtappcmscms-pre-sav\
etype.html


Just checked one of my plugins, and I have
MT::App::CMS::cms_post_save.entry and it works.

Seems like the TOC page you linked is stripping out the underscores,
whereas if you click through to each, the underscores are shown.
Byrne, it would be good to get that fixed ;)

-Mark


On Wed, Oct 22, 2008 at 12:53 PM, Timothy Appnel <tim@...> wrote:
> 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:
> callback: MT::App::CMS::cmspresave.entry
> handler: $WYSITidy::MT::Plugin::WYSITidy::pre_save
> priority: 10
>
> Debugging message say it does not run though. MT 4.21 displays it in
> the list of plugins so its being recognized and read. What form have
> others used?
>
> One thing: I working off of these docs and the names seem off to
> me(underscores?) or perhaps they where changed?
>
> http://www.movabletype.org/documentation/developer/callbacks/
>
> <tim/>
>
> --
> Timothy Appnel
> Appnel Solutions
> http://appnel.com/
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>



Wed Oct 22, 2008 4:12 pm

bsakamano
Offline Offline
Send Email Send Email

Forward
Message #2109 of 2112 |
Expand Messages Author Sort by Date

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

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

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
Advanced

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