Page Context is used to manage pages in your portal.
It Can Add, List, Delete pages.

page add
Parameters:
  • n: Page name;
  • r: Relative Page Name;
  • l: Relative location, b->before/a->after/c->child of, default is after;
  • t: template name, default is default template;
  • m: whether include in menu 0->not include 1->include, default is 1
e.g: page add n:Test r:Home l:a
this command will add a page named 'Test' after 'Home'.

page list
this command will list all pages in current portal.

page del
Parameters:
  • n: Page name need to delete.
e.g:page del n:Home
this command will delete the specific page.

Last edited Apr 28, 2011 at 9:10 AM by zyhfish, version 1

Comments

No comments yet.