Skip to main content
Home  ›  Blog

Debugging 2sxc 8 dialogs - open using shift+click

Since most of 2sxc runs in the browser - debugging also starts there. The standard user experience is to simply open a cloudy background and show a lightbox like dialog. This has many benefits, like

  1. no page load when entering the dialog
  2. no page load when closing the dialog (since the page will re-load the content in ajax without a page reload)
  3. super-fast all scripts and dialogs are cache

For advanced user this can have a downside - for example it's very tricky to rebuild the cache if you ever want to, and if you want to play around with something, this can be a problem. 

Because of this we added a shift-click feature which opens the same dialog in a new window. Note that it is really the same dialog - which normally thinks it's an overlay. So closing it won't close the window or anything, the page will just be white. 

Things you can do now

  1. mess around with the url-parameters - note that you have to press F5 to refresh after changing them, because they don't reload automatically since we're using the hash (#) to carry parameters
  2. more debugging
  3. look at the insides

With love from Switzerland,


Daniel Mettler grew up in the jungles of Indonesia and is founder and CEO of 2sic internet solutions in Switzerland and Liechtenstein, an 20-head web specialist with over 800 DNN projects since 1999. He is also chief architect of 2sxc (see github), an open source module for creating attractive content and DNN Apps.

Read more posts by Daniel Mettler