Seppo Apajalahti
|
Posted: 06/14/2003, 2:59 AM |
|
Hi!
I'll try to make an application like the Forum named solution example but I
have a problem. If you look this solution example there is a page where you
can read the message and all the responses to that message. This page is
named "ViewThread". There i also a imagelink and when you click it open the
page "Reply". How can I get the value of the message_id from the page
"ViewThread" to the field "message_id_parent" in the Reply -page?
--
Seppo
|
|
|
Seppo Apajalahti
|
Posted: 06/14/2003, 3:09 AM |
|
I forgot:
I'm using CCS2 + PHP + MySQL
"Seppo Apajalahti" <seppo.apajalahti@pp.inet.fi> kirjoitti
viestissä:bcermf$vdm$1@news.codecharge.com...
> Hi!
>
> I'll try to make an application like the Forum named solution example but
I
> have a problem. If you look this solution example there is a page where
you
> can read the message and all the responses to that message. This page is
> named "ViewThread". There i also a imagelink and when you click it open
the
> page "Reply". How can I get the value of the message_id from the page
> "ViewThread" to the field "message_id_parent" in the Reply -page?
>
> --
> Seppo
>
>
|
|
|
DonB
|
Posted: 06/26/2003, 7:52 AM |
|
All you need to do is add a "Link Parameter" to the Reply link, so that it
is passed to the Reply page. Then on the Reply page, you will have the
parameter available. You can access it with the CCGetParam() function from
the appropriate event on the Reply page, probably in a BeforeShow or
BeforeBuildSelect. Just to the CCGetParam() before you need to use the
ReplyID. It is also accessible when a Property page shows "parameters",
since the ReplyID is passed via the page's URL, you use the parameter type
"URL"
DonB
http://www.gotodon.com/ccbth
"Seppo Apajalahti" <seppo.apajalahti@pp.inet.fi> wrote in message
news:bces84$r6$1@news.codecharge.com...
> I forgot:
> I'm using CCS2 + PHP + MySQL
>
> "Seppo Apajalahti" <seppo.apajalahti@pp.inet.fi> kirjoitti
> viestissä:bcermf$vdm$1@news.codecharge.com...
> > Hi!
> >
> > I'll try to make an application like the Forum named solution example
but
> I
> > have a problem. If you look this solution example there is a page where
> you
> > can read the message and all the responses to that message. This page is
> > named "ViewThread". There i also a imagelink and when you click it open
> the
> > page "Reply". How can I get the value of the message_id from the page
> > "ViewThread" to the field "message_id_parent" in the Reply -page?
> >
> > --
> > Seppo
> >
> >
>
>
|
|
|
|