skip to main content

kiesler.at
You are NOT logged in. ( login | New Account Signup | Forgot Your Password? ) Why log in?

Clock 0.3 for phpWebSite
updated by rck, 2005-03-26

Have a lot of visitors from different timezones? Always to late because you're playing around with your homepage? Bored to death and want something that changes after a while on your screen?

Or do you simply want to create your very own phpWebSite module? If you answered yes to any of those questions clock is for you.

0.3 now contains the danish language file, translated by Lasse Skov from LiquidArt. Thank you!

The img-directory

Here boost will look for the graphics referred to in the file conf/controlpanel.php.

The class-directory

Here are all your class files - your actual phpWebSite code! I usually include the config-file in the constructor.

The inc-directory

There's something special about the inc-directory. If it contains a file called runtime.php, that file will be called on every page of your site!

That way, you can easily show boxes outside of your module.

The docs-directory

It is a good habit to maintain at least a changelog and a quick guide, what your module is about. And please include some kind of contact-information. Where should people go, if they need support? If they have ideas? If they want to give you loads of money?

index.php

index.php is the dispatcher for your module. Always make sure, that the core has been loaded in memory. Here's also the place to instantiate your classes and fill the boxes with actual content. The clock-module demonstrates a minimal way of filling your main-box with content.




RSSComments - Make a comment
The comments are owned by the poster. We are not responsible for its content.
RSSAll Articles
2008, 2007, 2006, 2005, 2004

What's Related

Article Manager

Modules

Latest Updates

AdministrativeTexts
updated by freddiemac1993, 2013-06-14
wiki

Re: adventures
created by brittdavis10, 2012-02-23 (1 rply, 3 views)
thread

Re: how to run phpwebsite...
created by alexander, 2011-08-25 (2 rpls, 3607 views)
thread

Re: Forum tags
created by HaroldFaragher, 2011-08-22 (3 rpls, 8488 views)
thread


Zu den KO2100 Foren