[EventCalendar] admin.php and edit_form.js for WP 2.1

Alex Tingle alex at firetree.net
Thu Sep 7 11:27:58 UTC 2006


Jesse,

I've had a look at this now, and I see what the dbx stuff is about. (Forgive me - I still use WP1.5 on my own blog.)

I can't see anything wrong with the HTML that EC now produces. Can you work out why your changes don't activate the +/- links on the fieldset. I had a look at dbx.js, and it's been compressed so I can't tell what's going on it in. Is there any documentation on this?

-Alex

--

On Fri, 1 Sep 2006 12:12:15 -0500
"Jesse Planck" <jesse.planck at gmail.com> wrote:

> It has to do with the layout of the "dbx" boxes in WP 2.0 and higher.
> I switched your "edit_form" filter to "dbx_post_advanced" which puts
> new dbx options at the bottom, but I may have messed up the DIV order
> in the admin.php I sent to you. just as a sample I'll put one of the
> standard boxes below (the excerpt).
> 
> <div class="dbx-box-wrapper">
> <fieldset id="postexcerpt" class="dbx-box">
> <div class="dbx-handle-wrapper">
> <h3 class="dbx-handle">Optional Excerpt</h3>
> </div>
> <div class="dbx-content-wrapper">
> <div class="dbx-content"><textarea rows="1" cols="40" name="excerpt"
> tabindex="6" id="excerpt"></textarea></div>
> </div>
> </fieldset>
> </div>
> 
>  I've got 2.1 alpha running at http://www.funroe.net and 2.0.4 running
> at http://wp.funroe.net to test plugins. I am sending you this version
> of admin.php. I've tested it on both versions and it seems to work
> correctly. I don't know wether I sent you a good or bad version of
> this file.
> 
> I wish I had a good found solution for the add-date interface. It
> would be nice to have a popup calendar with a time selector.
> 
> Jess
> 
> On 9/1/06, Alex Tingle <alex at firetree.net> wrote:
> > Hi Jesse,
> >
> > Thanks very much for that. I've added your change to the category-prefix.
> >
> > I'm not sure what you are saying about the extra DIVs you have added? Are they necessary or not? If so, when?
> >
> > -Alex
> >
> > --
> >
> > On Wed, 9 Aug 2006 15:07:20 -0500
> > "Jesse Planck" <jesse.planck at gmail.com> wrote:
> >
> > > Alex,
> > >
> > > I messed with your admin.php and edit_form.js to see if I could get
> > > EC3 working with Wordpress 2.1, and it looks like I got there.
> > >
> > > Some very minor changes that look like they should work on any 2.0+
> > > version of Wordpress.
> > >
> > > I cleaned up the admin.php schedule form, and I added a javascript var
> > > that pulls the wp_version. I used that in edit_form.js to find the
> > > category clicks.
> > >
> > > I had problems making the scheduler disappear, and I thought I was
> > > doing the right thing by putting and ID on the div wrapper that I
> > > added that goes around the whole scheduler, but that didn't work at
> > > all. I went back and set it back to use the fieldset that you had and
> > > it seems to work great.
> > >
> > > Anyway. I thought you may want to see if this will help! the two
> > > updated files are in this Zip. I thought I would send it to you
> > > off-list.
> > >
> > > Jess
> >
> >
> > --
> > :: Let me solve your problems: http://www.firetree.net/consulting/
> > :: alex.tingle AT firetree.net  +44-7901-552763
> >
> 
> 
> -- 
>   Jess Planck
>   http://www.funroe.net/


-- 
:: Let me solve your problems: http://www.firetree.net/consulting/
:: alex.tingle AT firetree.net  +44-7901-552763 



More information about the EventCalendar mailing list