Sto provando collective.xdv su Plone 4.
L'installazione è andata a buon fine, il problema è che non riesco a farlo
funzionare.

Ho seguito una guida molto semplice, al termine della quale sarebbe dovuto
succedere qualcosa ma non succede nulla ;-)

http://plone.org/products/collective.xdv/documentation/reference-manual/theming/quick-start/activating-xdv


Ecco in breve:
* ho creato i file themes/theme.html e themes/rules.xml
* In Site Setup >> XDV theme settings ho messo la spunta a Enabled e ho
inserito i percorsi relativi all'istanza: themes/theme.html e
themes/rules.xml

A questo punto secondo la guida andando nella Home dovrebbe cambiare aspetto
e contenuto della pagina. E invece niente.

Ecco i file.

theme.html
========
<html>
<head>
  <title>xdv example</title>
</head>
<body>

  <h1>The simplest possible example of xdv transforms</h1>
  <p id="my-content">This body text will be replaced.</p>

</body>
</html>



rules.xml
=======
<rules xmlns="http://openplans.org/deliverance";>

    <!-- Copy over the contents of the page body -->
    <replace content='//*...@id="content"]'
               theme='//*...@id="my-content"]' />

</rules>


Credo e spero che sia una mia enorme svista.
(o magari quella guida va bene solo per Plone 3?)

Consigli?

Grazie,
Federico
_______________________________________________
Plone-IT mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/plone-it
http://www.nabble.com/Plone---Italy-f21728.html

Rispondere a