This latest version has a different multiselectfield! If you have the old multiselectfield, manually delete it and then run composer update.
This new field is prettier and a bit more userfriendly.
Apologies for any inconvenience.
Not as far as I'm concerned. There are by now modules that do a way better job and are better maintained.
Help translate via Transifex
This is the Silverstripe 3 Newsmodule. It's separate from the SiteTree.
Mainly to keep the SiteTree uncluttered.
If you expect to have a few hundred articles (like I do), your SiteTree becomes very unreadable. That's why I chose to make an alternative, using ModelAdmin.
It works. Pretty much. Has some missing features. Please read my comments on the functions and such. It should make everything clear.
If you encounter any problems with the Master, please let me know! I can't bugfix without a ticket!
If you use the development-branch, be aware that this is my untested area and therefor might contain bugs or just plain ruin your site with errors.
Ow, and the default template is based on HTML5 features and my own website. Functional frontend demo can also be found on my website. Casa Laguna
Strange code and undocumented features are probably due to my cat sleeping on the keyboard.
I strongly advice to read my inline comments. I've worked hard to make them both functional as funny. Feedback appreciated. And keep an eye on my issues, those are issues I want to fix or features I want to add. Feel free to add suggestions!
This project is always in development. I will always add features or fix bugs. Although it is always in development, I won't leave a bugged out version here. It always works. All new features or fixes are backwards compatible unless stated in the commit-message.
github[at]casa-laguna[dot]net
SphereSilver
E-mail me your twitter contact if you added something and like to be mentioned!
Yes, works fine.
Note on which version of translatable, CMS and Framework you use! They might not be compatible.
(Indeed, that second bullet means it only lacks history, nothing else :P )
If you don't have a github account, just download:
www.example.com/dev/build?flush=all
to rebuild the manifest and database.
A default page will be created if possible.The advised option is to clone the repo into your site-root:
git clone https://github.com/Firesphere/silverstripe-newsmodule.git
. www.example.com/dev/build?flush=all
to rebuild the manifest and database.
A default page will be created if possible.
This method will make sure you can always pull the latest updates from the upstream, thus, keeping you up-to-date with the latest features!Or use Composer:
composer require firesphere/silverstripe-newsmodule:dev-master
www.example.com/dev/build?flush=all
to rebuild the manifest and database.I would like it if you forked and cloned if you want to help out improving this module!
git clone https://{your username}@github.com/{your username}/silverstripe-newsmodule.git
. www.example.com/dev/build?flush=all
to rebuild the manifest and database.
A default page will be created if possible.
This method is only if you know how git works and know how to add upstreams etc. to contribute.Note, forking is NOT REQUIRED, only handy if you want to help out.
.Parse(BBCodeParser)
To the items you want parsed. To enable smilies, in your config, set BBCodeParser::enable_smilies() (If I'm not mistaken)As of version 2.0, multiple developers have contributed. Many thanks to them! Also, translators, thank you a lot!
To include reCaptcha as anti-spam method, alter the NewsHolderPage on line 399. Change that one line to these three:
$form = (CommentForm::create($this, 'CommentForm', $siteconfig, $params));
$protector = SpamProtectorManager::update_form($form, 'Message');
return $form;
"The cow, what do you think of it?"
This module is published under BSD 2-clause license, although these are not in the actual classes, the license does apply:
http://www.opensource.org/licenses/BSD-2-Clause
Copyright (c) 2012-NOW(), Simon "Sphere" Erkelens
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
(I shouldn't scream, should I? This is copy-paste from BSD-2 license...)
Pictured below is a cow, just for you.
/( ,,,,, )\
_\,;;;;;;;,/_
.-"; ;;;;;;;;; ;"-.
'.__/`_ / \ _`\__.'
| (')| |(') |
| .--' '--. |
|/ o o \|
| |
/ \ _..=.._ / \
/:. '._____.' \
;::' / \ .;
| _|_ _|_ ::|
.-| '==o==' '|-.
/ | . / \ | \
| | ::| | | .|
| ( ') (. )::|
|: | |; U U ;|:: | `|
|' | | \ U U / |' | |
##V| |_/`"""`\_| |V##
##V## ##V##