![]() You can create as many pages as you want which all can use the Master Page. If you now publish or preview the page, it should appear as part of the master page, exactly where you placed the content placeholder: Select the masterpage.html we created before:Īnd basically, that's it. A new entry will appear where you will be able to select a page as master page. In the Properties window, go to the 'Master Page' option, and check it. The only thing missing is now to tell RocketCake to use the Master Page for this page. Add a new, empty page to the project, and fill it with some text and content: Now, we only need to add one or two pages with content to use this master page. Note: Without the placeholder, Master Pages won't work. Place it where your website content should be displayed: ![]() You can find it in the menu item 'Insert -> More -> Content Placeholder' or on the second page of the toolset on the right: To let RocketCake know which part of the website should change, add a 'Content Placeholder' on the page. This will now be the base for all pages, and we only will change the text content on every page. ![]() As example, create a menu and some caption on it, like this: ![]() Name it for example 'masterpage.html' to be sure you don't confuse it with a real page. This section will show how to do this.įirst, create some design layout page for your website. If you have a lot of web pages with repeating design, it might be easier to just design the layout once and reuse it on all pages which have actual content. RocketCake has a built- in feature named Master Pages, a simple mechanism to share parts of the website betweenĭifferent pages. How to use Master Pages How to use Master Pages ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |