Commit 398440c4 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Coding.md: more doc

parent 653d1e97
...@@ -7,6 +7,4 @@ ...@@ -7,6 +7,4 @@
# Created by .ignore support plugin (hsz.mobi) # Created by .ignore support plugin (hsz.mobi)
/.phpdocinstall /.phpdocinstall
/qfq.flowchart.dia.autosave /qfq.flowchart.dia.autosave
/test.html
/test.php
/support /support
...@@ -60,3 +60,15 @@ Primary Table ...@@ -60,3 +60,15 @@ Primary Table
* Get the recent record in STORE_RECORD and the parent record (multiforms) in STORE_PARENT_RECORD. * Get the recent record in STORE_RECORD and the parent record (multiforms) in STORE_PARENT_RECORD.
Typo3
=====
* $GLOBALS["TSFE"]->id current Page
* $GLOBALS["TSFE"]->fe_user->user["uid"] fe_user_uid
* https://wiki.typo3.org/Extbase_HowTos
* Old: $this->cObj->data['bodytext']
* New:
$contentObject = $this->configurationManager->getContentObject();
$configuration = $contentObject->data['bodytext'];
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="packages/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="packages/bootstrap/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="packages/jqwidgets/css/jqx.base.css">
<link rel="stylesheet" href="packages/jqwidgets/css/jqx.darkblue.css">
<script src="packages/jquery/js/jquery.min.js"></script>
<script src="packages/bootstrap/js/bootstrap.min.js"></script>
<script src="packages/jqwidgets/js/jqx-all.js"></script>
<title>QFQ DevWrapper</title>
<style>
/*inline elements in horizontal mode are too much left*/
.form-horizontal .form-inline .form-group {
margin: 0;
}
.form-inline .control-label {
font-weight: normal;
}
</style>
</head>
<body>
<div class="container-fluid">
<div class="row hidden-xs">
<div class="col-md-12"><h2>Form Editor: </h2></div>
</div>
<div class="row">
<div class="col-md-10">
<ul id="myTabs" class="nav nav-pills" role="tablist">
<li role="presentation" class="active"><a href="#form_1" data-toggle="tab">basic</a></li>
<li role="presentation"><a href="#form_2" data-toggle="tab">permission</a></li>
</ul>
</div>
<div class="col-md-2 ">
<div class="btn-toolbar pull-right" role="toolbar">
<div class="btn-group" role="group">
<button type="button" class="btn btn-default navbar-btn"><span
class="glyphicon glyphicon-ok"></span></button>
<button type="button" class="btn btn-default navbar-btn"><span
class="glyphicon glyphicon-remove"></span></button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default navbar-btn"><span
class="glyphicon glyphicon-trash"></span></button>
</div>
<div class="btn-group" role="group">
<button type="button" class="btn btn-default navbar-btn"><span
class="glyphicon glyphicon-plus"></span></button>
</div>
</div>
</div>
</div>
<form class="form-horizontal" action="?" method="post" target="_top" accept-charset="UTF-8">
<div class="tab-content">
<div class="col-md-6">
<div role="tabpanel" class="tab-pane" id="form_1">
<div class="col-md-2">id</div>
<div class="col-md-6"><input name="id:1" type="input" size="10" maxlength="11" readonly="readonly"
value="1"></div>
<div class="col-md-2">Name</div>
<div class="col-md-6"><input name="name:1" type="input" size="40" maxlength="255" autofocus="on"
value="form"></div>
<div class="col-md-2">Title</div>
<div class="col-md-6"><input name="title:1" type="input" size="40" maxlength="255"
value="Form Editor: {{SELECT id, &quot; / &quot;, title FROM Form WHERE id = {{recordId:SZ}}}}">
</div>
</div>
</div>
<div class="col-md-6">
<div role="tabpanel" class="tab-pane" id="form_2">
<div class="col-md-2">Permit New</div>
<div class="col-md-6"><input type="hidden" name="permitNew:1" value="always"><input
name="permitNew:1" type="radio" value="sip">sip<input name="permitNew:1" type="radio"
value="logged_in">logged_in<input
name="permitNew:1" type="radio" value="logged_out">logged_out<input name="permitNew:1"
type="radio"
value="always"
checked="checked">always<input
name="permitNew:1" type="radio" value="never">never
</div>
<div class="col-md-2">Permit Edit</div>
<div class="col-md-6"><input type="hidden" name="permitEdit:1" value="always"><input
name="permitEdit:1" type="radio" value="sip">sip<input name="permitEdit:1" type="radio"
value="logged_in">logged_in<input
name="permitEdit:1" type="radio" value="logged_out">logged_out<input name="permitEdit:1"
type="radio"
value="always"
checked="checked">always<input
name="permitEdit:1" type="radio" value="never">never
</div>
<div class="col-md-2">Permit Url Parameter</div>
<div class="col-md-6"><input name="permitUrlParameter:1" type="input" size="40" maxlength="255"
value=""></div>
</div>
</div>
</div>
<!--class="tab-content" --></form>
</div>
test
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment