Add to block is gone in template pages
Permalink
Hi all,
When I enter edit mode on my template pages (via page types) I do not have the option to 'add to main' or 'add to sidebar'. Basically the whole functionality of adding blocks to the template files is missing.
This problem does not show up, when I edit the actual pages based on the templates.
Could somebody help me out how to solve this problem? I would like to be able to set up blocks from templates on child pages and this is not possible while I can not add them.
When I enter edit mode on my template pages (via page types) I do not have the option to 'add to main' or 'add to sidebar'. Basically the whole functionality of adding blocks to the template files is missing.
This problem does not show up, when I edit the actual pages based on the templates.
Could somebody help me out how to solve this problem? I would like to be able to set up blocks from templates on child pages and this is not possible while I can not add them.
Well, dang. It appears that you can add blocks to page types through pagetype defaults. Which is awesome. Learn something new everyday. Anyhow, the information above will probably be of no use to you. Sorry, bout that.
I am having the same problem as above - I have created a new page type called stories that i want to have a sidebar autonav and a footer next-prev. I go into defaults and edit the page but the only option I have is Exit Edit Mode & Permissions at the top and the page body has no 'add to' options - there is nothing I can do to edit the page by adding blocks. Everything I have read seems to suggest I should be able to add blocks. Any suggestions?
Thanks - Phil
Thanks - Phil
Are you able to add blocks to this page type if you just create a normal page in the site (not through "Page Defaults")?
It all works OK now. I don't what I did yesterday and I can't reproduce it - I was fumbling around changing settings like the icon to try and change to a left sidbar structure before I read up on some articles and realised I needed to go into the theme directory and copy the left_sidebar_php to story.php before creating a new page type of story with handle of story. Once I did that all worked just fine and I have added the elements I wanted to the new page type ready for entry.
Thanks for checking in on the post.
Thanks for checking in on the post.
Having the same exact problem. Incidentally, mine started when I worked with the "Local Weather" add-on, which, while very nicely done, appears to cause bugs and problems. Any help here, Franz, or advice, on why the Add to Sidebar and Add to Main are gone, would be very helpful.
I realize this is an old post... But for future reference you have to set permissions on the Page Type for your group before you can get the Add block functionality.
The code in the sidebar div inserts the autonav block with those specific parameters into every blog page type associated with that theme. Each blocks parameters are going to be different so you will have to do some research to figure out what code you need to add. I hope that this helps.