any advice welcomed on how to create a 2nd blog template

Permalink
Hi There.

I'm very new to C5 and have managed to sort most things out myself by trial and error, google and/or heavy caffine intake but I'm going to have to admit defeat on this one and ask for some help.

I have created a multi-user site with various permission groups, one of them called Blog Editors. Some of the user in this group also have varying other permissions sets. I want the Blog Editors group to be able to create blogs, the write function in composer, which can only be placed in one of two locations.

I have tried creating a 2nd blog_type (with different handle) in the Page Types section but am having all sorts of issues with the page not looking the same and also the Content Editor is not visible on the 2nd blog type but is totally view-able on the first.

The further i go to try to solve this, the more I am beginning to think I am over engineering my solution.

Is there an easy way of allowing a user group to create blogs that go into more than one specific locations. IE a choice of 2 locations?

Any help would greatly reduce my caffine intake and make me smile a little more....

Regards

Gary ;-)

 
enlil replied on at Permalink Reply
enlil
In my mind the easiest way to accomplish this would be to copy the page type .php file you use for the blog pages in one section to a name like my_blog_entry.php then install this page type through the dashboard. Set one page type to publish in one area and set the other page type to publish to the second area. Now your blog posters would just need to select appropriately where the blog needs to be published.
clarkedigital replied on at Permalink Reply
Thanks for the reply enlil.

I've taken your advice (I think I understood) and created a copy of the blog_entry.php in the root/concrete/page_types folder and called it blog_head.php.

This has worked to a fashion, as I am now able to use the compposer to 'write' a blog and am given the option of either bog beforehand (each one is set to post to the correct area of the website).

The only thing I now can't work out is the composer is slightly different for each blog type.

The default one looks fine but the new custom one is missing the images and the WYSIWYG editor for the content block. I'm going to recheck all my permissions and also look at the permissions in each block of the template and report back.

Thanks again for your advice. very much appreciated.

Regards

Gary
enlil replied on at Permalink Reply
enlil
you need to make sure to set up the new page type for composer ;)
clarkedigital replied on at Permalink Reply 2 Attachments
Nope. still can't figure it out.

I can't get the composer to display the correct content block WYSIWYG editor.

Take a look at the two images attached. The first shows the default blog_entry and the second shows the new one I have created. Can't work out what I'm doing wrong...

Will keep on googling

:-(
enlil replied on at Permalink Reply
enlil
Theres no attachments. If you'd like to PM me login details I'd be happy to take a look and hopefully send you in the right direction...

EDIT: Hmmm, now i see them...
clarkedigital replied on at Permalink Reply
thanks for your help enlil, I managed to sort it out.

When you create a second page type you have to delete the existing block and create a new one, remembering to add a new name and add composer permissions to include it in composer.

Easy when you know how.

Thanks again