I followed this webinar: https://www.youtube.com/watch?v=IfStOxR9p0s
In it, Mike Potter walks you through how to create a new content type, make it atrium-aware, and then create a view to list that content type. Then he creates a new section type for the new content, and adds the custom list view to that section type.
Mike did a great job and I was able to follow along fine.
At about 30:20 in that webinar, he shows how the newly-created piece of content is displayed a very "raw" way, un-formatted data from the content fields being spit out on to the page.
He mentions that you can do some "theming" of the page to make it look better, but doesn't cover how to do that.
Can anyone offer some guidance on that? How can I go about customizing the layout for viewing a single piece of content?
Comments
How to format the content view?
One of the easiest ways to format the content is to go to the panelizer and arrange the content in the page where you like it. The layout can be changed using panopoly panes and then the content arranged within them.
Once that is done, fine tunings can be done by creating a sub-theme and adding css where needed. You can even add colorizer modifications within your sub-theme so that your space, section and group color defaults are the ones you want, but that is another topic.
I hope this helps. Just go into the content type under admin/structure/content-type/[content-type] and you will see the panelizer tab if the content is panelized. If it is not you can panelize it from there as well from the tabs on the left.
Good luck, and hope you get it. I know it took me a while!
Thanks for the reply, hollyfox
Yes, I'd like to use panelizer, just like you can with the default content types. That would be great.
When I navigate to
admin/structure/content-type/[content-type], there is in fact a panelizer tab. All the checkboxes in the tabs on the left (New content behavior, Allowed Entity field content, etc.) are already checked except the first two under the Default Settings tab:Use the same allowed content as standard Panels pages?Use the same allowed layouts as standard Panels pages?I tried checking one, the other, and then both, and have not yet been able to activate panelizer on the content view page. When I view a piece of content (
example.com/node/10/view), the only buttons available at the top right are Edit, the lock icon, and the gear icon.Here is what it looks like:
Clicking the gear button and choosing Panelizer brings me to a page with an empty table with columns titled "View mode," "Status," and "Operations."
There are no Customize this page or Change layout buttons like you'd find, say, a piece of news content (or any of the other default content types):
ETA: I was starting to suspect this is issue might be the result of an error in my configuration, but I just checked Mike's webinar (referenced in my first post), at around 30:20, you can see that the new content type he created also is lacking the panelizer buttons Customize this page andChange layout:
In Content Editor
Clearmind,
When you are in the content type, there will be 'allowed content' and 'full-page override' tabs at the top. Click on fullpage override and there you will see the panelizer elements for that page. You should see
Settings
Context
Layout
Content
Breadcrumbs
below 'allowed content'. Click on layout and select the layout you want, then on content and arrange the content where you want it. Just to let you know, to add content, there is a small dot (or icon) next to each section area. Clicking on this will open the panopoly pane window where you can select what content to add.
I hope this clears things up a bit for you.
Thanks, hollyfox. That
Thanks, hollyfox. That helped. Looks like I got it working now.