phpDocumentor pond
[ class tree: pond ] [ index: pond ] [ all elements ]

Procedural File: _admin.php

Source Location: /qp_config/_admin.php

Page Details

This is the admin config file

This sets how the back-office/admin interface works

Filesource:  Source Code for this file
Globals
int   $allow_cross_posting [line 36]

Cross posting

Possible values:

  • -1 if you don't want to use categories at all
  • 0 if you want users to post to a single category only
  • 1 if you want to be able to cross-post among multiple categories
  • 2 if you want to be able to cross-post among multiple blogs/categories
  • 3 if you want to be able to change main cat among blogs (which will move the posts from one blog to another; use with caution)

Default value:  1
Information Tags:
Todo:  fp>This should be moved to the backoffice. In the BO, this should actually be split into: App Settings: checkbox [] allow cross posting another checkbox [] allow moving posting between different blogs Each blog's settings: radio between:
  • One category per post
  • Multiple categories per post (requires transparent handling of main cat)
  • Main cat + extra cats
  • Don't use categories (this requires to transparently manage a default category)

[ Top ]

int   $dash_disp_num [line 70]

Dashboard Items Count.

This controls how many comments and drafts and recent edits are displayed on the dashboard page

Default value:  5

[ Top ]

array   $posttypes_locked_IDs [line 48]

Locked post type IDs.

These post types can't be edited or deleted in the post type editor. They're needed by certain Quam Plures features, so don't remove any IDs from this array.

Default value:  array( 1000, 1500, 1520, 1530, 1570, 1600, 2000, 3000 )

[ Top ]

array   $posttypes_reserved_IDs [line 60]

Reserved post type IDs.

These post types are reserved for future use and can't be edited or deleted in the post type editor. It also is not possible to select them when creating a new post. Do not remove any IDs from this array.

Default value:  array( 4000, 5000 )

[ Top ]