14.3.2
master page is to make common elements match in other pages.
I created a banner page, and the banner uses the page name
I embedded that into the masterpage, and set use page name.
it shows 'masterpage' correctly.
I added that masterpage to the index page,
and now the home page title shows 'masterpage', instead of home.
??
how do I get the banner to show the proper page?
masterpage
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Re: masterpage
A banner is an image, so if you put it on a master page then it will be the same for all pages.
-
-
- Posts: 71
- Joined: Mon Feb 04, 2019 1:04 am
Re: masterpage
so instead of using a masterpage to make the banners a common element,
I need to insert them one by one for each and every page.
I need to insert them one by one for each and every page.
Re: masterpage
If the banner needs to be different for all pages then it cannot be part of the master page.
Re: masterpage
@Pablo
Would it be possible to use the variable $PAGE_NAME$ on the banner on a master page. Or have I misunderstood the question.
Would it be possible to use the variable $PAGE_NAME$ on the banner on a master page. Or have I misunderstood the question.
Re: masterpage
I do not think that will work because the banner is an image. So, it will be the same image (with the same text) for all pages.
Re: masterpage
@crownfield
As Pablo has reminded me, you can't use my workaround as the Banner object is an image. So you may have to think of another way to do what you want to achieve. One suggestion is to replace the Banner object in your Master Page with a Layer or a Layout Grid depending on the design for the rest of your page. Insert into the Layer/Layout Grid a Text object and insert the following text $PAGE_TITLE$ which is the variable for the title of the page. If that Master Page is placed into each of your pages then the Title of the page will appear in each of you pages.
If you want to look at the other variables that are available look at Page Menu in the help file.
Brian
EDIT You don't have to use a Layer or Layout Grid, you could just use the Text object, so it's whatever suits your design.
As Pablo has reminded me, you can't use my workaround as the Banner object is an image. So you may have to think of another way to do what you want to achieve. One suggestion is to replace the Banner object in your Master Page with a Layer or a Layout Grid depending on the design for the rest of your page. Insert into the Layer/Layout Grid a Text object and insert the following text $PAGE_TITLE$ which is the variable for the title of the page. If that Master Page is placed into each of your pages then the Title of the page will appear in each of you pages.
If you want to look at the other variables that are available look at Page Menu in the help file.
Brian
EDIT You don't have to use a Layer or Layout Grid, you could just use the Text object, so it's whatever suits your design.