SylvainTI / wwwsqldesigner

Automatically exported from code.google.com/p/wwwsqldesigner
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Autoload a saved item #78

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
More of a hack for php-file items (since I cross-reference wwwsqldesigner
from our wiki and want an item loaded automatically):

- Rename index.html to index.php

- Modify the last script element:

var d = new SQL.Designer();
<? if ($_GET['item']) { echo
"setTimeout(\"d.io.serverload(0,'".$_GET['item']."')\",2000);"; } ?>

- Call as http://site/index.php?item=<itemname>

Original issue reported on code.google.com by kon...@gmail.com on 16 Mar 2010 at 12:44

GoogleCodeExporter commented 9 years ago
aren't you looking for this behavior ?
 > http://ondras.zarovi.cz/sql/demo/?keyword=<itemname>

Original comment by geompse@gmail.com on 16 Mar 2010 at 6:37

GoogleCodeExporter commented 9 years ago
As noted by geompse, this functionality is already present.

Original comment by ondrej.zara on 16 Mar 2010 at 7:47

GoogleCodeExporter commented 9 years ago
Please add this to the documentation.

Original comment by kon...@gmail.com on 16 Mar 2010 at 2:47

GoogleCodeExporter commented 9 years ago
Done :)

Original comment by ondrej.zara on 16 Mar 2010 at 4:33