Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hey,
I am trying to use php in the head of a view but keep getting this error;
The string frontpage:page_1:header for textgroup views is not allowed for translation because of its input format.
I think this is preventing the php code to be run, is there a way to prevent this from happening?
Cheers
Comments
Comment #1
str1 CreditAttribution: str1 commentedSame problem here, code runs but translation is not available, any insight?
Comment #2
LarsKramer CreditAttribution: LarsKramer commentedHi, have you enabled the input format for translation in "Site configuration -> languages -> configure -> string translation" ?
Comment #3
Kars-T CreditAttribution: Kars-T commentedLars is right. Please acitvate the iputformat for translation and it should work.