On Wed, Jan 13, 2010 at 6:01 AM, David Just <JustDDavidJust/Rochester/
[email protected]> wrote:

> The follow on to this question is, If set up for database, is there a
> way to add new templates without creating them programaticly?
>
> What I'd really like to do is to drop a new template folder into
> Pages/_user/ and have that loaded into the database.  Is this possible?
> Is there an API I can call to add a physical folder into the database
> schema.
>
> Take a look at the Site Manager administrative portlet

http://localhost:8080/jetspeed/portal/Administrative/site.psml

Navigator to the /_user/ folder and from there you can import either single
PSML files or zips of folders containing files

And yes, there is also an API -- you will need to do a deep copy from the
file system page manager to the database page manager. This code is actually
used in the import/export feature of the site manager, as well as in the
build task that automatically imports pages from the file system into the
dbpsml during the build

Reply via email to