[opencms-dev] Question!!! Please REPLY!!!

Jeff Pittman geojeff at swbell.net
Thu Jan 30 04:03:57 CET 2003


Check that -- should be text file, as it says in the pdf help file.

Jeff

----- Original Message -----
From: "Jeff Pittman" <geojeff at swbell.net>
To: <opencms-dev at www.opencms.org>
Sent: Wednesday, January 29, 2003 6:00 PM
Subject: Re: [opencms-dev] Question!!! Please REPLY!!!


> Hi Elyasin and All,
>
> I just joined this list and only installed opencms yesterday, so am having
> similar problems as Elyasin.  I am making headway by feeling around the
> system by trial and error.
>
> In case it is instructive to those wishing to know how people are getting
> confused with the current state of the docs (and I understand how it takes
a
> while to update docs), here's a play-by-play of what has thrown me.
>
> First, while installing, I stumbled over the user names for mysql and for
> the opencms system -- it worked when I left it as root and root without
> password for either.  I didn't realize that this is the default setting
for
> mysql, but I usually use postgres so needed to learn that.
>
> When the system finished installing - btw, kudos to the programmers who
> wrote the installation wizard and other code - I couldn't add folders, but
> then I realized you have to be working on the offline version for that.
>
> Then, like Elyasin, I couldn't figure out where to put the new folder for
my
> project -- finally just put it under root.
>
> I realize the pdf docs haven't been updated yet for the newer structure
and
> features, which I've determined to some degree by rooting about in release
> files and mail archives. I followed the instructions in the pdf file about
> creating a "Hello World" page and substituted the directory structure of
my
> app folder in templates created from scratch by copying the text from the
> pdf file and pasting it into the new files as I created them.  There is
> apparently a new file type called XMLTemplate that you choose instead of
> plain text when you create a template.
>
> Then when I got to the stage of trying to make a new page from the
templates
> I created, the templates didn't show up in the drop-down list in the
> new-page-creation dialog.  Since the "new release -welcome" template does
> show up in the list I found where that is and saw that it is in
> /modules/org.opencms.welcome.  Further, when you look at
> /modules/org.opencms.default and /modules/org.opencms.welcome you see that
> they have the same directory structure.  One of the directories is called
> templates and that is where the two templates that do show up in the
> pull-down are stored in each org.opencms.whatever folder.  So, I created a
> folder called org.opencms.myproject and under that made a directory called
> templates.  Then I moved my templates files into this templates folder.
When
> you create the templates you will have one content template, one frame
> template, and one master template.  Turns out that only the master
template
> shows up in the pull-down list when you go to create a new page in your
> project folder (because the master "includes" the content and frame
types).
>
> Also, I changed the group of the files to be that of my project, but I'm
not
> sure if it makes a difference.
>
> After that, when I created a page in my project folder and picked my new
> master template from the pull-down list, I got this error upon attempting
to
> view the page:
>
> [frametemplate] ??? com.opencms.core.CmsException: 2 Not found. Detailed
> error: [com.opencms.file.mySql.CmsDbAccess]
> /default/vfs/org.opencms.myproject/templates/frametemplate1
>
> And, from that determined that it is looking in /default/vfs for
> org.opencms.myproject/templates/frametemplate1 directory. I looked at the
> org.opencms.default folder and see that it contains folders called
> contenttemplates and frametemplates.  So, I made folders with these names
in
> my org.opencms.myproject folders and put my content and frame templates in
> their respective folders.
>
> But that still doesn't work, as it is giving this error:
>
> [frametemplate] ??? com.opencms.core.CmsException: 2 Not found. Detailed
> error: [com.opencms.file.mySql.CmsDbAccess]
> /default/vfs/org.opencms.myproject/frametemplates/frametemplate1
>
> So somehow you have to get your templates into the vfs (virtual file
> system).  How do you do that?
>
> Thanks,
>
> Jeff Pittman
> Beaumont TX
>
>
>
> ----- Original Message -----
> From: "Elyasin Shaladi" <Elyasin.Shaladi at web.de>
> To: <opencms-dev at www.opencms.org>
> Sent: Wednesday, January 29, 2003 4:25 PM
> Subject: [opencms-dev] Question!!! Please REPLY!!!
>
>
> > Hi,
> >
> >  i ask this question for the third time. Please reply.
> >
> > In the doc they talk about the example directory which i should choose
to
> create a project at the practical part. But there is none. How can i fix
> that problem?
> >
> > Thx
> >
> > Elyasin
> >
>




More information about the opencms-dev mailing list