(no commit message) master origin/HEAD origin/master
authorAlex Kellner <alexander.kellner@in2code.de>
Wed, 2 Oct 2019 07:25:44 +0000 (07:25 +0000)
committerGitHub <noreply@github.com>
Wed, 2 Oct 2019 07:25:44 +0000 (07:25 +0000)
MysqlXml.txt [new file with mode: 0644]

diff --git a/MysqlXml.txt b/MysqlXml.txt
new file mode 100644 (file)
index 0000000..f84e2d4
--- /dev/null
@@ -0,0 +1,5 @@
+# Read: Show real path in sys_file_storage
+select name, uid, ExtractValue(configuration, '//T3FlexForms/data/sheet[@index="sDEF"]/language/field[@index="basePath"]/value') path from sys_file_storage where uid > 0 
+
+# Write: Set a new value (in this case a detail pid) in FlexForm of a tt_news plugin
+UPDATE tt_content SET pi_flexform = UpdateXML(pi_flexform, '//T3FlexForms/data/sheet[@index="s_misc"]/language/field[@index="PIDitemDisplay"]/value', CONCAT('<value index="vDEF">', 123, '</value>' )) WHERE uid=11107
\ No newline at end of file