Posted July 4, 20231 yr Hi all, I've just noticed that when sharing articles from pages to forums, the forum post at the top has the following script code visible in the text. {{if $formValue}} {$value} {{endif}} Any ideas what is causing this? Cheers Alex Using: v4.7.11.1
July 4, 20231 yr Community Expert Check your database templates and ensure they are up to date for the latest release. Test with default templates if needed
July 5, 20231 yr Author Thanks @Marc Stridgen I've tried taking a lookat the database templates and had a few questions please. 1. What Database Template is used for the topic, where the database automatically posts the news article as a topic to forums? 2. How do I know what version the database templates are? Cheers
July 5, 20231 yr On 7/4/2023 at 5:28 AM, asigno said: Any ideas what is causing this? This is code that one would put in the field settings of a custom Pages database field. I would first identify which field that is and check the settings and the code. Maybe there is an error there in the code. Another option would be the theme template cms -> topic, that is used to create the posts. That should be unaltered. As mentioned in a private message, I don’t see how the database templates are related to this. They are just used for viewing the records. They don’t initiate or create the forum posts. That comes from a core file using the options mentioned above. Edited July 5, 20231 yr by opentype
July 5, 20231 yr Community Expert 3 hours ago, opentype said: As mentioned in a private message, I don’t see how the database templates are related to this. They are just used for viewing the records. They don’t initiate or create the forum posts. That comes from a core file using the options mentioned above. This is correct. I'd mentioned database templates incorrectly there. Its your theme templates as mentioned above
July 5, 20231 yr Author Thanks @opentype @Marc Stridgen I created a new 4.7.11 theme which is not modified and I'm still getting the same issue.
July 6, 20231 yr Author Thanks @Marc Stridgen This is the original news article:https://yamahaclub.com/forums/news/interviews/unveiling-yamahas-vision-for-the-future-an-exclusive-interview-with-yamaha-motor-europes-president-ceo-eric-de-seynes-r871/ And this is the topic created in the forums:https://yamahaclub.com/forums/topic/47870-unveiling-yamahas-vision-for-the-future-an-exclusive-interview-with-yamaha-motor-europes-president-ceo-eric-de-seynes/