Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi *,

On Fri, Jan 21, 2011 at 11:03 PM, Alexandro Colorado <jza@openoffice.org> wrote:
I am curious how we have a form like the one under downloads from the
Silverstripe interface?

Not sure what you mean with form "under downloads" - if you mean the
download selection (OS/Variant and language, and the bittorrent
toggle), then this is something you cannot do from the interface, this
is parsing rsync output via php and adding a corresponding javascript
for the functionality.

(if you're curious - the far-from-being-nice (not making use of
silverstripe's datastructures, lots of spaghetti code/duplication that
creates the download page is here:
https://github.com/tdf/cms-code/blob/master/mysite/code/DownloadPage.php
the corresponding template that is used to generate the actual html
from the parsed data is
https://github.com/tdf/cms-themes/blob/master/libo/templates/Layout/DownloadPage.ss
)

If you want the download page in your subsite, like for example
http://sl.libreoffice.org/prenosi/ or
http://de.libreoffice.org/download/
Create a page of type "Download Page" - the download list will be
added below the content from the editor.

However, something like this:
http://de.libreoffice.org/anwender/mitmachen/
or this
http://fr.libreoffice.org/formulaire-de-contact/

can be done via the "User Defined Form" page-type.

If you need more elaborate functionality, then this probably would
involve some php code, but if it is of general interest/not too much
effort it can be added.

Just write what you have in mind and we can see how to implement/add it.

ciao
Christian

-- 
Unsubscribe instructions: E-mail to website+help@libreoffice.org
List archive: http://listarchives.libreoffice.org/www/website/
*** All posts to this list are publicly archived for eternity ***

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.