[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] [Fwd: Re: RAQ 3 Templates]
- Subject: [cobalt-developers] [Fwd: Re: RAQ 3 Templates]
- From: ChaosIndustries <chaosindustries@xxxxxx>
- Date: Thu Jun 29 13:32:42 2000
Maybe there is someone out there who is interested in....
-------- Original Message --------
Betreff: Re: RAQ 3 Templates
Datum: Thu, 29 Jun 2000 20:52:54 +0200
Von: ChaosIndustries <chaosindustries@xxxxxx>
An: mcannon@xxxxxxxxxxx
Okay, that is a desc i can use ;)
First you have to know some Basics:
The "home" from all that stuff running on port 81 is
/usr/admserv/ (will say ~ from now)
~/cgi-bin/ is the cgi-bin dir from that httpd
~/html/ the "normal" web root dir
domain.dom:81/ will go to ~/html/
domain.dom:81/cgi-bin/ will go to ~/cgi-bin/ (not to ~/html/cgi-bin/ as
asumed)
~/templates/ is the path where the most templates are stored.
in ~/html/ and in ~/cgi-bin/ is a dir named .cobalt (use 'ls -Af' to
see)
All Files used by the GUI are behind that two .cobalt dirs
Note that all files are owned by root.
> I would like our logo in place of the Cobalt logo for starters
To change the Logo in the upper left Corner just replace
~/html/.cobalt/images/a_top_logo.gif
>From now there is YOUR Logo
All Images used by the GUI are in ~/html/.cobalt/images/
Changing that images will not take any critacal effect of the function
from the GUI
> but beyond that I
> would like to customize the actuall pages it creates by default. It would be
> great if the virtual sites looked like our site with respect to colors and
> formatting.
>
Will be some work. The Templates the GUI is using are that one in
~/templates/
Take a look in it, but still be sure what you are doing cause changing
that
templates
in a wrong way or forget some details may take effekt on the function of
the GUI
>
> The RAQ 3I creates virtual sites and personal pages and it uses something as a
> template but I cannot determine what or where. I too am trying to learn as much
> about these machines as possible and appreciate any help you provide.
>
> By changing the files within /etc/skel/ will that modify all new virtual sites
> created? Also where are the graphics files located?
>
/etc/skel/group/en_US/web/index.html is the default placeholder page
when a vsite is
created. You can edit that without any risk. The page you will see when
visiting
www.new_site.dom - that is that page.
The gfx used in that page is located in the same dir where the logo is.
>
> What did you mean by "Use [DOMAIN] as placeholder for that template"?
>
That index.html is a template - that means it has dynamic content. The
Content here
is
the name of the vsite you have created. [DOMAIN] (DONT replace DOMAIN,
write
exactly [DOMAIN]) will be replaced with the vsite name you have created.
If you created a vsite www.abc.dom in each place where you used [DOMAIN]
in that
template you will find www.abc.dom
Greets Sven
mcannon@xxxxxxxxxxx wrote:
>I would like our logo in place of the Cobalt logo for starters but beyond that I
>would like to customize the actuall pages it creates by default. It would be
>great if the virtual sites looked like our site with respect to colors and
>formatting.
>Hi Sven,
>
>The RAQ 3I creates virtual sites and personal pages and it uses something as a
>template but I cannot determine what or where. I too am trying to learn as much
>about these machines as possible and appreciate any help you provide.
>
>By changing the files within /etc/skel/ will that modify all new virtual sites
>created? Also where are the graphics files located?
>
>What did you mean by "Use [DOMAIN] as placeholder for that template"?
>
>Sorry for all the questions...
>
>Mike