I've searched documentation but cannot find anything regarding adding php into particles. I attempted to do so and the results are unexpected after echoing out a test statement the output shows the string but then also adds the last " and ; ?> .
Can anyone shed light on if this is possible and if so is there an extension that is required?
The reason behind wanting to place php in the custom html particle is to process a form I have built.
So much easier... TWIG is just a templating engine that sits on top of PHP and allows you all (most) the same functionality as PHP... you can put TWIG straight into Particles and TWIG is what powers our particles in the first place making it very easy to change their core functionality
SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT
Not at all IMO... if you understand PHP then TWIG should be a breeze... you can search Sensio's doc for whatever PHP element you're after and it should return the corresponding TWIG
SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT