ALIGN THE SAME BLOCK IN ALL PAGES?
Multiple pages use the same block.
If I want the content of that block changed on all pages at the same time, where do I do that?

  • 354
Comments
    • Custom block or a block from a module? If from a module, block content is controlled by module functionality, so you may have to make a custom modification or use CSS injections in the template to restyle what you need. 

      • Custom block. For example, I have a Lang block, which I recycle throughout all pages in the left bar. As it is, I have to edit the block on each page one-by-one, if I decided to change something.
        At some point I will have maybe 100 pages, so it would be comfortable to be able to edit the block in one place, and it would be changed on all pages.

      • If it's block with links then you can create your own custom menu and then use it in 'menu' block. You will need to change the menu via Navigation builder to reflect changes in all blocks where this menu is displayed.
        Tip: if you want to make menu items highlighted on current page then make sure that menu item name match page name. 

        Another option is to use 'lang' block, then you can change the language key via Polyglot app to make changes in all blocks with the same language key.

      Login or Join to comment.