use inc to display page within page

Permalink
Hi,

I have my main page, and within a div I want to use the inc function to display another page, i.e. index.php?cID=57 but it always fails saying it can't find the page, mainly because it is looking in the themes directory. How do I get round this?

Thanks in advance for your help.

Allan

engagingit
 
engagingit replied on at Permalink Reply
engagingit
Not sure if the above post was very clear.

Is it possible to use the function inc() to include a page from the website, using index.php, i.e. on the homepage I want a div which inside it has an include for index.php?cID=22

Really starting to scratch my head on this one now so any help would be greatly appreciated

Cheers
Al
frz replied on at Permalink Reply
frz
can you take another step back and explain the actual goal?

I have no idea what you're trying to achieve, but at a glance this looks like a very weird way to approach any problem in concrete5.