Search

@Doug: Can you please post the HTML of one of the affected item? Thanks!

@Doug: Can you please post the HTML of one of the affected item? Thanks!

Generated HTML is:

<li class="image preview" value="7">
    <span class="handle"></span>
    <img width="40" height="40" src="http://symphonytest.designbyadmiral.com/image/2/40/40/5/uploads/rocks-1268163890.jpg" class="handle">
    <span><strong>"Rocks"</strong> &mdash; An 800 by 500 pixel image containing gray rocks. This image was taken from Snow Leopard's default wallpaper pack.</span>
    <a class="destructor">Remove Item</a>
</li>

I’m not sure if this is related to your problem, but there was a change missing in my latest commit which changed the caption output: http://github.com/nilshoerrmann/subsectionmanager/commit/755f056040ff2ad80a3cf588abe6ef4834b81227

And there is an update for the draggable plugin, too, which makes it possible to drag item out of the list (dropping is still missing).

I’ve downloaded all the latests. It hasn’t fixed my errors. Also, I can’t drag items out.

I’ve tried uninstalling and reinstalling the plugin and making sure my cache is clear but still no go.

Doug, something was wrong with my Git install - I pushed some changes that will hopefully fix the problem.

Hi Nils,

I noticed a little bug where the browser scrollbar disappeared when clicking on the mediathek (2.0.5). Somehow it assigned a new height to the main body>form element which was to low for the scrollbar to whow.

This bit solved it in the mediathek.js after line 135, but I’m pretty sure it isn’t the best solution ;)

var orgHeight = $(“body>form”).height();

list.click(function(){ $(“body>form”).css({height:orgHeight}); });

Somehow it assigned a new height to the main body>form element which was to low for the scrollbar to whow.

This is the body of the parent section we are talking about (the one which contains the Mediathek field, not the related section with the Mediathek items), is it?

It’s the main form element containing all the section’s ui elements, so not sure it’s the same thing.

Hm, I don’t think that the Mediathek field ever changes the height of the form besides for the iframe that it used for creating new items. Can you give me a step by step guide to reproduce this behaviour? Thanks!

And can you please check if your body has any classes assigned?

It happens whenever you click on an item in the mediathek, whether is is expanded or not. It seems to be a toggle effect, changing and resetting the form height after each alternate click.

The body class hasn’t got any classes assigned to it. The height seems to change from 160px (first click) to 897px (second click), they do not seem to change when resizing the browser.

Other custom extensions in the section are the CKEditor and Calendar Overlay which do not seem to cause any problems (tried it without them).

And the Mediathek is in the sidebar if it matters :)

I cannot reproduce this behaviour (but I’m not sure if I fully understood the phenomenon you are describing). Can you post a screenshot please?

Are you using Symphony 2.0.7?

This is the shot after the first click, you can see the new height on the form element. I’m using 2.0.6

The error you see has to do with the CKEditor, but isn’t related.

Attachments:
Symphony – Works – Project 2.png

This seems to be a compatibility issues between Symphony 2.0.6 and the latest Mediathek version which may be a result of the different jQuery versions available in Symphony 2.0.6 and 2.0.7.

Anybody else experiencing this problem?

I downloaded the latest Subsection Manger (and extra bits) from GitHub and everything seems to be working great now, save the dropping feature for text boxes and such.

In Firefox I’m getting a JS error, but it doesn’t seem to really be effecting how it works:

Error: item.offset() is null
Source File: http://symphonytest.designbyadmiral.com/extensions/subsectionmanager/lib/draggable/symphony.draggable.js
Line: 69

Also, sometimes in Chrome I get this situations where two separate entries will be highlighted (the hover style) and I won’t be able to edit or move any entries until I’ve moved my mouse over both entries. I’m not sure what I’m doing to make this happen so I can’t say how to recreate but I have managed to do it a few times on accident so I’ll keep poking around.

Hey Doug, thanks for all the testing. I think all the bugs you mentioned should be fixed in my local repository. The Subsection Manager now allows item dropping (as Mediathek does) and it’s possible to disable previews in the section settings. I’m currently implementing an automatically generated default caption. After that I’ll push all my changes to GitHub.

Looking through my logs for an install and line 93 of the content.caption.php file is throwing a wobbly.

[function.getimagesize]: failed to open stream: Connection refused in file

Could this be a directory permissions issue?

Could this be a directory permissions issue?

Yes, that sounds like a permission problem. Have you checked your image folder permissions?

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details