Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - znitz

Pages: [1]
1
Feng Office 3 / Re: How to delete user group?
« on: February 12, 2015, 06:04:15 pm »
I did some more "wild-n-crazy", I added a button so you can delete the group when you access it.

It's small patch in the file "FENG_ROOT/application/views/group/add.php line 21 (-isch)

Added these lines, and then when you manage the group you will have a delete button in the top
Quote

<?php
        if (!$group->isNew())   add_page_action(lang('delete'), "javascript:if(confirm('".lang('confirm delete permanently', array_var($group_data, 'name'))."')) og.openLink('".get_url('group', 'delete', array('id' => $group->getId(),'start' => true))."');", 'ico-delete', null, null, TRUE);
?>

There will be an error telling you that the group is gone... but for me it is ok until Feng office has better solution

- Cheers

2
Feng Office 3 / Re: How to delete user group?
« on: February 12, 2015, 12:49:18 pm »
After some testings...

As a workaround, until development team solves it:

If you rightclick on the group you can copy the link to the group you want to remove
Now open a new tab in the browser, paste the link **before hitting enter** change the "a=edit" in the link to "a=delete"

Now you will get an errorpage, but if you look bit down in the text you can actually see that the group was removed
After this you can close this extra tab in the browser

One funny thing: If you now click on the group you just deleted, you will get information that the group does not exists, and then (in my case) you will see the old Group managing page...


I guess there is some kind of link/setting that is wrong in the new FO 3.x :)


3
Feng Office 3 / Re: 3.0.5 German translation
« on: February 12, 2015, 11:03:39 am »
Well there is one inside FO.
You can reach it from "your feng.office.something.site"  and then add "/public/tools/"
Here you can select "translate"

Now you select your language, German in your case (de_de)

Good luck :)


4
Feng Office 3 / Re: How to delete user group?
« on: February 12, 2015, 10:36:01 am »
Hi,

I also saw this.

I tried (as a workaround) to clear the name of a group.
This did not work, I ended up with an group without a name...

It feels like an obvious function to have, earlier version
did have this feature, both version 1.x and version 2.x


5
Installation problems / Re: Upgrading successfully from 1.7.5 to 2.6.1
« on: January 14, 2015, 09:35:25 am »
Thanks Juhani!

The script change worked!

However I get a lot of strange errors in the log, most errors are about compress files issues.
Like this one:
#109 ERROR: Error: gzuncompress(): data error in '/feng/feng/application/functions.php' on line 1445 (error code: 2)


btw, Juhani if you ever goto South of Sweden, let me buy you a beer :)


BR
Znitz

6
Installation problems / Re: Upgrading successfully from 1.7.5 to 2.6.1
« on: January 14, 2015, 06:16:36 am »
Hi Juhani,

Maybe a bit late to ask in this thread but..

Your post was of great help regarding the problem between version 2.5.1.5 and 2.6.1 (your step 2)

And now I'm stuck with the same error FATAL: exception 'Exception' with message 'You must choose at least one member of Workspaces, tags.'

How exactly did you do? I have tried but failed. Which tables did you look into, and what change did you do in complete_migration.php to solve this?


EDIT: Sorry missed the included file, will try your fix asap.

BR
Znitz

7
Ideas / sub workspace tree when creating a new workspace
« on: June 03, 2014, 04:06:34 am »
Hi,

Im looking into the possibility to create a subtree of workspaces.

We are often (almost always) creating a workspace structure when we create a new project.
And each time we want the users to create the very same structure, so when users goto any
project it will look the same for them.

I think it would be possible, if one could have an option like "create predefined sub workspace tree".
And maybe a plugin to create the list of sub workspace tree.

Anyone with suggestions?

8
Ideas / combined email notifications
« on: May 26, 2014, 08:04:18 am »
Hi,

In our Feng Office installation, we update several files regulary, this can become a problem,
because each file will initiate an email notification, and if you update, let say 20-30 files, the users
will get 20-30 emails each.

Is there a way to make FO only send one notification for all collected changes?
If you already use cron to send emails, then this should be possible.
(I understand that if you send notifications directly when a file changes it will not work)

I have looked into cron_functions.php and Notifier Class. For me it looks like it is (today) designed
to send emails to all subscribers per file, and not send emails per subscriber containing all changes since last check.

What do you think, is this a good function to implement?

BR
Znitz

9
How To's / problem working with themes (copy 'default' to 'my_theme'
« on: April 04, 2014, 05:23:35 am »
Hi,

Im new here, but have used FO for a while.
Today I created a copy of the default theme (located fenginstalldir/public/assets/themes)
The installation is a new instance, with one WS and two users, FO version is 2.5.1.2

It was a surprice to me that it was not that simple (to make a copy of a theme)
The default theme uses the name inside several files, for example : "default/extjs/css/ext-all.css
This I can handle and change to my new theme name (in my case: my_theme)

But, then there are several other places where default is called as well..(instead of my new theme)
Here:       public/assets/javascript/og/CalendarPrint.js
Or here:  application/widgets/people/template.php


Anyway I did the copy, changed all places in theme folder.
Went into the FO choosed administration->change theme to my_theme.

Now everything was garbled and impossible to read.
The only way to step back was to restore the database, apparantly themes are stored in the DB...

Im not sure what I have missed, I mean, other threads regarding themes said "oh, just make a copy of the default theme and you are set go to...", well it was not that simple for me...

I did a 'diff -r -q feng_after_change feng_with_new_theme'
Only diff was the new theme folder

Then I did a 'diff -r -q themes/default themes/my_theme'
And only changes was the theme name

I don't know what to do as a next step.
Please come with some advice

Thanks,

Pages: [1]