Search found 34 matches

by bebr
Tue Sep 11, 2007 2:38 pm
Forum: Installation
Topic: TinyMCE works - but functions do not open correct windows
Replies: 8
Views: 5362

I was offline for some weeks .. thanks, that sounds like the solution I was looking for. Now for installing your modification - maybe I'm a bit stupid, but I only find the discussion link. I have no "shared installation" and I don't bother hacking my code directly, but I'm not proficient w...
by bebr
Wed Aug 01, 2007 2:39 am
Forum: Bugs
Topic: User Administration fails with PHP error
Replies: 6
Views: 4080

Options logic

After some debugging I found the cause for the error is not a databases inconsistency i.e. corrupted content. Actually I had changed (and did not consider it meaningful) the allowed actions for the usergroups: For 'CHIEF' these three options were de-selected: adminUsersMaintainOthers adminUsersMaint...
by bebr
Mon Jul 30, 2007 9:25 pm
Forum: Bugs
Topic: User Administration fails with PHP error
Replies: 6
Views: 4080

Going into "install mode" is not so different from reinstalling and thus not an option. sy_authors is fine, and deleting or updating it will increase the inconsistencies with references from other tables. These references are IMHO the core of the challenge here, I assume some other table o...
by bebr
Mon Jul 30, 2007 8:42 pm
Forum: Bugs
Topic: User Administration fails with PHP error
Replies: 6
Views: 4080

I have been searching before, and now again, to find the table prefix in the admin section - it's not there; running here is 1.1.2 But I have a good guess which of the two is the current one - and will remove the old (serendipity_*) ones after the backup. Ok .. done .. and blog works. But, as expect...
by bebr
Mon Jul 30, 2007 1:54 pm
Forum: Bugs
Topic: User Administration fails with PHP error
Replies: 6
Views: 4080

User Administration fails with PHP error

Hello, when I click in "Benutzerverwaltung" (user administration) : serendipity_admin.php?serendipity[adminModule]=users .. produces a php error: Warning: Invalid argument supplied for foreach() in /var/www/apkk/us/include/admin/users.inc.php on line 188 As I understand from looking into t...
by bebr
Sun Jul 29, 2007 1:07 pm
Forum: Installation
Topic: Image path expected to change with category
Replies: 8
Views: 5069

Found something better than a hack, more like a solution: http://wiki.moxiecode.com/index.php/TinyMCE:Configuration/convert_urls Setting this to 'false' in plugins/serendipity_event_tinymce/serendipity_event_tinymce.php stops tinyMCE from "being clever" and converting absolute URLs. Now af...
by bebr
Sat Jul 28, 2007 11:21 pm
Forum: Installation
Topic: Image path expected to change with category
Replies: 8
Views: 5069

You know that tinyMCE is not "my" editor :wink: Found no hints on relative image URLs in tinymce docs .. so far. So then I spent some time trying to get FCKeditor to work with a) user defined styles from templates/mytmpl/style.css b) images from the /uploads (or another chosen) folder and ...
by bebr
Sat Jul 28, 2007 6:14 pm
Forum: Installation
Topic: Image path expected to change with category
Replies: 8
Views: 5069

Here is a solution:
sy-home> mkdir categs
sy-home> cd categs
sy-home/categs> ln -s ../uploads/ uploads

Rather a hack, but it does the job for the moment.
by bebr
Sat Jul 28, 2007 3:23 pm
Forum: Installation
Topic: Image path expected to change with category
Replies: 8
Views: 5069

Ok, if one enters an absolute URL into the "image URL" field (that pops up in tinyMCE) it gets translated and inserted in the entry's HTML as a relative URL.

Haven't found a hint in the tinyMCE documentation wiki on how to change this behaviour.
by bebr
Sat Jul 28, 2007 2:49 pm
Forum: Installation
Topic: Image path expected to change with category
Replies: 8
Views: 5069

The workflow is: 1. Visitor views the blog homepage with two articles -> picture is there. 2. Clicks on the first entry title -> entry appears alone -> picture is there. 3. Clicks on the category the entry is assigned to -> entry appears -> picture disappears (title text is shown). (The same happens...
by bebr
Fri Jul 27, 2007 11:52 pm
Forum: Installation
Topic: TinyMCE works - but functions do not open correct windows
Replies: 8
Views: 5362

Ok, hope someone can do this.
Maybe some time we see a default editor that can do both - use the user's styles (that was the reason why I installed tinyMCE at all) _and_ integrate the media manager.
by bebr
Fri Jul 27, 2007 11:48 pm
Forum: Installation
Topic: Image path expected to change with category
Replies: 8
Views: 5069

Image path expected to change with category

An image was uploaded to mydomain.de/us/uploads/image.jpg and inserted in an entry - and shows up fine in the blog. Then I assigned the entry to an existing category - and the image disappears. - The reason is that its URL now points to mydomain.de/us/categs/uploads/image.jpg So it seems "categ...
by bebr
Fri Jul 27, 2007 10:42 pm
Forum: Installation
Topic: TinyMCE works - but functions do not open correct windows
Replies: 8
Views: 5362

Ok, understood.
And the problem will be not only to start the mediamanager but to adapt the Javascript Code so that a chosen image is inserted correctly.
Unfortunately, my JS knowledge is insufficient for this.
by bebr
Fri Jul 27, 2007 2:58 am
Forum: Installation
Topic: TinyMCE works - but functions do not open correct windows
Replies: 8
Views: 5362

Ok, and mediamanager?

This does it - great!

Now I get a form for the URL of the image to be inserted, and it works.

It would be fine though to see a list or thumbnails of images from mediamanager - I understood that was the idea of it?
by bebr
Thu Jul 26, 2007 1:13 am
Forum: Installation
Topic: TinyMCE works - but functions do not open correct windows
Replies: 8
Views: 5362

TinyMCE works - but functions do not open correct windows

On my SY 1.1.2 I installed the tinyMCE editor plugin. It works, I can use the styles from the menu, change the fonts etc. What does _not_ work is any function that is meant to open a popup/window for further input - for example inserting an image: javascript:tinyMCE.execInstanceCommand('mce_editor_0...