Replacement Tags for Articles

{AUTHOR}

Use: Distributes the Author of the article
Notation: {AUTHOR}
Result: Oliver
Remark:

{DATE_ARTICLE}

Use: Distributes the construction date of the article
Notation: {DATE_ARTICLE}
Result: Tuesday, 21. January 2014
Remark: To display date in other languages you must edit: config/phpwcms/conf.template_default.inc.php
$template_default["date"]["language"]="EN";

{TIME_ARTICLE}

Use: Distributes the construction time of the article
Notation: {TIME_ARTICLE}
Result: 12:41
Remark: The Time format can be changed in 
config/phpwcms/conf.template_default.inc.php beginning from line 159

[b]Text[/b]

Use: With this tag you can format text to bold
Notation: [b}Text[/b]
Result: Text
Remark: This tag is made for plain text content parts. But it can used as well in templates, headlines, captions ...

[i]Text[/i]

Use: With this tag you can format text to italic
Notation: [i]Text[/i]
Result: Text
Remark: This tag is made for plain text content parts. But it can used as well in templates, headlines, captions ...

[u]Text[/u]

Use: With this tag you can decorate text underline
Notation: [u]Text[/u]
Result: Text
Remark: This tag is made for plain text content parts. But it can used as well in templates, headlines, captions ...

[s]Text[/s]

Use:   With this tag you can decorate text strikeout
Notation: [s]Text[/s]
Result: Text
Remark: This tag is made for plain text content parts. But it can used as well in templates, headlines, captions ...
   

[BR]

Use: With this tag you can force a linebreak
Notation: the forced line break is >[BR]< here
Result: the forced line break is >
< here
Remark: This tag is can used in all content parts and in templates, headlines, captions ...

{SHOW_CONTENT:MODE,id,id,id}

Use:   Shows one ore more content parts (>=V1.2.8)
Notation: {SHOW_CONTENT:MODE,id,id,id}
Result: {SHOW_CONTENT:CP,1,2,3}
the CPs with the CP-ID 1,2 und 3 was spent here.
Remark: There are 3 different MODE'S

1. {SHOW_CONTENT:CP, cp-id, cp-id, cp-id}
    List of Content Parts but based on selected cp | id = id of cp,
    comma seperated.

2. {SHOW_CONTENT:CPA, art-id, art-id, art-id}
    ascending list of Content Parts but based on
    selected article | id = id of article, comma seperated.

3. {SHOW_CONTENT:CPAD, art-id, art-id, art-id}
    same as CPA, but descending (this slows rendering)

4. {SHOW_CONTENT:AS, art-id, art-id, art-id}
    List of Article Summaries | id = id of articles, comma separated.
    - Sort order:
       - AS: Sorted as given
       - ASL: Sorted by "lifedate ASC" ("begins date" ascending)
       - ASLD: Sorted by "lifedate DESC" ("vbegins date" descending)
       - ASK: Sorted by "killdate ASC" ("ends date" ascending)
       - ASKD: Sorted by "killdate DESC" ("ends date" descending)
       - ASC: Sorted by "changedate ASC" ("change date" ascending)
       - ASCD: Sorted by "changedate DESC" ("change date" descending)
       - ASR: Sorted by "random"

       - AxxxP: Include priorize article value too.
         (e.g. ASP oder ASLDP ....)

    - Mode expansion:
      - Mode|Limit|Template: Output article maximum number or
        list template  (e.g.. ASL|3, ... , ASL|MyTemplate.tmpl, ...)
        E.g.:
        {SHOW_CONTENT:AS|OwnTemplate.tmpl, art-id, art-id, art-id}
        outputs the contents of the specified articles.
       {SHOW_CONTENT:AS|OwnTemplate.tmpl,{CURRENT_ARTICLEID}}
        returns the contents of the current article (Detail mode).
        The template is located in
        /template/inc_cntpart/articlesummary/list/..

5. {SHOW_CONTENT:CAS, cat-id, cat-id, cat-id}
    List of Article Summaries | id = id of structure level, comma separated.

 


URL:http://www.phpwcms-docu.de/index.php?id=80,36,0,0,1,0