phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-developers] themes and templates


From: Chris Weiss
Subject: Re: [Phpgroupware-developers] themes and templates
Date: Mon, 17 Feb 2003 16:22:37 +0000

Gilles Février (address@hidden) wrote*:
>
>Sorry if i misunderstand the questions... :-)
>
>> I have several questions concerning the templates.  Please forgive me as I
>feel I am back engineering phpgroupware.  It takes some getting used to!
>
>I created new templates a few months ago to show phpGroupWare, and it is no
>so easy. I encountered some problems because sometimes, fonts, colors... are
>defined directly in the application source. :-(

There are apps that do this, and they are wrong to set colors in code,  All 
colors
should be taken from the theme settings.  However, fonts are not standardized
unless the theme uses CSS correctly.

The codes listed as {something} in the templates are replaced by some value by 
the
application using the template, and if not set the template system will replace
them with nothing, or "".  Typically, this will just be a value, but some are 
also
placeholders for template wigets, like the "list" (not a form list/select, an 
html
table that contains a list) like the New email list on the "welcome" screen.

>
>> - Where is the theme for the user and or application set.
>
>./phpgroupware/phpgwapi/themes/
>./phpgroupware/phpgwapi/templates/
>
>>i.e. where is it stated that the applications should be set to default
>rather than verdilak?
>
>Preferences -> change your settings -> Interface/Template Selection* ?
>
>> - could some one give me a better idea of the structure of the GLOBAL
>array.

$GLOBALS is a special php array containing every "global" variable in the 
current
script, more info here 
http://www.php.net/manual/en/language.variables.scope.php.
So this will change from app to app and version to version, very hard ot just 
lay
it out.

>
>> - how does one set the default application once logged on for the normal
>user
>
>Preferences -> change your settings -> Default application ?

Correct.  Also, on that prefs page when logged in as an admin user 
(Administration
application granted) there are tabs at the top for Default and Forced.  Default
applies only to new users and those who have never set that prefs page.  Forced
will force the setting for all users on the system.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]