OSI-Certified logo

Configuration of the
Content Management module for Phprojekt.

Setup page options.

These are the options you can modify when viewing the configuration page or the administration console.

Superuser. (cm_superuser)
Shortname of user who can modify the config. Currently it defaults to "root1" since this is the default shortname for user "root" in current version of phprojekt. If you happen to be unable to modify setup because you deleted the superuser, just edit the cm/config.inc.php file to change it. (This value is the one in the field "kurz" in the "users" table).

Directory for the main content. (cm_mainroot)
This is the name of the directory inside "cm" to use as root directory. The default is "root". If you want to store the CMS content in a directory out of the web server path (not accesible except from the CMS module) set this as relative to the CMS code directory (for example ../../../cmsroot). If you want to store the CMS content in a remote shared directory in a Windows server se this using the format //servername/sharename/directorypath (also don't forget to set the option Main content directory is a Windows share.

Directory for the user content.
This option has been deprecated.

Main content directory is a Windows share. (cm_remoteroot)
If the main content directory is in a remote Windows server. This changes the behavior of some path management code.

First-level directories will appear in navigation. (cm_show_rootinnav)
By default, only one tab will be added to the navigation. But you may also want to have several content tabs. If you set this to 1/Yes the first level directories will appear as tabs. This is not recommended if you use most of the phprojekt modules, as it takes lot of space. If you have modified phprojekt (for example to have a two-rows navigation or a lateral navigation) or if you are using Phprojekt 4 with a lateral navigation skin, this option may be useful to you.

Enable the personal pages.
This option has been deprecated.

Use Phprojekt table prefix with the CMS database tables. (cm_enable_dbprefix)
If the CMS module will use the Phprojekt table prefix or not (only for database tables of the CMS module).

Enable HTML code in the content of pages. (cm_enable_htmledit)
It enables the raw edition of HTML code in the documents. In the latest versions of the CMS module this options DOES NOT enable the WYSIWYG HTML editor. If you disable this option and you already have HTML code in some pages, the HTML code won't be displayed properly.

Enable the WYSIWYG HTML editor. (cm_enable_visedit)
This option enables the WYSIWYG HTML editor for Mozilla and Internet Explorer. The option Enable HTML code in the content of pages should be enabled too.

Enable selection of platform-dependant fonts in HTML WYSIWYG editor. (cm_enable_platfonts)
This option enables the font selector to have specific fonts usually found in Windows and Mac platforms, and in some GNU/Linux distributions (the Microsoft Web fonts). If disabled the following groups are available: [Arial, Helvetica, sans-serif], [Courier New, Courier, monospace] and [Times New Roman, Times, serif]. If enabled, the following groups are available: [Andale Mono, Courier New, Courier, monospace], [Arial, Helvetica, sans-serif], [Book Antiqua, Times New Roman, Times, serif], [Bookman Old Style, Times New Roman, Times, serif], [Comic Sans MS, Arial, Helvetica, sans-serif], [Courier New, Courier, monospace], [Times New Roman, Times, serif], [Trebuchet MS, Arial, Helvetica, sans-serif] and [Verdana, Arial, Helvetica, sans-serif].

Clean up the HTML from the WYSIWYG editor. (cm_enable_cleanhtml)
This option is unused by now. It will enable the preprocessing of the edited HTML code by TIDY before storing and/or displaying it.

Verify the size of the logo images. (cm_enable_verifylogo)
This option enable the warning to the author if the selected logo image is too big, is missing or is corrupted.

Ratings are always shown. (cm_historical_ratings)
If enabled, ratings are shown even if ratings are disabled later. If disabled, ratings are hidden when ratings are disabled for the current article.

Old comments are always shown. (cm_historical_comments)
If enabled, comments are always shown even if user comments are disabled later. If disabled, old comments are hidden when commets are disabled for the current article.

Comments in chronological order. (cm_comments_chronorder)
If enabled, comments are displayed in chronological order (older ones first), otherwise they are displayed in reversed chronological order (newer ones first).

Users can change their rating on a document (cm_can_rerate).
If an user rates a document, can he/she change the rating later?

Enable the use of the graphic functions from the GD library. (cm_enable_gd)
If you don't have the GD library support compiled in PHP set this to 0/No. If you are not sure, set this to 1/Yes and test the statistics page.

Use truecolor functions of the GD 2.0 library. (cm_jpeg_truecolors)
This will enable the usage of the truecolor functions of PHP, using the GD 2.0 library. This is the default to generate thumbnails and generate the stats graphs. If you are getting zero-size images, invalid generated images (stat graphs and thumbnails) or warning messages about imagecreatetruecolor and imagecopyresampled, then you are surely using an old GD library and you must set this to 0/No. This is necessary as there is no easy way to know the GD library version available for PHP.

JPEG generation quality. (cm_jpeg_quality)
How much to compress the generated JPEG images, mostly thumbnails. Suggested values are from 50 to 80. A smaller value will create smaller thumbnails with lower quality, and larger numbers will create bigger thumbails with higher quality.

