[Hidden-tech] How can I get this HTML to pull in the menu, header, footer, and sidebar files?

Michael Muller tech at montaguewebworks.com
Wed Jul 28 14:41:48 UTC 2021


Is this on the same server as before? As I recall, you could set up ssi 
(server side includes) functionality to also respond to regular html files.

Here's an article I found.

  * https://stackoverflow.com/questions/34651889/whats-the-difference-between-html-and-shtml-now
    <https://stackoverflow.com/questions/34651889/whats-the-difference-between-html-and-shtml-now>

Mik

Mik Muller, president
Montague WebWorks
239-R Main Street, Greenfield, MA
413-320-5336
http://MontagueWebWorks.com
Powered by ROCKETFUSION

On 7/28/2021 10:10 AM, Shel Horowitz wrote:
> Thanks, Rich and Mik.
>
> I noticed that other pages on the site have the same problem, which 
> means I messed something up when I was fixing the home page. Just to 
> make sure, I went back to an Archive.org snapshot and 
> clicked through to two of the articles, including 
> https://web.archive.org/web/20160324165141/http://frugalfun.com/greener-holiday.html 
> <https://web.archive.org/web/20160324165141/http://frugalfun.com/greener-holiday.html>. 
> The sidebar menu was in place--which means there is no technical 
> reason why a plain old html page can't get the menu in the sidebar. 
> But when I go in directly to 
> https://frugalfun.com/greener-holiday.html 
> <https://frugalfun.com/greener-holiday.html>, the sidebar is blank.
>
> Php is way out of my depth. But that it's pandemic throughout the site 
> means it's probably just a simple tweak of the home page code for 
> someone who knows what they're doing--probably reinserting something I 
> took out that I shouldn't have. I did save a copy of the code before I 
> started messing around with it. And that the problem is not showing on 
> the archived copy means that it *is* fixable in html.
>
> I did send the raw code for the home page Monday, subject line "Re: 
> Little HTML code issue" (it's the first response to my original post). 
> If anyone wants to take a look, I'm grateful, as always.
>
> On Tue, Jul 27, 2021 at 4:09 PM Rich at tnr via Hidden-discuss 
> <hidden-discuss at lists.hidden-tech.net 
> <mailto:hidden-discuss at lists.hidden-tech.net>> wrote:
>
>     Shel
>     you are reworking a CMS does - you probably should at least be
>     using PHP pages not simple html
>
>     That code requires at least .shtml files that support the #include
>     in your example
>     Not knowing if your server even supports .shtml files any more --
>     if not - most support .php now
>
>     On 7/27/2021 3:02 PM, Shel Horowitz via Hidden-discuss wrote:
>>     <!-- -------------------------------------- -->
>>     <!--#include file="menu.shtml" -->
>>     </td>
>>     <td width="120" length="100%" valign=top bgcolor="#60a040"
>>     cellpadding="5">
>>     <!--#include file="sidebar.txt" -->
>>     </td>
>>     </tr>
>>     <tr>
>>     <td colspan="100%">
>>     <!--#include file="footer.txt" -->
>>     </td>
>>     </tr>
>>     </table>
>>     </body>
>>     </html>
>>     -- 
>>     What am I doing wrong?
>>
>>     Many thanks,
>>
>>
>     -- 
>     Rich Roth
>     CEO TnR Global
>
>     Bio and personal blog:http://rizbang.com  <http://rizbang.com>
>     Building the really big sites:http://www.tnrglobal.com  <http://www.tnrglobal.com>
>     Small/Soho business in the PV:http://www.hidden-tech.net  <http://www.hidden-tech.net>
>     Places to meet for business:http://www.meetmewhere.com  <http://www.meetmewhere.com>
>     And for Arts and relaxation:
>     http://TarotMuertos.com  <http://TarotMuertos.com>  - Artistic Tarot Deck
>         http://www.welovemuseums.com  <http://www.welovemuseums.com>
>         http://www.artonmytv.com/  <http://www.artonmytv.com/>
>     Shakers:http://www.shakerpedia.com/  <http://www.shakerpedia.com/>
>     Helping move the world:http://www.earththrives.com  <http://www.earththrives.com>
>
>     _______________________________________________
>     Hidden-discuss mailing list - home page:
>     http://www.hidden-tech.net <http://www.hidden-tech.net>
>     Hidden-discuss at lists.hidden-tech.net
>     <mailto:Hidden-discuss at lists.hidden-tech.net>
>
>     You are receiving this because you are on the Hidden-Tech
>     Discussion list.
>     If you would like to change your list preferences, Go to the Members
>     page on the Hidden Tech Web site.
>     http://www.hidden-tech.net/members
>     <http://www.hidden-tech.net/members>
>
>
>
> -- 
> Shel Horowitz - "The Transformpreneur"
> ________________________________________________
> Contact me to bake in profitability while addressing hunger,
> poverty, war, and catastrophic climate change
> * First business ever to be Green America Gold Certified
> * Inducted into the National Environmental Hall of Fame
> * Certified speaker: International Platform Association
> http://goingbeyondsustainability.com 
> <http://goingbeyondsustainability.com>
> mailto:shel at greenandprofitable.com 
> <mailto:shel at greenandprofitable.com> 413-586-2388
> Award-winning, best-selling author of 10 books.
> Latest: Guerrilla Marketing to Heal the World
> (co-authored with Jay Conrad Levinson)
>
> Watch my TEDx Talk,
> "Impossible is a Dare: Business for a Better World"
> http://www.ted.com/tedx/events/11809 
> <http://www.ted.com/tedx/events/11809>
> (move your mouse to "event videos")
> _________________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hidden-tech.net/pipermail/hidden-discuss/attachments/20210728/aaee0c53/attachment.html>


Google

More information about the Hidden-discuss mailing list