[Chameleon-dev] [Bug 919] Custom Widgets Directory

bugzilla-daemon at maptools.org bugzilla-daemon at maptools.org
Mon Jan 10 12:26:21 EST 2005


http://www.maptools.org/bugzilla/show_bug.cgi?id=919

pspencer at dmsolutions.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From pspencer at dmsolutions.ca  2005-01-10 12:26 -------
this exists on a 'per-application' basis already by passing an array of extra
directories to the execute function, i.e:

$oApp->CWCExecute( array( '/path/to/my/widgets/' ) );

where the path can be either absolute or relative to the directory of the
'index.phtml' file.

Skins can be in any directory too, using:

$oApp->registerSkin( 'path/to/skin' );

Again, skins are either absolute or relative to the local directory. 

If you have both widgets and skins in an application

myApp/htdocs/widgets
myApp/htdocs/skins/myskin

$oApp->registerSkin( 'skins/myskin' );
$oApp->CWCExecute( array( 'widgets' ) );



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Chameleon-dev mailing list