Cannot move edit delete blocks in edit mode

Permalink
I have added this javascript as html block

<script type="text/javascript">
var CCM_DISPATCHER_FILENAME = '/index.php';
var CCM_CID = 1;
var CCM_EDIT_MODE = false;
var CCM_ARRANGE_MODE = false;
var CCM_IMAGE_PATH = "/concrete/images";
var CCM_TOOLS_PATH = "/index.php/tools/required";
var CCM_BASE_URL = "http://www.c5magic.co.uk";
var CCM_REL = "";
</script>


After that when I go to edit mode I connot move edit delete blocks.
Please give me a solution for that. I'm new to C5.

 
ronyDdeveloper replied on at Permalink Best Answer Reply
ronyDdeveloper
You are not suppose to add this piece of js as html block. Its a default script provided by Concrete5 core.
Anyway go to dashboard, the sitemap and navigate to the page. Then click on that page, so that a popup will open. Click on versions and choose any previous version. And click Approve. That's it.

N.B. If it doesn't solve the problem, then you might need to dig into your database to find that script & delete it manually through mysql.

Rony
Lahi2010 replied on at Permalink Reply
Thanks a lot. It worked
ronyDdeveloper replied on at Permalink Reply
ronyDdeveloper
Mark it as Best Answer, so that others may find this thread helpful.

Rony