Where can I find decent documentation on how to use this mod, e.g. where to put the actual PHP code for the tokens?

  • The documentation topic for this mod is empty.
  • The README.txt says "Go to "Administer" -> "Build" -> "Tokens" and start creating the tokens you
    need."
    but there is no Build menu in Drupal 7...

Comments

gaspaio’s picture

Priority: Major » Normal

You're right about the lack of documentation. I'll try update it soon.
You have to activate the PHP filter module (D7 core) to be able to put PHP in the token body.

othermachines’s picture

Title: where to add the php snippets? » where to add the php snippets? (Documentation need updating)
Version: 7.x-2.0-beta2 » 7.x-2.x-dev
Status: Active » Needs review
StatusFileSize
new3.03 KB

I spent a fair bit of time learning this from scratch today, so thought I'd contribute some documentation that might make it easier for the next person. If this should also be added to d.o., just point me in the right direction and I'll take care of it.

Also updating issue title to be more descriptive.

Thanks for the module. Love it!

zulfierken’s picture

I do not know why, but my php code is not working. I enabled everything permission is okay but when I create a php code I see it like html. When I check html source I see span etc,. is added.

Can anybody help please

Just for others:

PHP Code Should not have any editor mine was ckeditor and code was not running :(

othermachines’s picture

Category: support » task

Wrong category.

anybody’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

Drupal 7 is now EOL.