$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?
$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
Comment #1
deekayen commentedI 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?
Comment #2
chx commentedphptemplate.engine
Comment #3
deekayen commentedFor 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?
Comment #4
deekayen commentedPlease document somewhere in the 4.6-4.7 upgrade docs that $seqid is now just $id.
Comment #5
deekayen commentedhttp://drupal.org/node/25297