CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Templates

Print topic Send  topic

Author Message
Jeroen Steggink
Posted: 07/19/2002, 2:26 AM

Hi,

I have a question about the template blocks in CCS with PHP.

I have made a custum template block which looks exactly like the other
blocks. Then I parsed it in the Before Show event of the form. Now I see the
block, but all variables, like labels, links, input boxs, etc between {}
aren't shown.
First I made a grid with all the labels i needed, after that I created a
template block in this grid.
<!-- BEGIN Totalprice --> data <!-- END Totalprice -->
Then in the Before Show event of the grid:
$Tpl->Parse("Totalprice", true);

Can anyone help me?

Alexey Alexapolsky
Posted: 07/22/2002, 5:03 AM

How did you populate these template variables ?
Looks like you've only created them and expect CCS to do the rest job.


--

Alex,
Support Engineer
CodeCharge Team



"Jeroen Steggink" <jeroen_steggink@hotmail.com> wrote in message
news:ah8lv9$7ns$1@news.codecharge.com...
> Hi,
>
> I have a question about the template blocks in CCS with PHP.
>
> I have made a custum template block which looks exactly like the other
> blocks. Then I parsed it in the Before Show event of the form. Now I see
the
> block, but all variables, like labels, links, input boxs, etc between {}
> aren't shown.
> First I made a grid with all the labels i needed, after that I created a
> template block in this grid.
> <!-- BEGIN Totalprice --> data <!-- END Totalprice -->
> Then in the Before Show event of the grid:
> $Tpl->Parse("Totalprice", true);
>
> Can anyone help me?
>
>

Jeroen Steggink
Posted: 07/22/2002, 4:09 PM

I've added some labels using the Toobox. When not adding template blocks
they work fine, but after adding the blocks they don't show up. What do I
have to do in order to see them?

"Alexey Alexapolsky" <alexa@codecharge.com> wrote in message
news:ahgsa5$903$2@news.codecharge.com...
> How did you populate these template variables ?
> Looks like you've only created them and expect CCS to do the rest job.
>
>
> --
>
> Alex,
> Support Engineer
> CodeCharge Team
>
>
>
> "Jeroen Steggink" <jeroen_steggink@hotmail.com> wrote in message
>news:ah8lv9$7ns$1@news.codecharge.com...
> > Hi,
> >
> > I have a question about the template blocks in CCS with PHP.
> >
> > I have made a custum template block which looks exactly like the other
> > blocks. Then I parsed it in the Before Show event of the form. Now I see
> the
> > block, but all variables, like labels, links, input boxs, etc between {}
> > aren't shown.
> > First I made a grid with all the labels i needed, after that I created a
> > template block in this grid.
> > <!-- BEGIN Totalprice --> data <!-- END Totalprice -->
> > Then in the Before Show event of the grid:
> > $Tpl->Parse("Totalprice", true);
> >
> > Can anyone help me?
> >
> >
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.