The attached patch adds token replacement support for CCK text fields, as well as re-factoring token replacement into it's own function. This cleans up the code quite a bit, while supporting sites which use pure CCK fields for nodes without a body field.

Comments

deviantintegral’s picture

Status: Active » Needs review
StatusFileSize
new10.03 KB

Here is an updated patch which properly replaces [bookpathalias] tokens on the first node before it is saved to the database.

deviantintegral’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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