masterpage

All WYSIWYG Web Builder support issues that are not covered in the forums below.
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
Post Reply
crownfield
 
 
Posts: 71
Joined: Mon Feb 04, 2019 1:04 am

masterpage

Post by crownfield »

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?
User avatar
Pablo
 
Posts: 23027
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: masterpage

Post by Pablo »

A banner is an image, so if you put it on a master page then it will be the same for all pages.
crownfield
 
 
Posts: 71
Joined: Mon Feb 04, 2019 1:04 am

Re: masterpage

Post by crownfield »

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.
User avatar
Pablo
 
Posts: 23027
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: masterpage

Post by Pablo »

If the banner needs to be different for all pages then it cannot be part of the master page.
lummis
 
 
Posts: 221
Joined: Sun Apr 24, 2011 9:18 am
Location: UK

Re: masterpage

Post by lummis »

@Pablo

Would it be possible to use the variable $PAGE_NAME$ on the banner on a master page. Or have I misunderstood the question.
User avatar
Pablo
 
Posts: 23027
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: masterpage

Post by Pablo »

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.
lummis
 
 
Posts: 221
Joined: Sun Apr 24, 2011 9:18 am
Location: UK

Re: masterpage

Post by lummis »

@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.
Post Reply