Roundcube Community Forum

 

jQuery Fullcalendar plugin (forked by rosali)

Started by horfic, March 07, 2010, 07:39:25 PM

Previous topic - Next topic

rosali

It is in calendar localization:

$labels['all-day'] = 'all-day';
Regards,
Rosali

Davidegb

OK

Then it seems the problem is that every first letter in the phrase is capitalized.

all-day is being transformed in "All-day", and that's ok

But spanish translation, "todo el día" is being transformated in "Todo El Día".

Using capitals inside a phrase is incorrect in spanish.

Could it be corrected so only first letter is capitalized?


Thank you!

hostu

New to roundcube and its working great, trying my first plugin and the learning pains are getting to these old bones, here is what i done, let me know what else i need to do, and any help is greatly appricated ! any and all helpful comments welcome.

install calendar and jqueryui  plungins in the plugin directory
renamed the default conf files to config.inc.php for both

not sure i should change anything or what in the config.inc.phg files ?

added plugins to main config file, see below

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

when in roudcube and click the calendar icon i'am getting

jqueryui plugin is not installed. Get it here

i have looked at everything (i think) but like i said these old bones is getting tired..

dshepherd

Your plugins array is declared incorrectly. For your plugins listed above, it should be as follows:

$rcmail_config['plugins'] = array('password', 'jqueryui', 'archive', 'calendar');

hostu

Quote from: dshepherd;32800Your plugins array is declared incorrectly. For your plugins listed above, it should be as follows:

$rcmail_config['plugins'] = array('password', 'jqueryui', 'archive', 'calendar');

now i'am getting soemwhere, i know this may sound a little silly, but what password is this asking for, maybe if i could be pointed to where the info you gave me could be found i would not post here until i knew what i was posting about . :)  

thanks

chuck

hostu

well at least i now can see the calendar, but the same one for whoever logs in ,  there are a number of events already in this month etc., cant delete , and when i add and save it doesn't show up.. i know this just needs tweaking but simple instructions have eluded me if they exist, help or more comments more than welcome.... :)

chuck

christianpatrick

I enabled PHP logging and came up with this error:

PHP Fatal error:  Call to undefined method rcube_template::include_css() in {roundcubedirectory}/program/include/rcube_plugin_api.php on line 406

Thanks for any help.

rosali

Which Roundcube version do you use? It looks like you are using an outdated version.
Regards,
Rosali

christianpatrick

I actually use 0.5 stable on a CentOS 5 server with Plesk

chutz

#234
Hi, I am using a PostgreSQL backend for Roundcube, and when I upgrade to the latest version of the calendar plugin, I get these errors in my apache error log (when opening the Calendar page):

Quote[Wed Feb 09 16:32:08 2011] [error] [client X] MDB2 Error: unknown error (-1): _doQuery: [Error message: Could not execute statement]\n[Last executed query: SELECT currval('events')]\n[Native message: ERROR:  "events" is not a sequence]\n, referer:
[Wed Feb 09 16:32:08 2011] [error] [client X] MDB2 Error: unknown error (-1): _doQuery: [Error message: Could not execute statement]\n[Last executed query: SELECT currval('events')]\n[Native message: ERROR:  "events" is not a sequence]\n, referer:
[Wed Feb 09 16:32:08 2011] [error] [client X] MDB2 Error: unknown error (-1): _doQuery: [Error message: Could not execute statement]\n[Last executed query: SELECT currval('events')]\n[Native message: ERROR:  "events" is not a sequence]\n, referer:
[Wed Feb 09 16:32:08 2011] [error] [client X] MDB2 Error: unknown error (-1): _doQuery: [Error message: Could not execute statement]\n[Last executed query: SELECT currval('events')]\n[Native message: ERROR:  "events" is not a sequence]\n, referer:

If I add this to my roundcube db.inc.php:
Quote$rcmail_config['db_sequence_events'] = 'events_event_id_seq';

The error changes to this:
Quote[Wed Feb 09 16:56:27 2011] [error] [client x] MDB2 Error: unknown error (-1): _doQuery: [Error message: Could not execute statement]\n[Last executed query: SELECT currval('events_event_id_seq')]\n[Native message: ERROR:  currval of sequence "events_event_id_seq" is not yet defined in this session]\n, referer:
[Wed Feb 09 16:56:27 2011] [error] [client x] MDB2 Error: unknown error (-1): _doQuery: [Error message: Could not execute statement]\n[Last executed query: SELECT currval('events_event_id_seq')]\n[Native message: ERROR:  currval of sequence "events_event_id_seq" is not yet defined in this session]\n, referer:
[Wed Feb 09 16:56:27 2011] [error] [client x] MDB2 Error: unknown error (-1): _doQuery: [Error message: Could not execute statement]\n[Last executed query: SELECT currval('events_event_id_seq')]\n[Native message: ERROR:  currval of sequence "events_event_id_seq" is not yet defined in this session]\n, referer:

I am going to use the old version I was using for now, but it appears that the new "stable" version of the calendar is currently broke with a postgres backend.

rosali

Did you create and configure the new 'events_cache' table?
Regards,
Rosali

chutz

Yes, I created it and added the extra "client" field to my events table. I even tried (on a backup) dropping the events and events_cache tables and re-adding them with the provided SQL script.

The error messages do not appear to be related to events_cache, they all appear to be related exclusively to the events table.

rosali

Unfortunately I don't have PostgreSQL. Is there a chance to get remote access to your server?
Regards,
Rosali

chutz

Quote from: rosali;33105Unfortunately I don't have PostgreSQL. Is there a chance to get remote access to your server?

Unfortunately there no way I can give external access to our email server. I could certainly help set up PostgreSQL somewhere, and do testing of possible fixes.

rosali

I found the problem. Wait for next release.
Regards,
Rosali