robertgarrigos's picture

Whenever you need to show the node type in a view, you can print it with no problem with the Content:Type field. However, I need to use the content type to form an url, and thus I need the machine name, but the Content:Type field shows the 'user name' not the 'machine name'. How can I get the machine name of the content type in a view?

Accepted answer

but the Content:Type field shows the 'user name' not the 'machine name'.

Huh? I'm not sure that's the case. See images below. (Unless I'm misunderstanding).

 

 

 

Comments

but the Content:Type field shows the 'user name' not the 'machine name'.

Huh? I'm not sure that's the case. See images below. (Unless I'm misunderstanding).

 

 

 

robertgarrigos's picture

:-O

I missed that config!

Thanks.