Download & Extend

Evaluate PHP in pattern - not working

Project:Automatic Nodetitles
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Evaluate PHP in pattern is not working in 6. I can replace title with a [term-raw] token but cannot use the following php:

<?php
 
global $form_values;
  return
$form_values[taxonomy]['tags'][4];
?>

Comments

#1

Category:bug report» support request

this code won't work in d6 due to changes of the formapi.

#2

I've run into this issue in d5 after upgrading to Date module version 5.x-2.0-rc. I'm guessing Date is developing in d6 and then backporting to d5 for version 2. I had $form_values used in PHP my auto node titles, and now I get an empty title.

The only change made to our system is the upgrade of the Date module. Everything else has stayed the same.

#3

Yep I first got this working and now the PHP is no longer called :/

nobody click here