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?
> >
> >
>
>
|
|
|
 |
|