Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi!
The default through PHP code does not work in 7.x.1.12 and 7.x-1.dev?
I have tried a few things to get my defaults values whitout any sucess... then, I have tried to put a drupal message and finaly faulty php code like <?php .sdfkjg54bnd.;sj ?>
: it is not even parsed, no error resulted??
PHP filter is enable!
Can this be linked to php version? What is the minimum version?
Thx
Comments
Comment #1
Dadaisme CreditAttribution: Dadaisme commentedI'm using php 5.3
No one have an idea?
Comment #2
Dadaisme CreditAttribution: Dadaisme commentedMy stupidity... !!
Comment #3
namwebs CreditAttribution: namwebs commentedPlease explain what you did.... I have the same stupidity and can't get it to work!
Comment #4
Zheko CreditAttribution: Zheko commentedSame issue.
I've tried this php code:
And looks like $user global variable is not available.
Comment #5
Dadaisme CreditAttribution: Dadaisme commentedThe code for the default value is not parsed if there is already a value in the session/cookies for the user.