Kategorie: DirectAdminLinux

Calendar added to Roundcube and Elastic template

The following tutorial describes how to add a calendar plugin to Roundcube and its handling for the Elastic template.

First, we go to the tmp folder:

 cd /tmp

We download a calendar plugin:

 git clone https://git.kolab.org/diffusion/RPK/roundcubemail-plugins-kolab.git

We go to the plug-in directory of our roundcube, in the case of a server with directadmin panel it is a directory:

cd / var / www / html / roundcube / plugins

We move the plugin files from the tmp folder to our plugin directory

cp -r /tmp/roundcubemail-plugins-kolab/plugins/calendar .
cp -r /tmp/roundcubemail-plugins-kolab/plugins/libcalendaring .
cp -r /tmp/roundcubemail-plugins-kolab/plugins/libkolab .

We are correcting the plugin's configuration file:

 cd calendar/
 cp config.inc.php.dist config.inc.php

We create the plug-in database structure.

 cd ../../
 bin/initdb.sh --dir=plugins/calendar/drivers/database/SQL

Installing lessc on a Centos7 system looks like this. It is necessary for the plugin to work properly on the Elastic template.

yum install rubygems
yum install gcc-c++
yum install ruby-devel
gem install less
gem install therubyracer

We create a CSS calendar for the elastic template.

Being in the directory /var / www / html / roundcube /

issue the command:

lessc  -x plugins/libkolab/skins/elastic/libkolab.less > plugins/libkolab/skins/elastic/libkolab.min.css

The last step is to add a Plugin to the Roundcube configuration file.

edit file:

nano /var/www/html/roundcube/config/config.inc.php

And finally in the section:

// List of active plugins (in plugins/ directory)
$config['plugins'] = array(

We correspond

    'calendar',

My section looks like this:

// List of active plugins (in plugins/ directory)
$config['plugins'] = array(
    'managesieve',
    'password',
    'archive',
    'zipdownload',
    'calendar',
);

That's all, we have a fully working calendar 🙂

Linux

Zobacz komentarze

  • Thanks, it worked but giving an error in:

    lessc -x plugins/libkolab/skins/elastic/libkolab.less > plugins/libkolab/skins/elastic/libkolab.min.css

    Aborted (core dumped)

    Is is anything important? Thank you again for share it.

  • And you do, some solution for webclient to behave similar to gmail - I mean threading the message, tagged, not a categorization?

      • I checked once, but from what I can see now it still doesn't catch:
        - the threading is still outlook style; that is, it creates a message tree, rather than just displaying one message against another (ala forum) in the message view
        - you can add tags to your message, but it doesn't do anything with them. I can't look for them, filter etc. - someone had an idea but never finished it. Where it seems, that it was supposed to work. But it doesn't work. Because in the settings you can define a label and assign it an IMAP directory, but you can't connect it to the suborder somehow.

  • I just tried it on Ubuntu 20.04 and it works perfectly!!!! :D

    Thank you!!!!!

Udostępnij
Opublikowane przez
Linux

Recent posts

KeePass2 2.52 w Ubuntu 22.04

The guide below describes how to install KeePass on Ubuntu. Całość wykonamy za pomocą kilku poleceń

2 years temu

Installing Master PDF editor in Ubuntu 22.04

Master PDF Editor is a comprehensive PDF program, which includes many features. Oprócz tworzenia i edycji

2 years temu

iotop - memory monitoring

Iotop jest prostym narzędziem dla systemów Uniksowych umożliwiającym monitorowanie użycia dowolnego nośnika pamięci flash/hdd/ssd w

2 years temu

Run multiple commands in one cron job

You can separate two or more commands with semicolons (;), Semicolon (;): służy do oddzielania

2 years temu

Changing the exif data of a photo in the Linux terminal

Poniższy poradnik opisuje w jaki sposób za pomocą konsoli możemy dokonać edycji danych zdjęcia exif.

2 years temu

Installing Rocket.Chat Server on Rocky Linux 8

The following guide describes how to install Rocket.Chat on Rocky Linux 8 Całość bardzo prosto zainstalujemy

2 years temu