Joe, you Rock!
I had looked at that for hours.. I could have looked at it for a few
more hours and it still wouldn't have worked..
Changint the section to:
<!-- BEGIN section_row -->
<em>{SUB_SECTION_TITLE}<br>{SUB_SECTION_BLERB}</em>
<!-- END section_row -->
Did the charm..
Layne, I think that the set file was running (especially as it is all
working now)
Mike
On Thu, 2002-05-02 at 12:50, Joe Stewart wrote:
> Hi Mike,
>
> I haven't looked very closely, but some versions of template.inc require
> the <!-- END section_row --> to be on a new line.
>
> On Thu, May 02, 2002 at 12:35:00PM -0400, Mike Gifford wrote:
> > Hello,
> >
> > I've seen this problem before with phplib templates.. And I've fixed
> > this problem before (on different code).. However for the life of me
> > right now I can't see what the heck is wrong with how I've structured
> > the template for this function and why I'm getting this error (is there
> > any way that this error could be more descriptive in future releases?)..
> >
> > The problem seems to be with a block I am trying to insert into an
> > existing template. I can print a section name, but wan to list all of
> > the sub-sections.
> >
> > So the template (be_section.tpl) is defined like this:
> > <!-- START OF TEMPLATED DISPLAY SECTION -->
> > <h2>{SECTION_TITLE}</h2>
> > {SECTION_BLERB}
> >
> > {MODIFY} {NEW_ARTICLE}
> >
> > <!-- BEGIN section_row
> > --><em>{SUB_SECTION_TITLE}<br>{SUB_SECTION_BLERB}</em><!-- END
> > section_row -->
> >
--
Mike Gifford, OpenConcept Consulting, http://www.openconcept.ca
Open Source Web Applications for Social Change
New Site Launched: http://www.patmartin.org/
War is a poor chisel to carve out tomorrows. ML King, Jr.
|