Hi!
On the page I`m creating I`m using cck and workspace modules.
For one of the fields in the help text I wanted to put a link to 'my workspace'.
The problem is that I have to put the $user->uid into the link. Is it possible to put php code in the HelpText edit box?
Or is there some other way to do this?
Thanks
Comments
Comment #1
rooby commentedThis is way old, but you can make a custom module with hook_form_alter()
For example:
Comment #3
darrellduane commentedI've got to believe that a module could be made which brings PHP to all of the help/description fields. Anyone want to work on it? I am switching this to Drupal 7 core because this part of Drupal that has the fields and help text is a part of core AFAIK.
Comment #4
rooby commentedI doubt the proposition in #3 will ever be a part of drupal core.
A contrib module would be able to implement this though.
Comment #5
darrellduane commented@rooby agreed. Is there a project name for desired contributed modules that have yet to be created that I could set this too?
Comment #6
rooby commentedNot that I know of.
There is an issue queue for new projects (by new maintainers) at https://www.drupal.org/project/issues/projectapplications but for that you have to post the already working module, it's not a wishlist.
Comment #7
avpadernoNotice that this issue has been posted in issue queue for a sandbox project without code. It's not an issue queue to ask support for, or post bugs in, Drupal core or third-party modules.
Despite the project name, this sandbox project is not linked to Drupal core in any way, and it may be removed at any time.
Comment #8
avpaderno