kde-www module

Christoph Cullmann cullmann at babylon2k.de
Wed Oct 16 21:51:50 UTC 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 16 October 2002 22:33, Christoph Cullmann wrote:
> On Wednesday 16 October 2002 21:22, Christoph Cullmann wrote:
> > Hi,
> > I would like that you simply be able to dumb this module to a webserver,
> > set some global vars + php include dir and that was it, seems not to work
> > atm ;((, please fix that or we will never get www mirrors fast.
>
> More notes:
> 1. no own css styles per site please, for what ?
> 2. include dir should be set to the place where the inc/, images/, styles/
> dir is located, e.g. server root, to make includes a la include
> "inc/functions.inc" possible withour dir vars
> 3. only relative links (only full links from on family page to an other
> family pages, e.g. http://usability.kde.org )
>
> > cu
> > Christoph

Have changed some stuff, now:

<?php

$site_title = "Kate Homepage";
$site_root = "../";
require_once("inc/functions.inc");

page_header("Home");

?>

<h2>Buhh, docu</h2>


<?

page_footer();


?>


Is enough to create a page + make it nicely mirrorable (as only relative links 
to the page content in the menu and absolute links like /styles/* are used 
for the common stuff.

Only problem atm:
 Menu does not work well with my "relative dir links" hack, need to be fixed 
right :((

$site_root says which relative dir is the root of the site menu (atm only 
stuff like ../../../ is supported, simply substr_count of .., dumb).
Menu starts from the ../../........ thingy dir and makes it links relative, 
currently broken if the current menu level is higher than the menu level of 
the link.


- -- 
Christoph Cullmann
Kate/KDE developer
cullmann at kde.org
http://kate.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9rd98yPjDGePm9UIRAvxeAJ4885DcNwbLllyRUEf+hFKWqjZ21QCcC0cK
Nw27T6K6rC3X05evwFv6Aw8=
=x5YQ
-----END PGP SIGNATURE-----




More information about the kde-www mailing list