I am using bartik responsive theme. I made a sub theme of the theme. I enabled the sub theme as the default theme. I have given access to anonymous users to add webform content at xxx.com/node/add/webform. Users see the title field as required. I like to remove the title field of web form so users dont need to enter the title.
I found this link but I could not follow it all the way:
- "You need to have both node.tpl.php and node-webform.tpl.php in your theme directory for this to work. Also make sure you clear your Drupal caches after copying the files in."
I went to theme directory(theme/xx/templates) and I see bartik, engines, garland, stark, seven. I dont see my sub theme and bartik responsive there. What would be my theme directory in my case?
I simply went to theme/bartik/template> copied node.tpl.php to node-webform.tpl.php and then added
<?php if ($page == 0): ?> <h2><a href="<?php print $node_url ?>" title="<?php print $title ?>"><?php print $title ?></a></h2> <?php endif; ?>
I still see the web form title field for public users at xxx.com/node/add/webform.
Do you know how I can remove the title field for web form module?