document $seqid change to $id

deekayen - January 17, 2006 - 01:08
Project:Drupal
Version:4.7.0-beta4
Component:theme system
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Description

$seqid isn't set anymore in my phptemplate. Is there a replacement, do I need to make a hack, or does this need to switch to a bug report?

#1

deekayen - January 27, 2006 - 20:45
Title:$seqid» $seqid is missing
Version:4.7.0-beta3» 4.7.0-beta4
Category:support request» bug report

I use the $seqid special template variable in my Drupal 4.6 site, but it still doesn't seem to be available anymore in my copy of HEAD.

I did a var_dump($GLOBALS) in page.tpl.php, viewed the source, and searched for seqid just to make sure it wasn't somewhere else, and I can't find it. I'd make a patch to put it back, but I can't find a file in CVS that set $seqid in the first place. What file should it be declared in?

#2

chx - January 27, 2006 - 21:01

phptemplate.engine

#3

deekayen - January 27, 2006 - 21:03

For anyone else researching this, it looks like the problem happened when the engine was imported from contrib to core. Core's engine started with contrib <=1.19. People using the engine for Drupal 4.6 are using the contrib which kept getting improved after Dries imported the engine to core (DRUPAL-4-6 contrib branch is 1.24), so I guess there needs to be a patch to add contrib >1.19 to core?

#4

deekayen - January 31, 2006 - 05:14
Title:$seqid is missing» document $seqid change to $id
Category:bug report» task

Please document somewhere in the 4.6-4.7 upgrade docs that $seqid is now just $id.

#5

deekayen - April 29, 2006 - 02:44
Status:active» closed

http://drupal.org/node/25297

 
 

Drupal is a registered trademark of Dries Buytaert.