Add HTMl to CCK within Drupal
Posted
by Romelus96
on Stack Overflow
See other posts from Stack Overflow
or by Romelus96
Published on 2010-04-06T04:00:45Z
Indexed on
2010/04/06
4:03 UTC
Read the original article
Hit count: 366
Hello im a newbie at using Drupal, and have come across a block in my progress. I have been using CCK to add new content types to my forms. I was wondering if there was any way to add to the form that is generated so that i may contain the elements and also insert visual html code like head rules etc. I have dabbled with the hook_form_alter() and it does not seem to help me in my efforts. Ive been through adjusting tpl.php files and such and have made no progress. Please if there is any one there in the inter-webs who is knowledgeable on this matter your advice would be greatly appreciated.
Here is just an example of what I would want to do within the form: 1. Contain field elements within DIV's 2. Add HTML Content into the form
© Stack Overflow or respective owner