An easy way to get the menu on my...

User 132002 Photo


Registered User
131 posts

Is there an easy way to do this.
With many pages, it is difficult to remember getting the menu on all pages. (For me it is).
Hope someone has come up with a solution for this.
Søren, Denmark
User 2147626 Photo


Ambassador
2,942 posts

Can't remember who it was now that suggested this, but if you install the menu in an iframe, on all pages, then all you have to do is update the menu once. :D
Graphics for the web, email, blogs and more!
-------------------------------------
http://sadduck.com
User 1948478 Photo


Senior Advisor
1,850 posts

User 132002 Photo


Registered User
131 posts

Gunsmoke and Per

Thank you.

But none of these seems to work.

With iframe the new page tries to open in the iframe window.

With include the menu don't show on the web page.
Søren, Denmark
User 187934 Photo


Senior Advisor
18,625 posts

If your using an iframe you will need to change the links to target="_parent".
For php includes to work on an html page you need to alter your .htaccess to sparse php within html.
Add this line to your .htaccess.
AddType application/x-httpd-php .html
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
https://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
https://progrower.coffeecup.com/shop/
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 132002 Photo


Registered User
131 posts

Eric

As always you are very helpful.
Thank you.
Søren, Denmark
User 122279 Photo


Senior Advisor
12,390 posts
Online Now

There is also the option to use object includes. Your files can remain .html, and you can preview them locally. You don't have to change anything in the robots.txt. This is what you add to the pages:
</object>
You will have to change the dimensions and the path to your file, of course.
Ha en riktig god dag!
Inger, Norway
My new honey site, built with RFF: http://www.eikweb.com/horgenhonning/
Component sharing for RFF, RBB, RSD and SD: http://www.eikweb.com/sharing/


User 122279 Photo


Senior Advisor
12,390 posts
Online Now

There is also the option to use object includes. Your files can remain .html, and you can preview them locally. You don't have to change anything in the robots.txt. This is what you add to the pages:

<object style="width: 166px; height: 550px;" data="inc/nav.html">
</object>

You will have to change the dimensions and the path to your file, of course.
Ha en riktig god dag!
Inger, Norway
My new honey site, built with RFF: http://www.eikweb.com/horgenhonning/
Component sharing for RFF, RBB, RSD and SD: http://www.eikweb.com/sharing/



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.