Files
fsfe-website/tools/xsltsl/documentation-country-pages.txt
nicoulas b5875a4ed0 improved documentation for tagging (news, events) and country pages
svn path=/branches/design/; revision=19169
2011-01-13 10:33:35 +00:00

25 lines
789 B
Plaintext

= Implementing a country page =
Implementing a country page won't take you long. England and Germany
country pages are a good example of what and how you can achieve easily.
You could start by copying one of these pages, and change the countrycode
variable to your country code:
<xsl:variable name="country-code">xx</xsl:variable>
== Using the country-people-list template ==
- copy the call to the country-people-list template from your favorite
country page
- add the 'xx' tag to corresponding people in /about/people/people.en.xml
e.g. <person id="mueller" member="yes" teams="main, de">
== Fetch news, events ==
- to display news or events for your country, see "Using Tagging » Using the
fetch-news/fetch-events template" in tools/xsltsl/tagging-documentation.txt