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

Shel Horowitz shel at principledprofit.com
Wed Jul 28 15:14:30 UTC 2021


Thanks.

Yes, same server. I tried pasting the code snippet you found after the
lang="en"> sequence, but nothing changed. Then I tried adding an angle
bracket in front, which autogenerated an <Add Type> command, and closed it
at the end of the snippet. Nothing changed with that, either.

Where is it supposed to go, and how should it be formatted?

On Wed, Jul 28, 2021 at 10:41 AM Michael Muller <tech at montaguewebworks.com>
wrote:

> 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
>
> Mik
>
> Mik Muller, president
> Montague WebWorks
> 239-R Main Street, Greenfield, MA
> 413-320-5336http://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, 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> 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
>> Building the really big sites:      http://www.tnrglobal.com
>> Small/Soho business in the PV:        http://www.hidden-tech.net
>> Places to meet for business:        http://www.meetmewhere.com
>> And for Arts and relaxation:http://TarotMuertos.com - Artistic Tarot Deck
>>    http://www.welovemuseums.com
>>    http://www.artonmytv.com/
>> Shakers: http://www.shakerpedia.com/
>> Helping move the world:             http://www.earththrives.com
>>
>> _______________________________________________
>> Hidden-discuss mailing list - home page: http://www.hidden-tech.net
>> 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
>>
>
>
> --
> 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
> 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
> (move your mouse to "event videos")
> _________________________________________________
>
>

-- 
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
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
(move your mouse to "event videos")
_________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hidden-tech.net/pipermail/hidden-discuss/attachments/20210728/a370b7c6/attachment.html>


Google

More information about the Hidden-discuss mailing list