Bean block banner

adrianavaz's picture
adrianavaz
Sun, 07/03/2016 - 11:34
#1
Bean block banner

I am using the Banner block content type already created by the theme. It shows the background image and the title is always the node title (depends on the node we're viewing). This works just fine for some pages.

But on other pages I want the exact same banner but without having the title changed according to the node title.

I want a block to display a custom text eg. WORKERS , and not the name of the worker (name of the node...) How can I do this??

Thank you

phuonght's picture
phuonght
Sun, 07/03/2016 - 22:32

Hi,

Please

- Go to admin/structure/block-types/manage/banner/fields, add a new text field named Custom Text

- Open file bean--banner--default.tpl.php (sites\all\themes\md_structure\templates\bean) and add new condition to display that custom text. For example: if there is custom text, PAGE TITLE of node will be not printed.

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.