I have created a new content-type Document Template
. I need to display the contents of type Document template
in a different path.
localhost/site_name/document_templates
not in
localhost/site_name.
What should I do?
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.
Sign up to join this communityCreate a View
with Page
display. Set its Path
to document_templates
. Add a Filter criteria
for Content: Type (= Document Template)
. Hit save. Now visit your url localhost/site_name/document_templates
. You will see your content of type Document Template
.
Use the pathauto module and configure it so this content type automatically gets the right path settings by default when creating a node. https://www.drupal.org/project/pathauto