Can you add a custom template to a block in the global scrapbook?

Permalink
I would like to add a block to the global scrapbook, but it needs a custom template or it doesn't make sense as a scrapbook item.

Is this currently possible, or is this planned as a feature?

elyon
 
andrew replied on at Permalink Reply
andrew
We need this. Global blocks lose some of their utility without it, I agree.

We will put this on our short list for our next version, as some of our forthcoming marketplace custom templates depend upon something like this.
banal replied on at Permalink Reply
I was wondering if this is implemented in 5.3.3.1 and where to put the template files?
TimDix replied on at Permalink Reply
TimDix
But not on the personal scrap books.

Create a shared scrap book, and create your item, you'll see that you can edit the template for it, and this change is reflected on all pages that have it. I think this has been there for about 2-3 months, you just need to use the shared scrap book.
banal replied on at Permalink Reply
Thanks for the reply. But if I select "Set Custom Template", I get: "There are no custom templates available."

I was wondering where I have to put the template files?
TimDix replied on at Permalink Reply
TimDix
All templates should be placed here:


/blocks/BLOCKNAME/templates/TEMPLATENAME/view.php

Readhttp://www.concrete5.org/help/building_with_concrete5/developers/un... for more information.
banal replied on at Permalink Reply
Thanks for helping me out. This was clear to me. What I can't figure out is where the scrapbook templates are located. I tried:
/blocks/scrapbook/templates/custom_template.php

but that didn't work.
banal replied on at Permalink Reply
Sorry, I figured it out. I thought Scrapbook items have some sort of custom template system... but apparently I can simply use the "content" template if the scrapbook item is a "content" block.
Thanks for helping.
kingpangilinan replied on at Permalink Reply
Hi banal,

Did you got a solution for having a global content that have a custom template?

Please share it, I have this kind of problem...

I want to have a block that when I change its text, it will reflect to all its instance but still can choose to display it in different ways using custom template.

Thanks
-King
jordanlev replied on at Permalink Reply
jordanlev
You can set a custom template for scrapbook blocks (should be a "Custom Template" link next to the block in Dashboard -> Scrapbook). But unfortunately if you set the custom template it applies to ALL instances of the block throughout your site -- if you change it for one it changes it everywhere and there's no way to have different custom templates for each one.
kingpangilinan replied on at Permalink Reply
hmmmm..... Okei, I thought I got a solution for my problem... T.T

Nways, Thanks for your time "jordanlev"...