Imageblock - can't select image

Permalink
Hi all,

Am using 5.3.2. I noticed today when adding an imageblock, it won't let me select an image. If I click on the image and select choose or tick the image and use the global selector to select choose, I get a revolving circle icon to indictate the site is trying to do something, but nothing ever happens.

Anyone else come across this?

Iain

 
jbx replied on at Permalink Reply
jbx
What browser are you using?
Is this a clean install or did you upgrade a modified version?
icowden replied on at Permalink Reply
It is a clean install. I tested in both firefox and ie7.

The only modification to the core has been as follows:-

<code>When editing the block, are the color options not loading in the overlay? If you're using Internet Explorer for Windows, that's due to the way the color picker stylesheet and JavaScript is loading.

To fix this in the concrete5 core, open concrete/elements/page_controls.header.php, and make the following changes.

1. Move the line that says


$this->addHeaderItem('<script type="text/javascript" src="' . REL_DIR_FILES_TOOLS_REQUIRED . '/i18n_js"></script>');

from where it currently is to above jquery.js.
2. Add the lines
$this->addHeaderItem($html->javascript('jquery.colorpicker.js'));
$this->addHeaderItem($html->css('ccm.colorpicker.css'));
anywhere toward the bottom of the page. This should fix the problem when editing the block in IE 7/8.
</code>

I am wondering if the mod above has caused the problem.

Iain
icowden replied on at Permalink Reply
OK - tried restoring the page-header file - made no difference.

Choosing images works fine with slideshow block but image block (using the same mechanism presumably) fails - just spins the little circular wait icon for eternity.

Any ideas?

Iain
icowden replied on at Permalink Reply
OK, any ideas as to what could be put in a theme file that would break the image block?

If I switch theme from my custom theme to plain yoghurt, the image block works. If I use my customised theme, the image block fails.

I therefore deduce that it must be something in my theme, breaking the block.

Any ideas?