CodeCharge Support
|
Posted: 05/06/2002, 1:08 AM |
|
Updated CodeCharge Studio Tutorials are available at http://www.codecharge.com/download/files/pdf/CCSTutorial_Beta.pdf
(100 page, 2.8MB PDF)
|
|
|
Barry G. Sumpter
|
Posted: 05/06/2002, 1:50 AM |
|
Hi guys,
Thanks for the all the hard work and this update.
Very Nice.
I really like the snapshot format.
baz
"CodeCharge Support" <support@codecharge.com> wrote in message
news:ab5dla$4cs$1@news.codecharge.com...
> Updated CodeCharge Studio Tutorials are available at
> http://www.codecharge.com/download/files/pdf/CCSTutorial_Beta.pdf
> (100 page, 2.8MB PDF)
>
>
>
>
|
|
|
Dave Rexel
|
Posted: 05/06/2002, 1:56 PM |
|
A very good tutorial, an excellent guide to the Power Wizard and Query
builder.
Long live the Wizards!
Please CodeCharge, release some tips on changing template vars
for example I put {mypage} in HTML code page title tag but cannnot find a
way to set this variable i my custom code (before show? how?).
I have the text file listing all functions but no way of knowing how to use
them in my custom code.
However I did figure out how to get display a result from
function CCGetDBValue($sql, $db)
fix : find the name of the variable that CCS names your connection to
now make it global in custom code (in my case $DBmyConnection)
Unfortunately this came after hours of peering at the generated code
and lurking in the forums and this NG
I need to know the entry points (before show etc) that will affect the
functions.
Assuming that the developers are very busy I would like to suggest that a
comprehensive reference or a very polished tutorial is not really what is
needed right now, just some basic code pointers to better evaluate CCS and
plan a migration strategy from CC coding style.
TIA
"CodeCharge Support" <support@codecharge.com> wrote in message
news:ab5dla$4cs$1@news.codecharge.com...
> Updated CodeCharge Studio Tutorials are available at
> http://www.codecharge.com/download/files/pdf/CCSTutorial_Beta.pdf
> (100 page, 2.8MB PDF)
>
>
>
>
|
|
|
CodeCharge Support
|
Posted: 05/06/2002, 2:14 PM |
|
We're working on the programming reference, but for now you could try using
Page Events like After Initialize or Before Show and use code like this:
global $Tpl;
$Tpl->SetVar("your_tag_name", "your_value");
I believe that form/component events may not work in some cases like grid
captions, therefore please make sure you try page events first.
Konrad
"Dave Rexel" <therex_spamenot@hotmail.com> wrote in message
news:ab6qlj$pln$1@news.codecharge.com...
> A very good tutorial, an excellent guide to the Power Wizard and Query
> builder.
>
> Long live the Wizards!
>
> Please CodeCharge, release some tips on changing template vars
> for example I put {mypage} in HTML code page title tag but cannnot find a
> way to set this variable i my custom code (before show? how?).
>
> I have the text file listing all functions but no way of knowing how to
use
> them in my custom code.
> However I did figure out how to get display a result from
> function CCGetDBValue($sql, $db)
> fix : find the name of the variable that CCS names your connection to
> now make it global in custom code (in my case $DBmyConnection)
> Unfortunately this came after hours of peering at the generated code
> and lurking in the forums and this NG
>
> I need to know the entry points (before show etc) that will affect the
> functions.
>
> Assuming that the developers are very busy I would like to suggest that a
> comprehensive reference or a very polished tutorial is not really what is
> needed right now, just some basic code pointers to better evaluate CCS and
> plan a migration strategy from CC coding style.
>
> TIA
>
> "CodeCharge Support" <support@codecharge.com> wrote in message
>news:ab5dla$4cs$1@news.codecharge.com...
> > Updated CodeCharge Studio Tutorials are available at
> > http://www.codecharge.com/download/files/pdf/CCSTutorial_Beta.pdf
> > (100 page, 2.8MB PDF)
> >
> >
> >
> >
>
>
|
|
|
Dave Rexel
|
Posted: 05/06/2002, 2:47 PM |
|
Hello Konrad
sorry to say that I get
Fatal error: Call to a member function on a non-object in
c:\inetpub\wwwroot\NewProject3\eko_trans__list_events.php on line 36
Heres the code block :
(some of my attempts are commented out)
function Page_AfterInitialize() { //Page_AfterInitialize @1-56434BCA
//Custom Code @36-2A29BDB7
// -------------------------
// Write your own code here.
//global $myTitle;
global $Tpl;
$Tpl->SetVar($myTitle, "new_value");
//$Tpl->SetVar("myTitle", "new_value");
// -------------------------
//End Custom Code
} //Close Page_AfterInitialize @1-FCB6E20C
Thanks for your patience and time
"CodeCharge Support" <support@codecharge.com> wrote in message
news:ab6rmp$rkj$1@news.codecharge.com...
> We're working on the programming reference, but for now you could try
using
> Page Events like After Initialize or Before Show and use code like this:
>
> global $Tpl;
> $Tpl->SetVar("your_tag_name", "your_value");
>
> I believe that form/component events may not work in some cases like grid
> captions, therefore please make sure you try page events first.
>
> Konrad
>
>
> "Dave Rexel" <therex_spamenot@hotmail.com> wrote in message
>news:ab6qlj$pln$1@news.codecharge.com...
> > A very good tutorial, an excellent guide to the Power Wizard and Query
> > builder.
> >
> > Long live the Wizards!
> >
> > Please CodeCharge, release some tips on changing template vars
> > for example I put {mypage} in HTML code page title tag but cannnot find
a
> > way to set this variable i my custom code (before show? how?).
> >
> > I have the text file listing all functions but no way of knowing how to
> use
> > them in my custom code.
> > However I did figure out how to get display a result from
> > function CCGetDBValue($sql, $db)
> > fix : find the name of the variable that CCS names your connection to
> > now make it global in custom code (in my case $DBmyConnection)
> > Unfortunately this came after hours of peering at the generated code
> > and lurking in the forums and this NG
> >
> > I need to know the entry points (before show etc) that will affect the
> > functions.
> >
> > Assuming that the developers are very busy I would like to suggest that
a
> > comprehensive reference or a very polished tutorial is not really what
is
> > needed right now, just some basic code pointers to better evaluate CCS
and
> > plan a migration strategy from CC coding style.
> >
> > TIA
|
|
|
Dave Rexel
|
Posted: 05/06/2002, 3:08 PM |
|
SOLVED : insert the code into before show
After initialise is read before call to $Tpl = new clsTemplate(); (I think)
code snippet (may help someone)
function Page_BeforeShow() { //Page_BeforeShow @1-66DC429C
//Declare Variable @34-DD52632F
//$myTitle = "myTitle";
//End Declare Variable
//Custom Code @35-2A29BDB7
// -------------------------
// Write your own code here.
global $Tpl;
$myTitle = "Programatic title";
$Tpl->SetVar("myTitle", $myTitle);
// -------------------------
//End Custom Code
} //Close Page_BeforeShow @1-FCB6E20C
Great stuff! it works!
Thank you
Dave
"CodeCharge Support" <support@codecharge.com> wrote in message
news:ab6rmp$rkj$1@news.codecharge.com...
> We're working on the programming reference, but for now you could try
using
> Page Events like After Initialize or Before Show and use code like this:
>
> global $Tpl;
> $Tpl->SetVar("your_tag_name", "your_value");
>
> I believe that form/component events may not work in some cases like grid
> captions, therefore please make sure you try page events first.
>
> Konrad
>
>
> "Dave Rexel" <therex_spamenot@hotmail.com> wrote in message
>news:ab6qlj$pln$1@news.codecharge.com...
> > A very good tutorial, an excellent guide to the Power Wizard and Query
> > builder.
> >
> > Long live the Wizards!
> >
> > Please CodeCharge, release some tips on changing template vars
> > for example I put {mypage} in HTML code page title tag but cannnot find
a
> > way to set this variable i my custom code (before show? how?).
> >
> > I have the text file listing all functions but no way of knowing how to
> use
> > them in my custom code.
> > However I did figure out how to get display a result from
> > function CCGetDBValue($sql, $db)
> > fix : find the name of the variable that CCS names your connection to
> > now make it global in custom code (in my case $DBmyConnection)
> > Unfortunately this came after hours of peering at the generated code
> > and lurking in the forums and this NG
> >
> > I need to know the entry points (before show etc) that will affect the
> > functions.
> >
> > Assuming that the developers are very busy I would like to suggest that
a
> > comprehensive reference or a very polished tutorial is not really what
is
> > needed right now, just some basic code pointers to better evaluate CCS
and
> > plan a migration strategy from CC coding style.
> >
> > TIA
> >
> > "CodeCharge Support" <support@codecharge.com> wrote in message
> >news:ab5dla$4cs$1@news.codecharge.com...
> > > Updated CodeCharge Studio Tutorials are available at
> > > http://www.codecharge.com/download/files/pdf/CCSTutorial_Beta.pdf
> > > (100 page, 2.8MB PDF)
> > >
> > >
> > >
> > >
> >
> >
>
>
|
|
|
|