Thumbnail file prefix. (cm_jpegprefix_file)
Prefix to use for thumbnail images. This is used to generate, display and identify the thumbnails on some CMS routines.

Thumbnail dimensions. (cm_jpeg_maxX, cm_jpeg_maxY)
What dimensions to use for thumbnails. This will affect only newly created thumbnails. To change already existing thumbnails, you must first delete them.

Pictures per row. (cm_album_cols)
For the autogenerated albums, how many pictures to shown per row.

Don't show extension and non-alphanumeric characters of filename. (cm_jpeg_prettynames)
So a filename like My_computer_at_2002.jpg will be displayed as "My computer at 2002".

Show thumbnails in file listing. (cm_show_thumbsinlisting)
When sharing files, if the thumbnails will be displayed. This doesn't affect the file manager view. Recommended value is 0/No (disabled).

Show directories in file listing. (cm_dirs_inlisting)
When sharing files, if the directories will be displayed. This affects the file manager view. Recommended value is 0/No (disabled).

Disable navigation icons. (cm_text_icons)
If enabled navigation icons are replaced by text. This may improve the usability for users who get confused by the meaning of the icons and for those using the keyboard to navigate.

Max number of documents to list in homepage. (cm_home_maxleafs)
Only most recently updated or created pages are displayed at the homepage. This limits the number of them to show.

Min number of documents to list in homepage. (cm_home_minleafs)
It keeps a minimal of documents listed even if they are too old, overriding the How old can the documents in homepage be option. This option was unused in older versions of the CMS module (<0.5.1).

How old can the documents in homepage be. (cm_home_oldestleafallowed)
It limits the document listed in the homepage to those not older than X days. This option can be overrided by the option Min number of documents to list in homepage. This option was unused in older versions of the CMS module (<0.5.1).

How old can the documents in summary page be. (cm_sum_oldestleafallowed)
It limits the document listed in the summary page of Phprojekt to those not older than X days. This option can be overrided by the option Min number of documents to list in homepage. This option was unused in older versions of the CMS module (<0.5.1).

Max number of documents to report in stats. (cm_max_statlist)
Only most visited pages are counted in the stats. This limits the number of pages to show in the graphs. (Still, calculations are based on all pages).

Max number of user comments to show. (cm_max_usercomments)
User comments are shown chronologically, this limits the number of them to show by default.

Should since-update hits counter be reset when an user post a comment? (cm_resethits_aftercomment)
If enabled, when an user post a comment, the page's update date is changed. This will make it show higher in the homepage.

Max number of results from search to show. (cm_max_searchres)
Exactly that.

What icon set to use (1-n). (cm_icon_set)
This option is deprecated from version 0.6.0.
In cm_images.inc.php you can define several icon sets. By default the CMS module uses the first set. Predefined sets are:

  • 1=Gnome icons,
  • 2=AquaFusion icons (included after version 0.4.7.1) with Gnome emoticons (defaults),
  • 3=Gnome icons with Kmess emoticons,
  • 4=IcOsX icons (not included).

What CMS skin to use if a Phprojekt skin is not selected or is not available. (cm_default_skin)
The CMS module can use corresponding skin files to match the appearance of the current Phprojekt skin. This setting define what skin to use if no matching skin is found or ifno skin is selected in Phprojekt.

Force CMS skin even if Phprojekt skin is different. (cm_force_skin)
This option will force the default skin to be used even if the Phprojekt skin is changed.

Convert emoticons in page content and user comments. (cm_convert_emoticons)
Emoticons or smileys can be shown as small graphics or left in text form.

Size of controls images. (cm_control_iconwidth, cm_control_iconheight)
Size of setup images. (cm_setup_iconwidth, cm_setup_iconheight)
Size of messages and dialogs images. (cm_msg_iconwidth, cm_msg_iconheight)
Size of emoticons images. (cm_emoticon_iconwidth, cm_emoticon_iconheight)
Size of file listing images. (cm_filelist_iconwidth, cm_filelist_iconheight)
Size of directory listing images. (cm_dirlist_iconwidth, cm_dirlist_iconheight)
These are the X/Y dimensions of the used images for dialogs, controls and listings. This is necessary not only to render the page faster, but also because the HTC script for IE needs exact dimension sizes or PNGs won't be displayed. If you leave them empty, images won't be displayed properly. Optimal values are: 16x16 (control), 32x32 (setup), 48x48 (dialogs), 16x16 (emoticons), 36x36 (file listings) and 16x16 (directory listings).

Dimensions for article logo images. (cm_doclogo_width, cm_doclogo_height)
These are the X/Y max dimensions allowed for the logo images of articles. This options affects the spacing of the article listings and set the warning limits if the option Verify the size of the logo images is set.

 
 
NA fum/lmd: 2004.09.30
Copyright ©1994-2018 by Mario A. Valdez-Ramírez.
no siga este enlace / do not follow this link