asigno Posted July 4, 2023 Posted July 4, 2023 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
Marc Posted July 4, 2023 Posted July 4, 2023 Check your database templates and ensure they are up to date for the latest release. Test with default templates if needed
asigno Posted July 5, 2023 Author Posted July 5, 2023 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
opentype Posted July 5, 2023 Posted July 5, 2023 (edited) 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, 2023 by opentype
Marc Posted July 5, 2023 Posted July 5, 2023 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
asigno Posted July 5, 2023 Author Posted July 5, 2023 Thanks @opentype @Marc Stridgen I created a new 4.7.11 theme which is not modified and I'm still getting the same issue.
asigno Posted July 6, 2023 Author Posted July 6, 2023 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/
Marc Posted July 6, 2023 Posted July 6, 2023 Ive created a ticket on this for you, so we can take a closer look asigno 1
Recommended Posts