By killersites on
Hi,
Two questions:
#1.
Can you create custom page in Drupal based on a 'Content type' that you define?
So for instance, if I were using the Garland theme and wanted it to display a modified view when people were reading say ... blogs (content type 'blog') could I set Drupal to load another page template just for the blog pages?
Using my localhost URL, as an example:
http://localhost:8888/drupal-5.2/blog
#2.
When you create a custom content type say called 'tutorial', can you set it so all content created as that type (tutorial), would fall under the path:
http://localhost:8888/drupal-5.2/tutorial/ ...
Thanks,
Stefan
Comments
Yes
For the URLs, use Pathauto.
To create a template for a blog page, just copy node.tpl.php and name the copy node-blog.tpl.php, then make any changes you like to the HTML and PHP.
Also checkout the docs: http://drupal.org/node/11774