Le Thu, 2 Jan 2014 18:22:57 +0100, "Charles-H. Schulz" <[email protected]> a écrit :
> Le Wed, 1 Jan 2014 01:38:59 +0100, > Christian Lohmaier <[email protected]> a écrit : > > > Hi Charles, *, > > > > On Sun, Dec 29, 2013 at 6:09 PM, Charles-H. Schulz > > <[email protected]> wrote: > > >> On Sat, Dec 28, 2013 at 5:03 PM, Sophie > > >> <[email protected]> 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? Update: the Nabble page has actually been created (log back in after a while and it was there). But at this stage, I am not exactly sure what it's loading as it appears to be churning in the void and does not display an actual forum (yet something is working in order to display a forum). There's a forum number ID that seems to be ours, shall I try with another one? best, Charles. > > 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: [email protected] 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
