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 |
Jump to:
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
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
phptemplate.engine
#3
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
Please document somewhere in the 4.6-4.7 upgrade docs that $seqid is now just $id.
#5
http://drupal.org/node/25297