Code Monkey home page Code Monkey logo

civicrm-community-messages's Introduction

CiviCRM Community Messages

CiviCRM includes a few places in the user-interface that display blurbs or messages from civicrm.org. This backend application hosts those messages. It's based on Symfony Standard Edition (~2.2).

Content authors see: Editing and updating messages

Installation (Buildkit)

If you've already configured buildkit, then:

## Add hostname, e.g. "127.0.0.1 messages.local"
$ vi /etc/hosts

## Download and install
$ civibuild create messages --url http://messages.local

## Restart Apache

Installation (Manual)

git clone https://github.com/civicrm/civicrm-community-messages.git
cd civicrm-community-messages
cp app/config/parameters.yml.dist app/config/parameters.yml
vi app/config/parameters.yml
composer install
./app/console doctrine:schema:create

Then setup your http server (per preference).

Configuration (CiviCRM)

By default, CiviCRM pulls messages from https://alert.civicrm.org. To display messages from your own installation, put this in civicrm.settings.php:

$civicrm_setting['CiviCRM Preferences']['communityMessagesUrl']
 = 'http://messages.local/alert?prot=1&ver={ver}&uf={uf}&sid={sid}&lang={lang}&co={co}';

Troubleshooting

504 Gateway Timeout

Check the error log on www-prod:

tail -f /var/log/nginx/alert.error.log

Try clearing the symphony app cache:

sudo -i -u commsg
cd /var/www/alert.civicrm.org/app
./console cache:clear -e prod

civicrm-community-messages's People

Contributors

colemanw avatar michaelmcandrew avatar mlutfy avatar nganivet avatar sunilpawar avatar totten avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.