git.cweiske.de
/
paste
/
934.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (initial)
(no commit message)
master
author
Christian Weiske
<cweiske@cweiske.de>
Thu, 25 Sep 2025 14:39:10 +0000
(16:39 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Thu, 25 Sep 2025 14:39:10 +0000
(16:39 +0200)
phork0.php
[new file with mode: 0644]
patch
|
blob
diff --git a/phork0.php
b/phork0.php
new file mode 100644
(file)
index 0000000..
02124ef
--- /dev/null
+++ b/
phork0.php
@@ -0,0
+1,14
@@
+<?php
\r
+use TYPO3\CMS\Core\Utility\GeneralUtility;
\r
+use TYPO3\CMS\Frontend\ContentObject\RecordsContentObject;
\r
+
\r
+$conf = [
\r
+ 'tables' => 'tt_content',
\r
+ 'source' => $elementId,
\r
+ 'dontCheckPid' => 1,
\r
+];
\r
+$html = GeneralUtility::makeInstance(
\r
+ RecordsContentObject::class, $GLOBALS['TSFE']->cObj
\r
+)->render($conf);
\r
+
\r
+
\r