Marc
|
| Posted: 03/07/2002, 10:36 AM |
|
I have a table called Pages and its purpose is to allow me to insert html
pages into my CC page.
In the OnBelow event I use:
fldPage="<!--#include file="""&{fldPage}&""" -->"
but all it prints is:
<!--#include file="a_page.htm" -->
I am a newbie to CC and like it very much, but I would like to be able to
insert html pages from my pages table.
Is this possible?
Help please
Marc.
|
|
|
 |
Alexey Alexapolsky
|
| Posted: 03/09/2002, 6:13 AM |
|
Generally , it's not possible for your web platform to
first run script and then perform conditional inclusion.
Inclusion should always be processed before any script is
executed. To include a file you might read it via FileSystem object and
then assign file contents to some variable.
--
Alex
CodeCharge Developer
"Marc" <marc@devHQ.co.uk> wrote in message
news:a68bvu$q54$1@news.codecharge.com...
> I have a table called Pages and its purpose is to allow me to insert html
> pages into my CC page.
>
> In the OnBelow event I use:
>
> fldPage="<!--#include file="""&{fldPage}&""" -->"
>
> but all it prints is:
> <!--#include file="a_page.htm" -->
>
> I am a newbie to CC and like it very much, but I would like to be able to
> insert html pages from my pages table.
>
> Is this possible?
>
> Help please
>
> Marc.
>
>
|
|
|
 |
Marc
|
| Posted: 03/11/2002, 6:29 AM |
|
Sounds good - are there any examples of this anywhere?
Thanks for the great support - I have asked three questions, and all have
been answered very quickly.
Thanks again
Marc.
|
|
|
 |
|