Im trying to put a banner on the first page that loads but not on the others trought the layout.phtml of my theme.
I need to find a conditional like $main_page or something that makes the diference.
With this code you can go to the main page, an also in the user interface, in the navigation tab, you can select which page do you choose as your default
Second, when you talk about the Block Pluse, you refer to the class that you can give to the blocks or to the templates?
i’ve tried both but i tought it would be difficult to mu users to underestand that for the things to work they have to put exactly a certain name or tamplate, i prefer something that makes things easier for them
if you are refering to something else i’ll gladly hear about it
but either way it would be nice if there was a way to do it automatilcally, because the name welcome can be changed or, if you change the main site then that also chaneges.
Having not used the module for this purpose, I’m only speculating. For proper guidance you can contact the module’s creator on Gitlab. However, it looks like a three stage process:
Install the BlockPlus module
On the page where you wish to use a different template, add a Page Metadata block and choose the page type: