Commit 66494a2c authored by Carsten  Rose's avatar Carsten Rose
Browse files

Copy to clipboard: 'p' and 'u' still not working - remove documentation from manual.

parent ca54d833
Pipeline #759 passed with stage
in 1 minute and 53 seconds
......@@ -5196,7 +5196,7 @@ Column: _link
+---+---+--------------+-----------------------------------+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------+
|x | |Download |d:[<exportFilename>] |d:complete.pdf |Link points to `api/download.php`. Additional parameter are encoded into a SIP. 'Download' needs an enabled SIP. See `download`_. |
+---+---+--------------+-----------------------------------+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------+
|x | |Copy to |y:[some content] |y:this will be copied |Click on it copies the value of 'y:' to the clipboard. Optional a file ('F:...') or Typo3 page ('p:...') might be specified as source. |
|x | |Copy to |y:[some content] |y:this will be copied |Click on it copies the value of 'y:' to the clipboard. Optional a file ('F:...') might be specified as source. |
| | |clipboard | | |See `copyToClipboard`_. |
+---+---+--------------+-----------------------------------+---------------------------+----------------------------------------------------------------------------------------------------------------------------------------+
| | |Text |t:<text> |t:Firstname Lastname |- |
......@@ -5337,9 +5337,6 @@ Link Examples
| SELECT "y|s:1|F:dir/data.R|t:Data|o:Clipboard|b" AS _link | <button class="btn btn-info" onClick="new QfqNS.Clipboard({uri: 'typo3conf/.../download.php?s=badcaffee1234'});" |
| | title='Copy to clipboard'>Data</button> |
+-----------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+
| SELECT "y|s:1|p:emails&grId=45|t:Mails|o:Clipboard|b" AS _link | <button class="btn btn-info" onClick="new QfqNS.Clipboard({uri: 'indexp.php?id=45&s=badcaffee1234'});" |
| | title='Copy to clipboard'>Mails</button> |
+-----------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+
.. _question:
......@@ -6088,14 +6085,15 @@ Copy to clipboard
+-------------------+--------------------------------+----------------------------------------------------------------------------+
| F:<pathFilename> | F:fileadmin/protected/data.R | pathFilename in DocumentRoot |
+-------------------+--------------------------------+----------------------------------------------------------------------------+
| p:<pageId&params> | p:emails&grId=45 | Typo3 page which will be fetched on request. |
+-------------------+--------------------------------+----------------------------------------------------------------------------+
| u:<url> | u:http://example.com | Get any URL. E.g. some code from a github site. |
+-------------------+--------------------------------+----------------------------------------------------------------------------+
* Three different sources can be copied to the clipboard.
* 'File' and 'page' are SIP encoded by default.
* Only one source at a time is supported.
Example: ::
10.sql = SELECT 'y:hello world (yank)|t:content direct (yank)' AS _yank,
'y:hello world (link)|t:content direct (link)' AS _link,
CONCAT('F:', p.pathFileName,'|t:File (yank)|o:', p.pathFileName) AS _yank,
CONCAT('y|F:', p.pathFileName,'|t:File (link)|o:', p.pathFileName) AS _link
FROM Person AS p
                  
.. _download:
......
......@@ -447,7 +447,7 @@ class Download {
/**
* Process download as requested in $vars. Output is either directly send to the browser, or a file which has to be deleted later.
*
* @param string|array $vars If $config is not an array, get values from STORE_SIP. If $config is an array, take it.
* @param string|array $vars - If $config is an array, take it, else get values from STORE_SIP
* @param string $outputMode OUTPUT_MODE_DIRECT | OUTPUT_MODE_FILE
*
* @return string
......
Supports Markdown
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