Re: Inheritance block/def problem

[email protected] Mon, 14 Sep 2009 19:02:41 -0700
Newsgroups gmane.comp.python.cheetah
Message-ID <[email protected]>
Tyler
thanks
moving the function fotofooter to base.html solved the problem
thanks



On Thu, Sep 10, 2009 at 4:25 PM, R. Tyler Ballance <[email protected]> wrote:

>
> On Thu, 10 Sep 2009, [email protected] wrote:
>
> > I have a method fotofooter in the base html that is not needed in a
> > particular subclass.html
>
> Without actual code, I don't expect we'll be able to offer much insight
> here
>
>
> >
> >
> > *base html*
> >
> > #block fotolist
> > $fotofooter
> > #end block fotolist
> >
> >
> > *inherited html** subclass.html*
> >
> > #def fotolist
> >
> > #end def fotolist
> >
> >
> > But the contents of fotofooter still appear in the subclass.html
> >
> > How do I remove the fotofooter method from subclass.html
> >
> > #block fotolist does not get over-ridden
> >
> > --
> > Bidegg worlds best auction site
> > http://bidegg.com
>
> >
> ------------------------------------------------------------------------------
> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> > trial. Simplify your report design, integration and deployment - and
> focus on
> > what you do best, core application coding. Discover what's new with
> > Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> > _______________________________________________
> > Cheetahtemplate-discuss mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss
>
> -R. Tyler Ballance
> Slide, Inc.
>



-- 
Bidegg worlds best auction site
http://bidegg.com

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf

_______________________________________________
Cheetahtemplate-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss