Search:

Welcome

Login to contribute. Register if you haven't yet.

Need Support?

Search this site to find an answer. If you still need help, post a Question. Private or account-related support inquiries can be made at the Private Support forum.

How do I include scripted or system pages?

From Woody - 2008-05-29

In developing layouts, what is the complete code to include the page body?  I can include the body, but I'm having trouble with executing scripted pages (/_Search, /_Index, etc..). Please help...!Smile

From admin - 2008-05-29

Woody, the 'include' command doesn't work with scripted pages, as you've seen. You must use the 'process' command instead. See the documentation for details.

It should be noted the 'process' will work with scripted pages you create. System pages like /_Search and /_Index aren't really pages, and cannot be included this way.  Most, if not all, of these pages can be fairly easily recreated in a Scripted Page using the API, however.