locking tier order and tier visibility in a template file

Hello,
Before I save a template file, I’ve been arranging tiers in the desired order, and hiding tiers that I don’t immediately need. Yet, when I open a file using the template, I find the tier order has changed and some or most of the tiers are again visible. Is there a way to save a template file to guarantee that the desired tier order and tier visibility is preserved? I have searched quite a bit for an answer to this but so far haven’t been able to find anything.
Thank you!
Emily

Hi, this is how it is supposed to work: if you save a file as a template, next to the .etf file, a file with the same name but with extension .pfsx is created. This .pfsx preferences file contains the order of the tiers, their visibility and colors and many other things. If a new file is created based on the template those settings/preferences are applied to the new file.
The .etf and .pfsx file should remain in the same folder, so if you move the template, move the pfsx as well.

-Han

Hello,

Thank you for this. I’ve solved the problem and am just posting here in case it helps anyone else. So, loading in a new template works as you described (tiers open in correct order)-- thank you for clarifying! The problem was happening when I opened an existing .eaf file (that already has a lot of tiers in it), and imported more tiers in from a template. In this case, they get out of order. My solution is a hack but works well. In the template, I just added a number to the beginning of the tiers in the order I wanted them to appear. Then, when you load the tiers in from the template, you can just sort the tiers “by name” and they all appear in numerical order. (I hope there wasn’t some simpler way to do this that I missed, but this way is still pretty easy and works fine.)

-Emily

I’m trying to do something similar but I am having issues.

I have a template with several tiers and I want to rename the tiers. It’s pretty laborious doing it in ELAN so I thought I could just do it in the pfsx file. However edits to the pfsx file do not appear to effect the eaf file I’m trying to modify. Even if I open them both as a template in ELAN.

How I can edit the pfsx file and have the changes stick?

Indeed, changes to the pfsx file do not update the .eaf file. If you want to rename tier names in many files you can use the function File->Multiple File Processing->Edit Multiple Files…

I believe this function doesn’t update the pfsx files. I’m not sure if the following is a workable solution, but you could, after the before mentioned changes, open one of the files, (re-)create the tier order etc. as desired, so that the pfsx is updated too (and/or choose Edit->Edit Preferences->Export Preferences). In the other files you could then, after opening them, apply the new order by Edit->Preferences->Import Preferences?