Reply to Re: Menu

Your name:

Reply:


Posted by Luigi Donatello Asero on 06/07/05 00:28

"Oli Filth" <catch@olifilth.co.uk> skrev i meddelandet
news:3RYoe.1927$ls3.713@newsfe1-win.ntli.net...
> Luigi Donatello Asero said the following on 06/06/2005 13:49:
> > I want to point out that the kind of help which I would expect from this
NG
> > would be to implement technical solutions and not to define my aims.
> > So, for example, I could ask: how can I let my buttons disappear and you
> > could answer: "by using the property [display: none;]" and not by saying
> > "but why on earth do you want to let the buttons disappear?"
>
> This is a newsgroup, not an HTML help-desk! More often than not, posting
> a question will lead to a discussion rather than a direct answer, as I'm
> sure you are aware.


Yes, I am. But it should be balanced.
To speak almost only about other things than the original question does not
make much sense.

> If anyone is opinionated, perhaps it is you, because you refuse to
> realise that maybe you still have stuff to learn about web progamming
> and design.

Not at all. I have learned things since I was born and I am going on.
But I am of the opinion that I am not the only one who has to learn.
Everyone has.

Commercial websites have been around for at least 10 years,
> there have been thousands if not millions of them. In these 10 years,
> people have learnt the hard way what is a good idea and what is not,
> what works and what doesn't work, what is a good design and what is a
> bad design. Why put yourself at a disadvantage by ignoring all of this?
>
> An analogy:
>
> If you were to design a car (or a TV, or a space shuttle, or shampoo, or
> anything), would you ignore all the literature and knowledge about how
> cars have been designed in the last 100 years, and say "That's just your
> opinion. I know better"? I doubt it. You'd probably find some good
> examples of cars that work well, try to understand why they work well,
> and then take it from there.
>
> Once you'd got to that stage, then it would be appropriate to say "what
> can I do differently now that I have something that works?".
>
> > In this thread I had asked how to create a site map in the best way but
I
> > have not found any answer about that.
>
> That's probably because your pages are so inconsistent, that it's
> impossible for anyone to figure out what would suit you for a site-map
> or navigation.


That has not much to do with that, in my opinion.

> Like I said, using a template system rather than loads of static HTML
> pages would help you immensely. Design a page template that contains the
> navigation menus and headings, etc., and use PHP to insert (or
> include()) the necessary page-specific content for each page that the
> user requests.

Ok. That has finally to do with site maps but it is perhaps not exactly what
I was looking for.
First of all I wonder whether this system would be good for the robots.
But I am doing something similar without include() with statical pages and
php without insert to avoid problems with search engines.
> e.g.:
>
> menu.html
> =========
>
> <DIV id="menu">
> <H2>Menu</H2>
> <UL>
> <LI><A href="page.php">Home</A></LI>
> <LI><A href="shoes.php">Shoes</A></LI>
> <LI><A href="stuff.php">Stuff</A></LI>
> </UL>
> </DIV>
>
>
> home.php
> ========
>
> <!DOCTYPE ...>
> <HTML>
> <HEAD>...</HEAD>
> <BODY>
> <?php include "menu.html"; ?>
>
> <H1>Welcome to my site!</H1>
> ....
> ....
> </BODY>
> </HTML>
>
> Use the same <?php include "menu.html"; ?> line in every page.
> Obviously, you'd need to work out how to get it to cope with different
> language versions.
>
> That's how I design all of my sites. It works. It saves me huge amounts
> of time. It's easy to maintain. It ensures all pages are consistent and
> up to date. It keeps page infrastructure separate from page content. You
> have no reason not to at least try this!

> There - that is direct, practical, sensible advice that answers your
> original question. ;)


Yes, it is.
But I am afraid that it is not robots΄ friendly.
That is also why I have done it manually, so far.


--
Luigi ( un italiano che vive in Svezia)
https://www.scaiecat-spa-gigi.com/sv/semesterbostad-i-le-cinque-terre.php

[Back to original message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация