-
1. Re: Bc Editable region edit mode-icecube
Gary Swanepoel | ITB Sep 1, 2014 5:07 PM (in response to Marco_ALEX)Hi Marco,
There are three things you need to fix first.
Firstly, remove the protocol from all your in page scripts and styles, this will load either http: if you're on the website or https: if you're on the worldsecuresytems site and avoid any cross domain policy issues.
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
Secondly, you're using the old editor code. Although it is backwards compatible, you should be using the new code
New Content Editor for Business Catalyst users
Thirdly:
Remove any reference to absolute domains, because you won't be able to navigate to them in ICE because of the cross domain policy. I'm not going to into this in detail, because it's a pretty major bug, which I don't know when will be fixed. You'll need to find another approach to handle this.
<li><a href="http://9haus.businesscatalyst.com/OrderRetrievev2.aspx?CatalogueID=298259">Shooping cart</a></li> If you're editing on this domain you won't be able to navigate to the other, and vice-versa
<li><a href="https://9haus.worldsecuresystems.com/LogOutProcess.aspx">SIGN OUT</a></li>
Change to
<li><a href="/OrderRetrievev2.aspx?CatalogueID=298259">Shooping cart</a></li>
<li><a href="/LogOutProcess.aspx">SIGN OUT</a></li>
Do that first then we can look at which script is preventing ICE from loading.
I also can see this line, in your code, and I don't think it should be there, so just check your templates to see it's not been manually placed in. BC will automatically load the files it needs.
<script src="/includes/ice/ice.js" type="text/javascript"></script>
-
2. Re: Bc Editable region edit mode-icecube
Marco_ALEX Sep 2, 2014 3:28 AM (in response to Gary Swanepoel | ITB)Hi gary,
thank you for the reply,
I tried to remove all the http protocols and still nothing, I have the Beta features upgrade content editor checked and in those new beta features forums it says that dreamweaver creates that <script src="/includes/ice/ice.js" type="text/javascript"></script> wen we place a incontest editing region, but wen i uploaded to the server i didnt see that script and, i just upload the includes folder and still the same.
Its giving me this error on the console:
GET http://9haus.businesscatalyst.com/CatalystScripts/beditor/3rdparty/redactor/lang/pt.js?vs= b2373.r432117&vs=b2373.r432117 require.js?vs=b2373.r432117:1783
req.addScriptToDom require.js?vs=b2373.r432117:1783
req.attach require.js?vs=b2373.r432117:1915
req.load require.js?vs=b2373.r432117:1648
resume require.js?vs=b2373.r432117:1177
context.completeLoad re quire.js?vs=b2373.r432117:1446
req.onScriptLoad require.js?vs=b2373.r432117:1815
nrWrapper (index):13
Failed to execute 'write' on 'Document': It isn't possible to write into a document from an asynchronously-loaded external script unless it is explicitly opened.
OmnitureMbox.js?vs=b2373.r432117:352
I wrote to adobe again and they say the same thing:
"Hi Macro,
I tried again and the in-context editor works just fine. Please try removing/disabling the extensions installed on the browsers as it seems to be local issue.
For the console error, can you please provide us a screenshot as we need to look into this.
Regards,
Gaurav Aggarwal "I use the Kaspersky antivirus, is it that whats causing this issues?
-
3. Re: Bc Editable region edit mode-icecube
Digital Fuel Web Sep 18, 2014 5:01 PM (in response to Marco_ALEX)I have the same issues. It works for my old sites all browsers but not for a new foundation site all browsers.
Any help would be great.
-
4. Re: Bc Editable region edit mode-icecube
Gary | ITB Sep 18, 2014 5:25 PM (in response to Marco_ALEX)Hi Marco,
Your next step is comment out all your JS scripts. Then check whether ICE runs.
If it runs then you've isolated the cause to one of your scripts. You'll need to do a process of elimination and add each of them in one by one.
If it still doesn't run then create a blank page with no template with a simple editable div in it. <div ice:editable="line">this should work</div>
If ICE DOESN'T run you've isolated it to your browser, so try another browser and see if it works.
If ICE DOES run, go back to your template and check whether you've got any {module_contentholder} tags in your head, especially inside a script tag.
when you do this
<script>
{module_contentholder,name="contenholder"}
</script>
ICE will convert it to something like
<script>
<!-- erstart1234-->your content holder content<!--erend1234-->
</script>
which breaks the page and in some cases prevents ICE from continuing.
-
5. Re: Bc Editable region edit mode-icecube
Digital Fuel Web Sep 18, 2014 6:16 PM (in response to Gary | ITB)Solved thanks Gary
<!--<img id="logo" alt="logo" src="/_assets/img/logo.png" />--> In context editor does not like /> commented out all the other comments are fine just this one causing all the problems.
Change it to this and its fine.
<!--<img id="logo" alt="logo" src="/_assets/img/logo.png"></img>-->
Seems a bit temperamental to me.




