Le Wed, 1 Jan 2014 01:38:59 +0100,
Christian Lohmaier <lohmaier+ooofuture@googlemail.com> a écrit :
Hi Charles, *,
On Sun, Dec 29, 2013 at 6:09 PM, Charles-H. Schulz
<charles.schulz@documentfoundation.org> wrote:
On Sat, Dec 28, 2013 at 5:03 PM, Sophie <gautier.sophie@gmail.com>
wrote:
[integrating Nabble]
And on the current website this is accomplished by using a special
"NabblePage" page type where you enter the ID of the forum to
display in the toplevel.
(as custom javascript is stripped from normal pages)
https://github.com/tdf/cms-themes/blob/master/libo/templates/Layout/NabblePage.ss
Thanks! Does it mean I need to create a "Virtual Page" or how would
this special page fit within SilverStripe?
No. currently is uses a dedicated "NabblePage" page type:
https://github.com/tdf/cms-code/blob/master/mysite/code/NabblePage.php
(and that in turn then uses the NabblePage.ss template)
The pagetype adds a new database-field that stores the Forum (aka
mailnglist) ID that should be displayed. and adds that to the backend.
Note that the struture of the backend has changed (no more various
tabs - so for applying that to the newdesign page, the function has to
be adjusted to add the form-field to the expected place).
I did pretty much what you explained and indeed I have the Nabble page
type and template created inside the CMS. I can access and create a
Nabble page, but when I do so the Create button will run in a loop, not
creating the page. Did I put the template and the page type in the
wrong place?
Best,
Charles.
ciao
Christian
--
Charles-H. Schulz
Co-founder, The Document Foundation,
Kurfürstendamm 188, 10707 Berlin
Gemeinnützige rechtsfähige Stiftung des bürgerlichen Rechts
Legal details: http://www.documentfoundation.org/imprint
Mobile Number: +33 (0)6 98 65 54 24.
--
To unsubscribe e-mail to: website+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/website/
All messages sent to this list will be publicly archived and cannot be deleted
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.