Page 1 of 1

Extended options for media manager -> no title, no fun

Posted: Tue Jul 29, 2008 4:20 pm
by nick1785
hi,
i tried to insert a whole gallery in a post. without a post-title the imgaes ended up in the comments/posted-by box (at least in the preview). doesnt really bother me, but is still weird.

actually i couldnt get this plugin to work at first, because the path in

plugin_mediainsert.tpl

expects serendipity to be in root dir. maybe you could have an $installpath in main config and take it from there?

Re: Extended options for media manager -> no title, no fu

Posted: Tue Jul 29, 2008 4:38 pm
by garvinhicking
Hi!

You are right about the template file, it should work if you change

Code: Select all

src="/uploads/...
with

Code: Select all

src="{$serendipityHTTPPath}uploads/...
can you verify this?

Best regards,
Garvin

Posted: Tue Jul 29, 2008 5:02 pm
by nick1785
yes. works!