I really need is to disable the javascript of a block. Not all the javascripts.
The javascript is coflicting somehow with the composer.
The javascript is coflicting somehow with the composer.
if this is a view issue I would recommend creating a file named scrapbook.php that renders something slightly different if you are in the scrapbook, ...or at least that is where I would start
If that doesn't work, then you would want to leverage the dashboard helper which you would ask if you are in the dashboard(and thus the rendering doesn't really matter) and you just need to show some sort of placeholder there and create a big if statement in your view.
If that doesn't work, then you would want to leverage the dashboard helper which you would ask if you are in the dashboard(and thus the rendering doesn't really matter) and you just need to show some sort of placeholder there and create a big if statement in your view.
Why scrapbook is not rendering well in Composer.
If your issue is with the 7sec auto save while using composer - write. I would suggest that you disable autosave as follows:
1. Create a new directory structure under single_pages at your webroot:
dashboard/composer
2. Copy the file write.php - found in concrete/single_pages/dashboard/composer - to the composer directory just created.
3. Edit your copy of write.php and search for:
and replace true with false. Save edited file and everything should work without auto save running every 7sec.
Tried and tested in my test environment.
We really need a way from the dashboard to configure the auto save for composer instead of defaulting to
currently set to 7000ms.
1. Create a new directory structure under single_pages at your webroot:
dashboard/composer
2. Copy the file write.php - found in concrete/single_pages/dashboard/composer - to the composer directory just created.
3. Edit your copy of write.php and search for:
ccm_composerDoAutoSaveAllowed = true
and replace true with false. Save edited file and everything should work without auto save running every 7sec.
Tried and tested in my test environment.
We really need a way from the dashboard to configure the auto save for composer instead of defaulting to
ccm_composerAutoSaveIntervalTimeout
currently set to 7000ms.
fjhadd - the below worked for me on 5.5. Hope it helps!
<?php if (!$c->isEditMode() && !strpos($c->cFilename, 'dashboard/composer')): ?> <!-- Conditional code goes here --> <?php endif; ?>
Why are you needing to do this?