Port Token to Drupal 7

Deciphered - July 3, 2009 - 01:19
Project:Token
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:postponed
Description

Hi guys,

Just curious to hear what plans have been made for a Drupal 7 version of Token?
I would be more than happy to help out if it is a straight port as I really need a version so that I can release a Drupal 7 version of FileField Paths.

Cheers,
Deciphered.

#1

greggles - July 3, 2009 - 13:27
Title:Port to Drupal 7» Port Token to Drupal 7
Priority:minor» normal

It's kind of premature to discuss this. There's still a chance token will be part of core for Drupal 7. If not, though, it is very easy to "port" token for the most part, so it will be ready the day that Drupal 7 ships.

#2

KiamLaLuno - July 3, 2009 - 19:49

I agree that is too early to port a module to Drupal 7, as there could be some changes in the Drupal API; in example, it seems that Drupal 7 is going to use a new hook that would allow a module to call variable_get() (or a similar function) without to pass the default value for the Drupal variable.

#3

NancyDru - July 17, 2009 - 20:01

I'd like to finish up Submitted By too. There are only 6 weeks to code freeze; has anything been decided or even started yet?

#4

greggles - July 17, 2009 - 20:09
Status:active» postponed

The HEAD of token's code in CVS is a 7.x compatible version of the module that is similar to what is proposed in #113614: Add centralized token/placeholder substitution to core for core.

I think the chances of getting token into core are quite good, so you can simply apply the latest patch from #113614: Add centralized token/placeholder substitution to core to your 7.x installation and work from there.

#5

Deciphered - July 17, 2009 - 23:10

Hi greggles,

I have been watching the patch in hopes that it does make it through, but thanks for pointing it out.

Cheers,
Deciphered.

 
 

Drupal is a registered trademark of Dries Buytaert.