Content part Types

List of up to now (v1.4.0 r_264) available content types.

To influence the order in the selection display in the BE, the file “include/inc_lib/article.contenttype.inc.php” can be edited (change order of CPs).

Unsorted list

include/inc_lib/article.contenttype.inc.php

// Content Part Types
// DO NOT define 30 = used for modules
$wcs_content_type = array(
     0 => $BL['be_ctype_plaintext'] ,
     6 => $BL['be_ctype_html'],
    14 => $BL['be_ctype_wysywig'],
    11 => $BL['be_ctype_code'],
     1 => $BL['be_ctype_textimage'],
    29 => $BL['be_ctype_imagesdiv'],
    31 => $BL['be_ctype_imagesspecial'],
    32 => $BL['be_ctype_tabs'],
     2 => $BL['be_ctype_images'],
     4 => $BL['be_ctype_bulletlist'],
   100 => $BL['be_ctype_ullist'],
     3 => $BL['be_ctype_link'],
     5 => $BL['be_ctype_linklist'],
     8 => $BL['be_ctype_linkarticle'],
    33 => $BL['be_news'],
    15 => $BL['be_ctype_articlemenu'],
     9 => $BL['be_ctype_multimedia'],
     7 => $BL['be_ctype_filelist'],
    16 => $BL['be_ctype_ecard'],
  //17 => $BL['be_ctype_blog'],
    23 => $BL['be_ctype_simpleform'],
    10 => $BL['be_ctype_emailform'].' [old]',
    12 => $BL['be_ctype_newsletter'],
    13 => $BL['be_ctype_search'],
    18 => $BL['be_ctype_guestbook'],
    19 => $BL['be_ctype_sitemap'],
  //20 => $BL['be_ctype_bid'],
    21 => $BL['be_ctype_pages'],
    22 => $BL['be_ctype_rssfeed'],
    50 => $BL['be_ctype_reference'],
    51 => $BL['be_ctype_map'],
    52 => $BL['be_ctype_phpvar'],
  //53 => $BL['be_ctype_forum'],
    24 => $BL['be_ctype_alias'],
    89 => $BL['be_ctype_poll'], // jens poll
    26 => $BL['be_ctype_recipe'],
    27 => $BL['be_ctype_faq'],
    28 => $BL['be_ctype_felogin'],
    25 => $BL['be_ctype_flashplayer']
);
 
// set module content parts = 30
if(count($phpwcms['modules'])) {
    foreach($phpwcms['modules'] as $value) {
        if($value['cntp']) {
            $wcs_content_type[30] = $BL['be_ctype_module'];
            break;
        }
    }
}


Numrically sorted list

With additional:
(Template) = Full template in “template/inc_default/*” and respectively “template/inc_cntpart/CP-signifier/*”
{Template] = Content template in “template/inc_default/*” and respectively “template/inc_cntpart/CP-signifier/*”

CPs with templates do not respond to the layout settings in conf.template_default.inc.php like e.g.

$template_default['article']['content_head_before']      = '<h3>';

because this setting is made in the template.

numerically sorted list

   0 => plaintext                             (Template)
   1 => textimage
   2 => images
   3 => link
   4 => bulletlist
   5 => linklist                              (Template)
   6 => html                                  (Template)
   7 => filelist                              (Template)
   8 => linkarticle                           (Template)
   9 => multimedia                            [Template]
  10 => emailform [old]
  11 => code                                  (Template)
  12 => newsletter
  13 => search
  14 => wysywig                               (Template)
  15 => articlemenu
  16 => ecard
  17 => blog             // disabled
  18 => guestbook                             [Template]
  19 => sitemap
  20 => bid              // disabled
  21 => pages
  22 => rssfeed                               [Template]
  23 => simpleform                            (Template)
  24 => alias
  25 => flashplayer                           (Template)
  26 => recipe
  27 => faq
  28 => felogin                               [Template]
  29 => imagesdiv                             (Template)

  30 => modules !!!!     // used for modules

  31 => imagesspecial                         (Template)
  32 => tabs                                  (Template)
  33 => be_news                               (Template)

  50 => reference
  51 => map                                   (Template)
  52 => phpvar
  53 => forum            // disabled
  89 => poll             // jens poll
 100 => ullist


Alphabetically sorted list

alphabetically sorted list

  24 => alias
  15 => articlemenu

   2 => bid               // disabled
   1 => blog              // disabled
   4 => bulletlist

   11 => code

   16 => ecard
   10 => emailform [old]

  27 => faq
  28 => felogin
   7 => filelist
   5 => forum             // disabled

  18 => guestbook

   6 => html

   2 => images
  29 => imagesdiv
  31 => imagesspecial

   3 => link
   5 => linklist
   8 => linkarticle

  51 => map
   9 => multimedia
  33 => news
  12 => newsletter

  21 => pages
  52 => phpvar
   0 => plaintext
  89 => poll // jens poll

  22 => rssfeed
  50 => reference
  26 => recipe

  13 => search
  23 => simpleform
  19 => sitemap

  32 => tabs
   1 => textimage

  10 => ullist

  14 => wysywig
english/technics/internal-function-call/content-part-types.txt · Last modified: 2010/08/16 20:23 by Claus
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0