Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted January 16, 20187 yr Hi, I created a database and created some fields. Now I created an a new database entry (in my case one article) and I tried to show a field inside it contents. But when I put {$record->customFieldDisplayByKey('template key', 'listing')|raw} in the wysiwyg editor and save it. I will not see the field. I will see that code I entered. What I need to do, to get this code parsed. The same is wit BB Code. It will not parse.
January 16, 20187 yr Author Hi, I only find the "Can post HTML?" setting. I will see that AcceptHTML settings in the field configuration. It is off. Does this property say that I can use the fields inside the contents? I interpreted it that it says if a field can contain html code.
January 17, 20187 yr Guess I misunderstood you. I thought you wanted to output HTML code. But I think I get it now. 8 hours ago, PhilippDE said: {$record->customFieldDisplayByKey('template key', 'listing')|raw} in the wysiwyg editor and save it. You can’t do that. The code is meant to be used inside templates, not the editor. And there also isn’t a way to add field content inside the editor.
Archived
This topic is now archived and is closed to further replies.