Clover13 Posted January 1, 2023 Posted January 1, 2023 I find myself using the same Pages sidebar blocks on many pages and was wondering if there is a way to template it in one place and then simply add it as a single block on any page or even just default any page that isn't customized to use it? For example, say I have 10 sidebar blocks and 20 pages I want them on, I have to add 200 blocks manually. I'd prefer to set this as a default in one place and all pages just inherit it but you can still go in and customize any of them if you desire.
Solution Jim M Posted January 2, 2023 Solution Posted January 2, 2023 I'm afraid, there is no template feature as a part of Pages. They are each separate. Please feel free to suggest this in our Feature Suggestion forum for further evaluation, however. Clover13 1
Clover13 Posted January 2, 2023 Author Posted January 2, 2023 Ok I'll add a suggestion there. Thanks Jim!
opentype Posted January 2, 2023 Posted January 2, 2023 What are you using these pages for? I really only use “stand-alone” pages for unique pages. As soon as I need a repetitive design (including blocks), I switch to Pages databases. Then I have unlimited “pages” (as database record) using the same page layout with the same blocks.
Clover13 Posted January 2, 2023 Author Posted January 2, 2023 (edited) 2 hours ago, opentype said: What are you using these pages for? I really only use “stand-alone” pages for unique pages. As soon as I need a repetitive design (including blocks), I switch to Pages databases. Then I have unlimited “pages” (as database record) using the same page layout with the same blocks. Say I want Activity Stream view, Forums view, Forum Topic view, Leaderboard, Events, etc all to have a common set of blocks, I have to go in and customize each individually and ensure there's consistency. If I add or remove a block I have to manually go through all of them. And if I have several sites then multiply it by N. If I add a new page or new app then I have to go in at every level of the hierarchy and add them manually there too. Agree on DB driven Pages you have common templating you can apply. I guess this is the same in principle except it's for those apps outside of Pages. Edited January 2, 2023 by Clover13
opentype Posted January 2, 2023 Posted January 2, 2023 (edited) Sure, for the whole suite, a “global” option could make sense once the layout containers are revamped someday. On the other hand: it will probably just reverse the problem. Then people will complain and say: I added a global sidebar/block and now I have all these places where something doesn’t make sense and I now I have to manually suppress it (if that is even supported). Edited January 2, 2023 by opentype
Nathan Explosion Posted January 2, 2023 Posted January 2, 2023 @Clover13 Global block... Create a custom HTML block, add other blocks in using the {block='myblock'} logic and then drag the custom block into place. opentype and Clover13 2
Clover13 Posted January 2, 2023 Author Posted January 2, 2023 15 minutes ago, Nathan Explosion said: @Clover13 Global block... Create a custom HTML block, add other blocks in using the {block='myblock'} logic and then drag the custom block into place. I'll give this a go
Clover13 Posted January 2, 2023 Author Posted January 2, 2023 (edited) 42 minutes ago, Nathan Explosion said: @Clover13 Global block... Create a custom HTML block, add other blocks in using the {block='myblock'} logic and then drag the custom block into place. So this works with the exception of it being a single list element rather than each block being a list element. Will play around with the CSS and see if I can get it to look the same. Edited January 2, 2023 by Clover13
Recommended Posts