Download the PHP package nlybe/elgg-news without Composer

On this page you can find all versions of the php package nlybe/elgg-news. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package elgg-news

Elgg News Plugin

Elgg 5.0

Elgg plugin for posting news and announcements by administrators, group owners or news staff.

Features

This plugin offers administrators the following options:

As an example of "adding other Elgg entities as news items", if there is blog post by any user, administrator can add this as news post. So it will be displayed in list of news but if users click on this item, will redirected to original blog post. The same action could apply to any post like pages, bookmarks, videos etc.

Also administrator can allow to group owners for posting new/announcements inside the group only.

Summarizing permissions, the following options are available:

Who can post site news

Who can set/unset site news as featured

Who can post group news (if enabled in settings)

Who can set/unset group news as featured (if enabled in settings)

How to use a customizable news list view

If need to have a different view for listing news, e.g. in a custom front page, you could use the following code:

You can see an example about how to use this view at elgg-news/views/default/resources/elgg-news/custom_list_view.php. This sample view will be accessible at http://www.YOURCOMMUNITYURL.com/news/custom_list.

Especially about photo sizes, you can use any of the predefined photo size, which are:

Or you can set a custom photo size (width and height) in plugin settings, so for each photo upload on news item, it will be saved in this size too.

How to change the default icon

Site administrators can select the icons to use for default news icon in plugin settings.

If need to add a custom icon, just uploaded it to folders mod/elgg-news/graphics/icons for default news icon. All file uploads will be available for selection in plugin settings.


All versions of elgg-news with dependencies

PHP Build Version
Package Version
Requires composer/installers Version >=1.0.8
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package nlybe/elgg-news contains the following files

Loading the files please wait ....