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?
Is this currently possible, or is this planned as a feature?
I was wondering if this is implemented in 5.3.3.1 and where to put the template files?
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.
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.
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?
I was wondering where I have to put the template files?
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.
/blocks/BLOCKNAME/templates/TEMPLATENAME/view.php
Readhttp://www.concrete5.org/help/building_with_concrete5/developers/un... for more information.
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.
/blocks/scrapbook/templates/custom_template.php
but that didn't work.
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.
Thanks for helping.
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
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
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.
hmmmm..... Okei, I thought I got a solution for my problem... T.T
Nways, Thanks for your time "jordanlev"...
Nways, Thanks for your time "jordanlev"...
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.