Bug in extra head content when using a custom page type??
PermalinkSteps to reproduce:
- create a new page type
- checkmark that you want the attribute "Extra Head Content" for it.
- go into the Extra Head Content section and enter some line adding javascript, CSS, or whatever.
- save
- go back to the regular admin interface.
- add a page using this page type
- save the changes.
Now go look at the source code of the page. What happened to the extra head content? It's nowhere to be seen.
Is this some sort of bug?
Logically it would seem that whatever extra head content is added to the page type should appear for all pages created using that page type type...no?
Carlos

This is purely as a sanity check, but when you say "go into the Extra Head Content section and enter some line adding javascript, CSS, or whatever", are you doing this in the new Page Type's "Defaults"?
- John
I am no longer using Concrete5 for anything other than maintaining the one installation of it I did for a client so...I can't even remember what this thread is about LOL.
Sorry.
Carlos
- John
I'm adding in the code in the Page Type defaults, but it doesn't flow through to the actual pages. No matter for me now, as I'm just going to add it in my theme's header.php, but it would still be a problem if you wanted it just for certain page types and not others.
Richard
What version of C5 are you seeing this problem on. I just tested the same scenario on a site running v5.5.1 and it worked just fine: custom page type, added the "Extra Header Content" custom attribute in the "Settings" for the page type. Then went to Defaults, edited the page type to add CSS and saved the Default. When I added a page to the site using that page type as the design, the Extra Header Content was there.
- John
- John
Anybody?
Carlos
Carlos