Multi-Page site

User 2601283 Photo


Registered User
219 posts

I think I might actually be catching on to how RLMP works :D, my next step is to add additional pages. I know that it can be done, but my question to the gurus is: Is it better to build all of the pages in RLMP before you export it to the editor, or build to layout once and duplicate it in HTML Editor? The layout will be pretty consistent over most of the pages.
User 187934 Photo


Senior Advisor
20,181 posts

I would make make as many pages as possible through RLM. I would also make pages with duplicate layouts this way your setup for making quick alterations to pages that need new content.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 38401 Photo


Senior Advisor
10,951 posts

One of the great things about RLM is the ability to create new pages along the way. Even a year later you can load up the file in RLM for your site and create a new page. When you export it just export it to a new location and the only files you will need to move to the site are the ones that have to do with the new page(s) such as the CSS files and JS files and the HTML pages of only the pages you just created. This makes adding on to your site an awesome experience over hand moving things around on a code editor.
User 2601283 Photo


Registered User
219 posts

Ok. One more question. If I am using menu builder menus, do I have to add that code to every page, or is there a way for it to duplicate on the other pages.
User 187934 Photo


Senior Advisor
20,181 posts

The code for the head can be carried on but you may want to take a look at doing a php include right from the beginning to avoid having to re-add the menu html over and over.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2601283 Photo


Registered User
219 posts

Are there by chance directions on doing a php include somewhere?
User 2088758 Photo


Senior Advisor
3,086 posts

Hi Angie,

You can find the instructions on how to do this here:
http://www.w3schools.com/php/php_includes.asp

Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 2601283 Photo


Registered User
219 posts

Thanks. Can I include 2 MB menus in the same folder? Do I make a menu.php folder and put the horizontal and vertical menu folders inside?
User 1948478 Photo


Senior Advisor
1,850 posts

You can place the php files pretty much anywhere you want, as long as you use the correct path when you refer to them in your markup.

Just as an example, if you have two menu files, menu-horizontal.php and menu-vertical.php, and you place them in a folder called php-includes, you would refer to them as:

<?php include("php-includes/menu-horizontal.php"); ?>
and
<?php include("php-includes/menu-vertical.php"); ?>

This also assumes that your main pages, as well as the php-includes folder, are located in the root folder.
User 2601283 Photo


Registered User
219 posts

Thank you! You have made these
MANY hours of frustration worth the effort!!!

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.