Hi MegaDrupal!
I am using 2 content types: Portfolio and Cardiology (self-made) to create nodes. I managed to display them both on a view: MD Portfolio. But when I click on the nodes created by Content Type: Cardiology the text is unformated. What is the reason for that? Should I create addiction block or something?
Here's a screenshot:
Looking forward to hearing from you! You guys are the best!
Best regards,
Martin
Hi,
When you create a new content type, you have to use the same fields of MD Portfolio (add to your new content type)
or
you have to customise: copy file Node--Full-Popup.Tpl.Php and Node--Inline-Popup.Tpl.Php ( in folder Sites\All\Modules\Custom\Md_portfolio\Templates\ ) to folder template in folder Themes (all/themes/md.... /templates) and customise more based on your new content type
Because MD Portfolio is not automatically compatible with your own new custom file
Actually I don't have this module in the custom folder.
I went to: \sites\all\themes\md_bigstream\templates\node and copied node--portfolio.tpl.php then renamed it to my new content type: node--cardiology.tpl.php. I also renamed node--project-ajax--portfolio.tpl.php to node--project-ajax--cardiology.tpl.php
Nothing happened until I cleared the cache. Now everything is okay. Thank you very much for the assistance!
Have a great day!