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
Messages 200 - 229 of 2112   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
200
Let's say I have a plugin called MTMyPlgin. This plugin accepts a few attributes and can be used only in the 'entry' context. I would like to be able to use it...
Claude Montpetit
claude_montp...
Offline Send Email
Aug 2, 2003
2:54 pm
201
... The MT tag parser doesn't understand nested tags. It sees the > at the end of the EntryTitle tag, thinks it's closing the MyPlugin tag, and then chokes...
Adam Kalsey
akalsey
Online Now Send Email
Aug 2, 2003
3:29 pm
202
Thank you Adam for your quick and complete reply. I will try the MT Expressions. Claude...
Claude Montpetit
claude_montp...
Offline Send Email
Aug 2, 2003
6:10 pm
203
Hi to all ... Please help me ... please , give me the address of the chatrooms (in yahoo or...) Or Forums , where poeople discuss blogs and weblogs ...! ( not...
Amir Azemati
amir@...
Send Email
Aug 3, 2003
3:57 pm
204
I wrote a plugin that needs to rebuild another blog. I am using this code: my $mt = MT->new; $mt->rebuild(BlogID => $otherBlogId); It is possible for the other...
Claude Montpetit
claude_montp...
Offline Send Email
Aug 4, 2003
8:32 pm
205
I've been giving some thought to better plugin configuration also, but I was thinking of something much simpler then what you propose. I of course was only...
tappnel
Offline Send Email
Aug 5, 2003
1:49 am
206
... If I'm undersanding you're doing a rebuild from with a template tag? That would be a really bad idea. <tim/>...
tappnel
Offline Send Email
Aug 5, 2003
1:55 am
207
... Well, thank you for your advice. Although a little bit of details about the reasons why this is (always?) such a really bad idea would have helped me...
Claude Montpetit
claude_montp...
Offline Send Email
Aug 5, 2003
11:56 am
208
... As long as you /guaranteed/ that you'd never trigger a rebuild of the blog itself then you *might* be able to make it work. Otherwise you'll end up in an...
Bill Kearney
wkearney99
Offline Send Email
Aug 5, 2003
12:00 pm
209
... Yes I see it (btw, this is why I posted this question with a similar scenario in the first place.) In the context of your example, what I was asking for is...
Claude Montpetit
claude_montp...
Offline Send Email
Aug 5, 2003
1:31 pm
210
Claude... It's still not clear to me what you are trying to do from a functional level as opposed to a programatic one. Why would you need to trigger a rebuild...
tappnel
Offline Send Email
Aug 5, 2003
2:00 pm
211
(Reposting - got an unexpected error from yahoogroups's form and the first post still did not show up...) ... Ok, you asked, so here I go ;) I am creating a...
Claude Montpetit
claude_montp...
Offline Send Email
Aug 5, 2003
3:26 pm
212
I am quite new to perl and MT. Looking at the source of plugins to understand how to do certain things, I see this piece of code over and over again: local...
Claude Montpetit
claude_montp...
Offline Send Email
Aug 16, 2003
2:22 pm
213
... local applies to "$ctx->{__stash}{entry}". local means that any changes made to that value will be reverted when we exit the block. I think it's called...
Felix Lee
grayscale_wolf
Offline Send Email
Aug 16, 2003
3:04 pm
214
I'll add to Felix's answer. $ctx->{__stash}{$entry} is directly accessing a hash while $ctx->stash('entry') is a method call and interface to the data stored...
tappnel
Offline Send Email
Aug 16, 2003
4:35 pm
215
... Yeah, but the problem with that is the value doesn't get restored if the processing throws an error with 'die'. You have to do something like this: { my...
Felix Lee
grayscale_wolf
Offline Send Email
Aug 16, 2003
8:38 pm
216
Hi Dear, At the moment; Excuse me for my bad english . I have a question (or a request :) In this addresse "markpasc" write a help for make quick links weblog...
Amir Azemati
amirf10
Offline Send Email
Aug 23, 2003
5:44 am
217
Is there any way to get information about the current template that is being built? I want to create a plugin or tag that lets me access the current templates...
Shawn
hyloth
Offline Send Email
Aug 31, 2003
7:02 am
218
Nevermind... in Builder.pm I added a template_name and outfile_name to the ctx stash and just wrote a plugin to access them. ;) ... ...
Shawn L.
hyloth
Offline Send Email
Aug 31, 2003
4:31 pm
219
Hi everyone, I am wrapping up into a plugin the code I published to fight comment spam using a template-module based blacklist detailed here: ...
Jay Allen
fooljay
Offline Send Email
Sep 29, 2003
12:21 am
220
... MTEntries ... There isn't a direct way -- that wouldn't be easy to implement. However I think you can achieve such an effect. Without knowing the internals...
tappnel
Offline Send Email
Sep 29, 2003
2:40 pm
221
... Even if you do this, the real problem is that a global attribute is applied only after the container tag has been built. In this case, the entire block of...
Kevin Shay
kevin_shay
Offline Send Email
Sep 29, 2003
3:22 pm
222
... Good point, Tim. ... That is precisely what I decided to do. The file can be controlled via a module if the user would like that and a file has other nice...
Jay Allen
fooljay
Offline Send Email
Sep 30, 2003
2:13 pm
223
Jay, I can reply to a couple of your specific points separately, but first I'd like to suggest a completely different approach. There's a way a plugin might be...
Kevin Shay
kevin_shay
Offline Send Email
Sep 30, 2003
3:27 pm
224
... This is a great idea. I hadn't really thought of it, although way back when, this is how I got MT-search to work without hacking MT. I think you are...
Jay Allen
fooljay
Offline Send Email
Oct 4, 2003
7:08 pm
225
... So, I am well along in the plugin development. So far (with your help Kevin), my plugin blocks posting of comments AND trackbacks containing items on the...
Jay Allen
fooljay
Offline Send Email
Oct 6, 2003
1:44 pm
226
... Hash: SHA1 Jay, ... Heh. :) A bit of background: All of the database-backed objects (MT::Comments, MT::TBPing, etc) inherit from MT::Object. An MT::Object...
Benjamin Trott
btrott
Offline Send Email
Oct 7, 2003
5:19 am
227
Thanks Ben, It helped very much. It WOULD have helped more had I read BEFORE I successfully identified and overrode load and load_iter under the right context...
Jay Allen
fooljay
Offline Send Email
Oct 7, 2003
10:16 am
228
... traces ... I just realized that if I back them out and go for the easier route, people who use Adam Kalsey's SimpleComments plugin (like me!) will be left...
Jay Allen
fooljay
Offline Send Email
Oct 7, 2003
10:27 am
229
Jay, one small thing that you may have already taken care of in MT-Blacklist: Perl throws a warning when you redefine a subroutine. MT itself won't display...
Kevin Shay
kevin_shay
Offline Send Email
Oct 7, 2003
8:50 pm
Messages 200 - 229 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