[ic] Build pages from smaller parts

Kaare Rasmussen kar@webline.dk
Thu, 09 Nov 2000 15:49:59 +0100

How do I build a page from smaller parts. Can I do that at all?

Example: I'd like to make a page for entering customer data. A customer
can either be a private person or a company - the data entry page will
differ depending on this. But the building blocks are all alike; here's
sketch of the private customer page:

customer date (customer number)
private data (first and last name)
address (streetname etc)
more customer data (terms)

Now, I'd like to have an address page that is just embeddable into
another page. It can be used for other purposes as well, employee pages

Maybe the include tag can be used?

But one complication is that there are small and maybe larger
variations. In the last category is the company customer page. It is
similar to the private customer page, except of course that instead of
private data there are company data (name, attention person). But there
can also be more than one address - ideally an invoicing address,
several delivery addresses (not a fixed number of addresses) and maybe

I'd like to hear if there are some tricks that others have discovered
here, or if there's only the straight forward way to go.