Home   Developing   -   Bootstrap   Q&A   Issues   References   Notes   History   Attic  

Goto previous pageGoto parent pageGoto next page
Page 7 of 9

Blocco Notes Logo

Daftari Home - Developing

Technical Notes

This chapter serves as a developers diary and scratchpad.


Target Blank

About the target blank discussion. How to set IE not to open always a new window see the screenshot below.

Screenshot # 20120830.1401
Screenshot (image # 20120830.1401)


TinyMCE

With TinyMCE 3.5.6, the 'HTML' feature does not work anymore. The former TinyMCE () offered the HTML code to edit inside it's textbox, the new one opens a dedicated window, but that is empty. In the TinyMCE examples, the HTML feature edit works. (issue # 20120820.1531)

We update TinyMCE to version 3.5.6. See the included: TinyMCE examples. (note # 20120820.1521)


Developing daftari.js

To analyse, what is going on when the page is load, set a breakpoint in daftari.js in the script-loading part e.g. around this:

   // script load time (# 20111227.1718)
   var sStartuplog = ""; // info area to be inserted behind the footer of the page
   var sIntro_Folderselfname = retrieveSelfFoldername(); // e.g. 'daftari' or 'eps'
   var sIntro_LocationPath = retrieveLocationPath();
   var sIntro_Scriptpath = retrieveSelfFoldername3(); // (# 20111227.1721) may break

And a breakpoint in daftari.js for the part after page has load around this:

   // event handler <body onload="daftari();"> (# 20110813.2221)
   function daftari()
   {
      // building debug message
      var s = '';
      s = "\n-------- (Debug 6) --------";
      s += '\n[daftari.js::daftari()]';
      s += '\n - sIntro_Folderselfname = ' + sIntro_Folderselfname + "\n";
      s += "\n------------------------------\n";
      sStartuplog = s + sStartuplog;
      if (bDEBUG_JSI_INJECT_START)
      {
         alert(sStartuplog);
      }

      var sPathPrefix = jsibootstrap_iconPathPrefix(); // e.g. '../' if page is in subfolder
      / ..

.


Names

As program and module and feature names, you may find here the following:

Name Description
Wakati Wakati is the merger from several modules
eps eps (or daftari) is used as a foldername (those shall be short)
js js is used as a scriptname prefix in the main folder. It are the files coming from ... (gallery?)
jsi jsi is used as a scriptname prefix in the main folder. It are the files with bootstrap
Gallery Gallery is a PHP project.
Staticpoint Featurename
Staticrange Staticrange is a featurename. In a page are markers for the beginning and the end of an Editrange. The range is indicated to the user by a notebook icon carrying a link to Daftari, which opens the range in a Tiny MCE rich edit control.
Daftari Daftari ...
Edit-Point-Static Edit-Point-Static is a branch of Edit-Point, with the Staticrange feature added.
Edit-Point Edit-Point is a open source PHP project, which provided us a first codebase for a online website editor application. From Edit-Point, Edit-Point-Static was branched off.

Bye