C5 blog and page defaults problem
Permalink
After writing some blog posts I decided to make spesific content block appear on blog pages also. After setting default blocks on "Blog Post" pages, all of the blog contents disappeared. While the blog still exists (it's in menus and blog list can be viewed) the blog post pages won't show any content.
The blocks added were not interfering with the area that normally shows blog posts. Removing the added defaults won't fix the problem.
The blocks added were not interfering with the area that normally shows blog posts. Removing the added defaults won't fix the problem.
I have a similar problem and I am sure it is just because I am not adding/creating something properly.
I created a custom template for my site and on every page I have a menu, search button and a few other elements. In my template I have blocks so when I edit a new page I can add the menu etc. from my scrapbook.
When I added the BLOG element, of course the pages had blanks where the menus would go. So I added them in, as before from my scrapbook. However, then when I select the year listing or an individual post, none of those items cascade and appear in the sub pages.
If I post a new blog then it doesn't appear either.
Attached is a screen shot showing the page where I added the elements and the page that is a new blog post that didn't contain the elements.
I know there must be some easy way to make those block objects appear on every page...
I created a custom template for my site and on every page I have a menu, search button and a few other elements. In my template I have blocks so when I edit a new page I can add the menu etc. from my scrapbook.
When I added the BLOG element, of course the pages had blanks where the menus would go. So I added them in, as before from my scrapbook. However, then when I select the year listing or an individual post, none of those items cascade and appear in the sub pages.
If I post a new blog then it doesn't appear either.
Attached is a screen shot showing the page where I added the elements and the page that is a new blog post that didn't contain the elements.
I know there must be some easy way to make those block objects appear on every page...
Hi :)
If you are trying to get the dropdowns there to show up, that whole thing is actually built off of how the sitemap is laid out.
You can go to the settings page and select who we are as the page where you want all blog posts to live under, but that would probably create a suckerfish dropdown sort of look for that menu, which might not be what you want.
You could alias pages underneath that page for each blog post, or have one of us write a site specific auto-nav that'll show the blog posts right there no matter where they are.
If you are trying to get the dropdowns there to show up, that whole thing is actually built off of how the sitemap is laid out.
You can go to the settings page and select who we are as the page where you want all blog posts to live under, but that would probably create a suckerfish dropdown sort of look for that menu, which might not be what you want.
You could alias pages underneath that page for each blog post, or have one of us write a site specific auto-nav that'll show the blog posts right there no matter where they are.
Hi Scott,
The Alias thing sounds like what I think I need. Basically if I add set a bunch of configurable blocks, I want those blocks in the subsequent posts to have the same configuration and show up.
Can you point to an article or something on aliases or am I thinking of this wrong? I search and couldn't find anything that explained this.
The Alias thing sounds like what I think I need. Basically if I add set a bunch of configurable blocks, I want those blocks in the subsequent posts to have the same configuration and show up.
Can you point to an article or something on aliases or am I thinking of this wrong? I search and couldn't find anything that explained this.
look at blog_post, you'll see this line:
$a = new Area('Blog Main');
$a->setBlockLimit(1);
change:
$a->setBlockLimit(1);
by adding:
// to the front like:
//$a->setBlockLimit(1);
this will remove the block area limit but might hinder ya when I move the descriptions from the page descriptions to pulling the first content block in that blog area.
Let me know if that helps over in the marketplace support for blog, not out here on the main forum. I receive email notifications there, here I do not.
-Scott