I added support for !terms and !type substitution to the module.

!terms inserts a list of associated taxonomy terms, whilst !type is the human readable node type.

The patch is attached, it applies cleanly to 2.3 and 2.x-dev.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

cafuego’s picture

Title: Has tag and post type substutution support » Hash tag and post type substutution support
FileSize
2.05 KB

Updated patch to ensure taxonomy terms exist *before* the node is saved.

jpp’s picture

Shouldn't that be

$taxonomy_array[] = preg.replace('/\s/',"","#{$term->name}");

to handle multi word terms?

Otherwise great patch.

cafuego’s picture

FileSize
2.08 KB

Um... yes? :-)

podarok’s picture

Priority: Normal » Critical
Issue tags: +tags

waiting for release!
subscribe

podarok’s picture

May be better way - integrating with token?

sillygwailo’s picture

Title: Hash tag and post type substutution support » Hash tag and post type substitution support
whatsnewsisyphus’s picture

Is this implemented yet?

benlotter’s picture

Issue tags: -tags

Subscribe. Waiting for hash tag support to be integrated into the Twitter module.

steinmb’s picture

Version: 6.x-2.x-dev » 6.x-3.x-dev
Priority: Critical » Normal
Status: Needs review » Fixed

6.x-3.x got a input filter for hash tags you have to enable for your input formats. Create a new issue if it is not working as designed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.