Forum OpenACS Development: Re: creating a new xowiki class

Collapse
Posted by Alvaro Rodriguez on
Thanks for the help Stefan,

I know the second part sounds confusing but is actually not that confusing.

The xowiki's index.vuh does this:

::xowiki::Package initialize -ad_doc {
} ...

and I changed it to do this:

::myapp::Package initialize -ad_doc {
} ...

So now when I call a xowiki/?edit-new=1 it actually initializes myapp and it works, but I can't leave the index.vuh file like this.

My question is how could I set a file to work the way I want, should I use a .vuh. I tried using a tcl file with that code but when it founds the part of the code:

::myapp::Package initialize -ad_doc {
} ...

it ignores the file.

Collapse
Posted by Alvaro Rodriguez on
I checked the s5 package and noticed that I wasn't doing things right, my procs file was on the /xowiki directory and it should be in /myapp directory along with my new index.vuh
Collapse
Posted by Gustaf Neumann on
right... as described in the tutorial section... :)

everything ok by now?

Collapse
Posted by Alvaro Rodriguez on
I read the tutorial but the first time I missed that.

I haven't tried that yet, I need to do a little extra work first but I'll check the s5 package to guide my work. If I need any help I'll let you know...

Thanks for all the help,