Index: openacs-4/packages/acs-core-docs/www/tutorial-admin-pages.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/tutorial-admin-pages.adp,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/acs-core-docs/www/tutorial-admin-pages.adp 8 Nov 2017 09:42:12 -0000 1.3 +++ openacs-4/packages/acs-core-docs/www/tutorial-admin-pages.adp 25 Apr 2018 08:38:28 -0000 1.4 @@ -3,11 +3,11 @@ Admin Pages -
+ leftLink="tutorial-comments" leftLabel="Prev" + title="Chapter 10. Advanced +Topics" + rightLink="tutorial-categories" rightLabel="Next"> +

Admin Pages

There are at least two flavors of admin user interface:

    @@ -20,17 +20,14 @@ that users aren't interested in or aren't allowed to see you will need dedicated admin pages. The conventional place to put those dedicated admin pages is in the /var/lib/aolserver/$OPENACS_SERVICE_NAME/packages/myfirstpackage/www/admin -directory.

    -[$OPENACS_SERVICE_NAME www]$ mkdir admin
    -
    -[$OPENACS_SERVICE_NAME www]$ cd admin
    +directory.

    [$OPENACS_SERVICE_NAME www]$ mkdir admin
    +
    [$OPENACS_SERVICE_NAME www]$ cd admin
     

    Even if your application doesn't need any admin pages of its own you will usually need at least one simple page with a bunch of links to existing administration UI such as Category Management or standard Parameters UI. Adding the link to Category Management is described in the section on categories. The listing below adds a -link to the Parameters UI of our package.

    -[$OPENACS_SERVICE_NAME admin]$ vi index.adp
    +link to the Parameters UI of our package.

    [$OPENACS_SERVICE_NAME admin]$ vi index.adp
     
     <master>
     <property name="title">\@title;noquote\@</property>
    @@ -39,8 +36,7 @@
     <ul class="action-links">
       <li><a href="\@parameters_url\@" title="Set parameters" class="action_link">Set parameters</a></li>
     </ul>
    -
    -[$OPENACS_SERVICE_NAME admin]$ vi index.tcl
    +
    [$OPENACS_SERVICE_NAME admin]$ vi index.tcl
     
     ad_page_contract {} {
     } -properties {
    @@ -92,8 +88,8 @@
     
- \ No newline at end of file + leftLink="tutorial-comments" leftLabel="Prev" leftTitle="Adding Comments" + rightLink="tutorial-categories" rightLabel="Next" rightTitle="Categories" + homeLink="index" homeLabel="Home" + upLink="tutorial-advanced" upLabel="Up"> + \ No newline at end of file