On Wed, 2010-02-24 at 11:10 +0100, Nils Breunese wrote: > Grégory Joseph wrote: > > >>> I'm using Magnolia Enterprise 4.2.3 and the enterprise commenting > >>> module. In edit mode I can enable commenting on a page, but I'd > >>> like commenting to be enabled automatically for certain > >>> templates. How would one accomplish that? > >> Should I conclude from the lack of responses to this question that > >> this is just not possible? > > > > Rather that noone had a ready-made answer at the time ;) I'd have to > > dig through the code, which I don't have right here&now, to figure it > > out. > > Me and a colleague had a look, but we couldn't figure out how to do > this. If you or a colleague could look into this, that would be great. > We plan on going live with this site pretty soon and we would like > commenting to be enabled by default on certain pages.
Commenting is just a paragraph like any other paragraph. It is defined in /templating-kit/templates/content/mainArea.ftl to ensure that it is always added at the end of the list of paragraphs. The paragraph data itself are stored in the page directly, rather then in any areas. So for your pages where you want to enable it by default, just autocreate this paragraph while creating the page. I might be missing something you are strugling with, if so, could you please clarify what the problem is? HTH, Jan > > Nils. > > De informatie vervat in deze e-mail en meegezonden bijlagen is uitsluitend > bedoeld voor gebruik door de geadresseerde en kan vertrouwelijke informatie > bevatten. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking > van deze informatie aan derden is voorbehouden aan geadresseerde. De VPRO > staat niet in voor de juiste en volledige overbrenging van de inhoud van een > verzonden e-mail, noch voor tijdige ontvangst daarvan. > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
