share/html/Elements vs. var/mason_data/obj/standard/Elements

Hello,

I need to change some RT templates. I wonder which of the two
directories is the best place to do that.
Also, can anybody clarify why we have these two similar directories. In
my understanding, files in the
var/mason_data/obj/standard/Elements are created by scripts from
share/html/Elements, is that correct?
If so, what stage they are being created on?

Thanks!

var/mason_data/obj/ is stuff generated by Mason. I think
you can just ignore it.

If RT is stored in /opt/rt3:

mkdir -p /opt/rt3/local/html/Elements
cp /opt/rt3/share/html/Elements/MyElement /opt/rt3/local/html/Elements/MyElement

Edit the local version.

-ToddOn Thu, Mar 11, 2004 at 02:53:37PM -0800, Dimitry Faynerman wrote:

Hello,

I need to change some RT templates. I wonder which of the two
directories is the best place to do that.
Also, can anybody clarify why we have these two similar directories. In
my understanding, files in the
var/mason_data/obj/standard/Elements are created by scripts from
share/html/Elements, is that correct?
If so, what stage they are being created on?

Thanks!


rt-users mailing list
rt-users@lists.bestpractical.com
The rt-users Archives

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Hello,

I need to change some RT templates. I wonder which of the two
directories is the best place to do that.

None of the above, use /path/to/rt3/local/html.

Also, can anybody clarify why we have these two similar directories. In
my understanding, files in the
var/mason_data/obj/standard/Elements are created by scripts from
share/html/Elements, is that correct?

Sort of. They are created by HTML::Mason by combining the share/html
and local/html overrides. See
http://www.masonhq.com/docs/manual/Admin.html#object_files

If so, what stage they are being created on?

When HTML::Mason detects a change in source files.

Michael
Michael S. Liebman m-liebman@northwestern.edu
http://msl521.freeshell.org/
“I have vision and the rest of the world wears bifocals.”
-Paul Newman in “Butch Cassidy & the Sundance Kid”

It works! Thanks a lot!