Composer mode defaults won't change!

Permalink
Hello my fellow concreters!

I am producing a page and I am trying to get the composermode up and running. And regarding that I have a few questions!

1. Is it possible to make a page-type with attributes activated as default? I want every "my-blog" page to be excluded from the auto-nav. I know how to make the attribute visible on the composer page, but it is not easy for the front-end user to remember to check it every time a site is made.

2. Why won't the default page change when I write a page in composer mode?
I have clicked on page-types and changed a default to my own "blog". And in additional chosen to show the blocks in the composer entry. But when I change the dummy text in the composer entry, it won't change! Whatever I write, the dafault text will appear!

You can see composermode and what I write in pic1, then after publish in pic2...

2 Attachments

 
Mainio replied on at Permalink Reply
Mainio
1st issue:
I assume all your blog entries are under a specific "blog" page, right? (Nyheter in your pic2)

If this is the case:
- Add a new boolean attribute for pages with handle "exclude_subpages_from_nav"
- Enable this attribute for the blog parent page

If this is not the case, you could edit the "exclude_from_nav" attribute, make it checked by default and then add it to the composer page. This way the user wouldn't have to check that manually each time.


2nd issue:
Can you post your code for the blog page template?
taasaasen replied on at Permalink Reply 3 Attachments
Yes all my blog/news page is under a specific page.

I found where to make it checked by default so I think I can leave it there. Thanks for the good answers!

When it comes to the second issue, I don't know if I understand what to post? Do you mean the php code for the blog template?

I go to dashboard->page types->"my edited blog"->defaults.
Btw, the theme I am using is called Grandeur.
Vtenso replied on at Permalink Reply
the problem is shown in this vid !
https://www.youtube.com/watch?v=hJvKNkdw-cQ...