Hi, if you want to test the new Aegir styled Midcom, it is now in MidCOM cvs 
for your testing pleasure. 

This is a quite big remake of the normal AIS interface. What has been
done:

* AIS now separates between Aegir and a simple look. The simple look is
more adapted to be integrated within pages while Aegir has a very
dsitinct look.
* Two new css files have been added aegir_style.css and
simple_style.css.
* Two new stylefiles, top-simple.php and top-aegir.php.
* A minor change in main.php. 

I haven't had time to do more than test the css in firefox and a tweeny bit in 
Opera  so if you find any errors and a way to fix them, please suggest changes.



To test Aegir2, do the following:
1.  Create a new copy of ais and place it somewhere. 
2. Create a new style and place the following in the ROOT element:
----------------------- cut here -----------------------------------
<?php echo '<?xml version="1.0" encoding="utf-8" ?>'; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> 
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
  <title>Aegir 2 </title>
<?
  if (method_exists($GLOBALS["midcom"],"print_head_elements")) {
     $GLOBALS["midcom"]->print_head_elements();
  } elseif (method_exists($GLOBALS["midcom"],"print_jscripts")) {
     $GLOBALS["midcom"]->print_jscripts();
  }
?>
</head>
<body <?php if (method_exists($GLOBALS["midcom"],"print_jsonload")) {
 $GLOBALS["midcom"]->print_jsonload(); 
}
?>   >
<(content)>

</body>
</html>
------------------------------- to here
-------------------------------------------
3. Set the new aispage to use this style (or set regular ais page to
this style).
4. You're just about set now. The last thing you have to do is to add an
extra configuration variable to your ais root topic (NOT root_topic!!!)
it is:
domain: midcom.content.admin 
name: aegir
value: 1
-- 
-- 
Tarjei Huse <[EMAIL PROTECTED]>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to