BetterCMS icon indicating copy to clipboard operation
BetterCMS copied to clipboard

Implement CMS` and site`s DOM separation - DOM separation using IFrame to avoid DOM and CSS conflicts

Open Audrunas opened this issue 11 years ago • 2 comments

When loading page - CMS wrapper should be loaded as HTML page, and all page content should be loaded within frame. It may be loaded as HTML script and then rendered within iFrame Later, instead of whole page reloading, only iFrame can be reloaded

Audrunas avatar Apr 04 '14 09:04 Audrunas

Process started in the branch "dev-2.0.0-iframe".

Audrunas avatar Apr 09 '14 05:04 Audrunas

Problems:

  • After few redirects to another URLs, back history works interesting (sometimes works, sometimes open white screen, sometimes jumps back in few steps, sometimes is empty)
  • What to do with external URLS, which are caused by JavaScript (e.g. onclick="window.location.href='http://www.google.com'") ???
  • Paulius' idea was to work within internal url, e.g. http://{host}/csm/edit/#/my-page-url/ - this will never reload the parent page, only iFrame. It will cause to some JS bugs (need to check if after page reload all scripts are cleared, because till now they work as singleton)

Audrunas avatar Sep 11 '14 11:09 Audrunas