Differences

This shows you the differences between two versions of the page.

english:phpwcms-system:article:contentparts:news [2009/04/25 08:06]
127.0.0.1 external edit
english:phpwcms-system:article:contentparts:news [2018/06/03 18:09] (current)
Line 3: Line 3:
===== News ===== ===== News =====
-==== News template ====+[[http://forum.phpwcms.org/viewtopic.php?p=104366#p104366]]  (Ben)
-[[http://forum.phpwcms.org/viewtopic.php?p=104366#p104366]]  +[[http://forum.phpwcms.org/viewtopic.php?p=104391#p104391]]  (Markus)
-[[http://forum.phpwcms.org/viewtopic.php?p=104391#p104391]]+[[http://forum.phpwcms.org/viewtopic.php?p=117841#p117841]] (Oliver)
 +===== Short descrition =====
 +
 +Forum: [[http://forum.phpwcms.org/viewtopic.php?p=117841#p117841]]
 +
 +Autor: Oliver Georgi (2009/07/04)
 +
 +**Create news**
 +  - Open the article where you want to have the news block or use a "service" article that just holds the News content part
 +  - Create new content part "news"
 +  - Select template (you can also create a new one)
 +  - Keep in mind you can use tags and some special filters there too to limit choosen news
 +  - Think about a target article holding news content part in case you use systemwide* news block
 +  - Save
 +***)** Remember - you can use content parts in your template systemwide. So check the **ID** of the news content part and use {SHOW_CONTENT:CP,**ID**} in your template.
 +
 +{{:english:phpwcms-system:article:contentparts:news_2009-07-04_180741.png|}}
 +
 +{{:english:phpwcms-system:article:contentparts:news_2009-07-04_180814.png|}}
 +
 +\\
 +
 +==== News und Teaser TAG ====
 +
 +
 +Forum: [[http://forum.phpwcms.org/viewtopic.php?p=111617#p111617]]
 +
 +Autor: markus_s
 +
 +.{{:deutsch:phpwcms-system:artikel:contentparts:news_inhalt.jpg?250x300 }}
 +
 +
 +  * Create at **ARTICLES -> NEWS** (left in menu) some entries.
 +  * The most important thing is to enter a name in the range TAG/KEY WORD - e.g. the year **2008**
 +  * Then you enter a CP e.g. on the starting side news and fill it out .. -> here enter again the TAG/KEY WORD **2008** ...
 +  * If you have insert in entries "max. 2", only the first two entries are shown in fe.
 +  * Using the template option ##template/inc_cntpart/news/* ## you can change your layout.
 +(Please copy the master template from ##template/inc_default/news.tmpl## to ##template/inc_cntpart/news/my_news.tmpl##)
 +
 +  * If you enter a name in ##news article:##, it should be the ##article alias/article ID## of the article information, you will arrive to the detail content of the news by a click on a read more .... .
 +
 +You can check out Ben's Video as your starting point...
 +
 +Very important: take care to set up unique tags.
 +
 +\\
 +
 +
 +==== Special News template by Ben ====
 +
 +Forum: [[http://forum.phpwcms.org/viewtopic.php?p=104366#p104366]]
 +
 +Autor: Ben
I have been playing around with the news template. I have created a news listing and added some CSS if anyone would like to use it. I have been playing around with the news template. I have created a news listing and added some CSS if anyone would like to use it.
Line 169: Line 221:
 +\\
==== Video ==== ==== Video ====
-[[http://forum.phpwcms.org/viewtopic.php?p=105038#p105038]] 
 +Forum: [[http://forum.phpwcms.org/viewtopic.php?p=105038#p105038]]
-==== News und Teaser ====+Autor: Ben
 +\\
-FIXME translate 
-[[http://forum.phpwcms.org/viewtopic.php?p=111617#p111617]] 
- 
-.{{:deutsch:phpwcms-system:artikel:contentparts:news_inhalt.jpg?150x200 }} 
- 
-Erstelle unter ARTIKEL unter NEWS(links im mneu) einige Einträge.  
-Das wichtigste ist hier im Bereich TAG/SCHLAGWORT, einen Namen einzugeben - meinetwegen das Jahr 2008.  
-Dann gibst du auf der Startseite einen CP news ein und füllst in aus... -> hier wieder das TAG/SCHLAGWORT 2008 eingeben...  
-Wenn du unter Einträge max. 2 eingibst werden nur die ersten zwei Einträge angezeigt...  
-Mit dem Template kannst du dein Layout verändern. 
- 
-Wenn du unter NEWSARTIKEL: einen Namen eingibst, es sollte der name der Artikelinformation sein, dann gelangst du auf die gleiche Seite auf der alle news angezeigt werden... (it's kind of a forwarding to your content) 
-You can check out Ben's Video as your starting point... 
- 
-Very important: take care to set up unique tags. 
english/phpwcms-system/article/contentparts/news.1240639584.txt.gz · Last modified: 2018/06/03 18:07 (external edit)
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