Updated to reflect reality
svn path=/trunk/; revision=33361
This commit is contained in:
parent
adc84a7f0b
commit
f9c4538f36
|
@ -39,23 +39,7 @@
|
|||
<h2>Select which banner to display</h2>
|
||||
|
||||
<p>
|
||||
For banners showing up on the <a href="/">frontpage of fsfe.org</a>, you need to edit <code>index.xsl</code>. Look for:
|
||||
</p>
|
||||
|
||||
<pre><code>
|
||||
<xsl:template match="campaigns">
|
||||
</code></pre>
|
||||
|
||||
<p>
|
||||
Then add the campaign’s identifier at the end of this xsl code:
|
||||
</p>
|
||||
|
||||
<pre><code>
|
||||
<xsl:for-each select="/buildinfo/textsetbackup/campaigns/campaign[@id='present-campaign-id' <strong>or @id='new-campaign-id'</strong>]">
|
||||
</code></pre>
|
||||
|
||||
<p>
|
||||
If you need help with XSL please ask the <a href="/contribute/web/web.html">web team</a>.
|
||||
For banners showing up on the <a href="/">frontpage of fsfe.org</a>, you should set <code>running="yes"</code> in the campaign file. The <code>index.xsl</code> loops around and includes all campaigns set as running.
|
||||
</p>
|
||||
|
||||
<h2>Style the campaign banner</h2>
|
||||
|
|
Loading…
Reference in New Issue