$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?

Comments

deekayen’s picture

Title: $seqid » $seqid is missing
Version: 4.7.0-beta3 » 4.7.0-beta4
Category: support » bug

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?

chx’s picture

phptemplate.engine

deekayen’s picture

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?

deekayen’s picture

Title: $seqid is missing » document $seqid change to $id
Category: bug » task

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

deekayen’s picture

Status: Active » Closed (fixed)