Description
For pre-filling a form with auto-generated content I used in Contao 3 the extension inputvar which unfortunately is orphaned. Writing and publishing an extension for that purpose would be a lot more to do …
Would it be a big deal to add some lines to
core-bundle/src/Resources/contao/library/Contao/InsertTags.php
for handling session stored data in the frontend in an easy way like with {{post::*}}? I've added these 4 lines up from line 576 which served my needs:
Example
// SESSION data
case 'session':
$arrCache[$strTag] = $this->Session->get($elements[1]);
break;
Description
For pre-filling a form with auto-generated content I used in Contao 3 the extension inputvar which unfortunately is orphaned. Writing and publishing an extension for that purpose would be a lot more to do …
Would it be a big deal to add some lines to core-bundle/src/Resources/contao/library/Contao/InsertTags.php for handling session stored data in the frontend in an easy way like with {{post::*}}? I've added these 4 lines up from line 576 which served my needs:
Example