Benutzer-Werkzeuge

Webseiten-Werkzeuge


en:webedition:beginners-guide:listviews

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen gezeigt.

Link zu dieser Vergleichsansicht

Nächste Überarbeitung
Vorhergehende Überarbeitung
en:webedition:beginners-guide:listviews [2019/02/08 12:35]
Rudolf Horbas angelegt
en:webedition:beginners-guide:listviews [2019/02/09 22:26]
Sascha Nemecek
Zeile 1: Zeile 1:
 ===== Listing Documents (we:​listview) ===== ===== Listing Documents (we:​listview) =====
  
-This shows 10 page-headings,​ teasers and images (if used), ordered by publication date descending. If there are more than 10 results, a link is shown to go to the next 10 results:+The following example displays ​10 page-headings,​ teasers and images (if used), ordered by publication date descending. If there are more than 10 results, a link is shown to go to the next 10 results:
  
 //​Listview//​ //​Listview//​
- +<​code ​html>
-<​code>​+
  
 <ul> <ul>
Zeile 29: Zeile 28:
  
 Look at the field-tag and it's name attribute: Look at the field-tag and it's name attribute:
-<​code><​we:​field name="​headline"​ alt="​we_title"​ hyperlink="​true"/></​code>​+<​code ​html><​we:​field name="​headline"​ alt="​we_title"​ hyperlink="​true"/></​code>​
  
 The template only reads headlines of documents that contain the tag: The template only reads headlines of documents that contain the tag:
-<​code><​we:​input name="​headline"​ .../></​code>​+<​code ​html><​we:​input name="​headline"​ .../></​code>​
  
-So be consistent with naming ​Your document contents, if You want to list documents with more than one template!+So be consistent with naming ​your document contents, if you want to list documents with more than one template!
 Get used to a system like: Get used to a system like:
   * headline   * headline
Zeile 44: Zeile 43:
  
 **Do:** **Do:**
-<​code>​+<​code ​html>
 <!-- all small caps, spaces are underscores for legibility and compatibility --> <!-- all small caps, spaces are underscores for legibility and compatibility -->
 <​we:​input name="​city_or_country"​ type="​text"/>​ <​we:​input name="​city_or_country"​ type="​text"/>​
Zeile 52: Zeile 51:
  
 **Don'​t:​** **Don'​t:​**
-<​code>​+<​code ​html>
 <!-- You won't remember the exact name and maybe try CityOrCountry?​ --> <!-- You won't remember the exact name and maybe try CityOrCountry?​ -->
 <​we:​input name="​Cityorcountry"​ type="​text"/>​ <​we:​input name="​Cityorcountry"​ type="​text"/>​
en/webedition/beginners-guide/listviews.txt · Zuletzt geändert: 2019/02/09 22:26 von Sascha Nemecek

Recent changes RSS feed