0

In Drupal 7 I've created a node of type basic page. Then in Body field I've inserted some markup mixed with php code. Then this was saved in PHP text format. In the above mentioned markup I have variable I'd like to output to html. I tried some preprocess functions but that didn't give me any result. How can I set the variable?

1

take a look at What is best method for token replacement within node content?

If you are feeling lack of available tokens, you can extend it with tokens hooks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.