[pLog-svn] r5606 - plog/branches/lifetype-1.2/templates/admin

Oscar Renalias oscar at renalias.net
Tue Jul 3 04:09:16 EDT 2007


It works fine now, thank you :)

On 7/3/07, Mark Wu <markplace at gmail.com> wrote:
> Wow .... I never thought what happened if saved failed ....
>
> Mm .... Okay, I will check the postUser exist or not, if not, I will assign
> user to postUser object.
>
> I think, it should work.
>
> Mark
>
> -----Original Message-----
> From: plog-svn-bounces at devel.lifetype.net
> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of Oscar Renalias
> Sent: Tuesday, July 03, 2007 2:59 PM
> To: LifeType Developer List
> Subject: Re: [pLog-svn] r5606 - plog/branches/lifetype-1.2/templates/admin
>
> Mark, this isn't working. If you select a another user instead of the
> default one and try to add the new post (change the user, don't fill in
> anything else, and submit the form), it will come back to the same view with
> an error but with the user set back to the first one.
>
> On 7/3/07, Mark Wu <markplace at gmail.com> wrote:
> > Hee hee, I think the code works in editPost.templates, but not tfor
> > newPost.template. ^_^
> >
> > I just know this bug because user report it in Chinese forum.
> >
> > Mark
> >
> > -----Original Message-----
> > From: plog-svn-bounces at devel.lifetype.net
> > [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of Jon Daley
> > Sent: Tuesday, July 03, 2007 1:38 PM
> > To: LifeType Developer List
> > Subject: Re: [pLog-svn] r5606 -
> > plog/branches/lifetype-1.2/templates/admin
> >
> >         That's funny - I think this has been working.  Maybe my wife
> > changes it every time - I'd have thought she would have told me, that
> > would be annoying.
> >
> > On Mon, 2 Jul 2007, mark at devel.lifetype.net wrote:
> >
> > > Author: mark
> > > Date: 2007-07-02 23:57:02 -0400 (Mon, 02 Jul 2007) New Revision:
> > > 5606
> > >
> > > Modified:
> > >   plog/branches/lifetype-1.2/templates/admin/newpost.template
> > > Log:
> > > $postUser does not exist in newpost.template, we should use $user to
> > replace $postUser to get the postUser combobox pre-select correctly.
> > >
> > > Modified:
> > > plog/branches/lifetype-1.2/templates/admin/newpost.template
> > > ===================================================================
> > > --- plog/branches/lifetype-1.2/templates/admin/newpost.template
> > 2007-07-02 19:19:57 UTC (rev 5605)
> > > +++ plog/branches/lifetype-1.2/templates/admin/newpost.template
> > 2007-07-03 03:57:02 UTC (rev 5606)
> > > @@ -145,7 +145,7 @@
> > >                <div
> class="formHelp">{$locale->tr("posted_by_help")}</div>
> > >                <select name="postUser" id="postUser">
> > >                  {foreach from=$blog->getUsersInfo() item=bloguser}
> > > -                     <option value="{$bloguser->getId()}" {if
> > $postUser==$bloguser->getId()}selected="selected"{/if}>{$bloguser->get
> > UserNa
> > me()}</option>
> > > +                     <option value="{$bloguser->getId()}" {if
> > > +$user==$bloguser->getId()}selected="selected"{/if}>{$bloguser->getU
> > > +se
> > > +rName()}</option>
> > >                  {/foreach}
> > >         </select>
> > >          </div>
> > >
> > > _______________________________________________
> > > pLog-svn mailing list
> > > pLog-svn at devel.lifetype.net
> > > http://limedaley.com/mailman/listinfo/plog-svn
> > >
> >
> > --
> > Jon Daley
> > http://jon.limedaley.com/
> >
> > Our most basic problem is not that we want too much.  On the contrary,
> > it is that we are content with too little.
> > -- Randy Alcorn, 50 Days of Heaven
> > _______________________________________________
> > pLog-svn mailing list
> > pLog-svn at devel.lifetype.net
> > http://limedaley.com/mailman/listinfo/plog-svn
> >
> > _______________________________________________
> > pLog-svn mailing list
> > pLog-svn at devel.lifetype.net
> > http://limedaley.com/mailman/listinfo/plog-svn
> >
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>


More information about the pLog-svn mailing list