Customizing the location of user modules

Ideas and suggestions about new features
mari
Posts: 14
Joined: Thu May 06, 2010 7:52 pm
Location: Glendale, CA

Customizing the location of user modules

Post by mari »

Hi Costas,

You require all user modules to be saved under c:\Documents and Settings\.... folder for Windows XP. Is it possible for you to consider allowing this to be saved in another place.

I always partition my hard drive into 2 logical drives. Programs are installed on the C, the data on the D. I ghost C drive and if something messes up I quickly restore from the image file instead of trying to waste my time on troubleshooting the problem. This way I don't lose any data. If I forget to backup from the default place on the C drive and I have this kind of situation I will loose all my recent notes and studies. So I was trying to put my notes on D drive but I get a message that this is not possible.

Mari
User avatar
JG
Posts: 4599
Joined: Wed Jun 04, 2008 8:34 pm

Re: Customizing the location of user modules

Post by JG »

Hi, the information of how to do this is contained in the Help Manual, under the section toward the end "Working directly with the config.ini file"
extra.paths=[list of paths separated by ;]
Add one or more extra paths in which theWord should look for modules. Example:
extra.paths=c:\my modules; h:\personal\files
Jon
the
Word 6 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet
mari
Posts: 14
Joined: Thu May 06, 2010 7:52 pm
Location: Glendale, CA

Re: Customizing the location of user modules

Post by mari »

Jon,

I tried putting the path in config.ini but it doesn't seem to work. What am I doing wrong. Here how the beginning of config.ini looks after I put that line in the general section.

[general]
ver.3=1
font.greek.name=Gentium
font.hebrew.name=Cardo
xrefs.selected.set=my.xrefs.twm-xrefs
dbv.strongs.dct=mickelson-strong.dct
vol.default=net
extra.paths=E:\TheWord\MariNotesAndStudy

I restarted The Word. When I try to create a new module and save to that location, I still get the same error telling me I can't save outside the default folder. Also if I manually put a copy of my subject study there, it can not see in the interface.

Mari
User avatar
JG
Posts: 4599
Joined: Wed Jun 04, 2008 8:34 pm

Re: Customizing the location of user modules

Post by JG »

Hi

I think you probably need to create the folder?

E:\TheWord\MariNotesAndStudy
Jon
the
Word 6 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet
mari
Posts: 14
Joined: Thu May 06, 2010 7:52 pm
Location: Glendale, CA

Re: Customizing the location of user modules

Post by mari »

Jon, I already created the folder. That's not the issue.

Mari
User avatar
JG
Posts: 4599
Joined: Wed Jun 04, 2008 8:34 pm

Re: Customizing the location of user modules

Post by JG »

Hi, I got it working OK. But I also got it to fail. It appears to perhaps be the folder name is not allowed?

@Costas can you help on this
Jon
the
Word 6 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet
csterg
Site Admin
Posts: 8627
Joined: Tue Aug 29, 2006 3:09 pm
Location: Corfu, Greece
Contact:

Re: Customizing the location of user modules

Post by csterg »

Sure; i am not sure what the question is
User avatar
JG
Posts: 4599
Joined: Wed Jun 04, 2008 8:34 pm

Re: Customizing the location of user modules

Post by JG »

Hi,


E:\TheWord\MariNotesAndStudy


If you setup this path and then try to create a new user module, the location is denied
Jon
the
Word 6 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet
csterg
Site Admin
Posts: 8627
Joined: Tue Aug 29, 2006 3:09 pm
Location: Corfu, Greece
Contact:

Re: Customizing the location of user modules

Post by csterg »

I tried it and seem to work; strange
User avatar
JG
Posts: 4599
Joined: Wed Jun 04, 2008 8:34 pm

Re: Customizing the location of user modules

Post by JG »

Hi Costas,

Can you try it when you add a second location to the config.ini file.

I tried this myself, and the first path I did just had one level d:\twmodules
Then I tried appending (separated by ; and space ) "d:\TheWord\MariNotesAndStudy", and I found I could not save in either location. I had to change the location names and restart TW to once again be able to save a new module in d:\twmodules

Could the issue be that TW expects to find modules at the above locations, when TW starts? (well you know the logic there?)
Is it because the folder is called "TheWord"?

Whatever it is that is wrong is quite frustrating, especially if it is an inexperienced users first attempt at editing the config.ini file.
Jon
the
Word 6 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet
csterg
Site Admin
Posts: 8627
Joined: Tue Aug 29, 2006 3:09 pm
Location: Corfu, Greece
Contact:

Re: Customizing the location of user modules

Post by csterg »

Got it, fixed.
Will fail if more than one defined. Use another supported var for now (e.g. 'module.root.paths')
Costas
User avatar
JG
Posts: 4599
Joined: Wed Jun 04, 2008 8:34 pm

Re: Customizing the location of user modules

Post by JG »

csterg wrote:Got it, fixed.
Will fail if more than one defined. Use another supported var for now (e.g. 'module.root.paths')
Costas
So you are saying to use

Code: Select all

module.root.paths=E:\TheWord\MariNotesAndStudy
until you have the next release of theWord. Then go back to using,

Code: Select all

extra.paths=E:\TheWord\MariNotesAndStudy
Jon
the
Word 6 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet
csterg
Site Admin
Posts: 8627
Joined: Tue Aug 29, 2006 3:09 pm
Location: Corfu, Greece
Contact:

Re: Customizing the location of user modules

Post by csterg »

The extra.paths will only break if you have more than one paths (separated with ;).
So this is a temporary solution, yes
franky7
Posts: 16
Joined: Mon Sep 06, 2010 6:18 pm

Save location for my notes

Post by franky7 »

I have been reading this post but am a little confused.
I did find the config.ini file, but can not find any reference to file locations.

I wish to change the default file location for "Personal Files Folder". However, this path while found under help about, is not in the config file.

Do I need to add a new line to the config file then? And what would that line be? I wish to save to the path "D:\Documents\The Word\Personal Files Folder"

Any help is appreciated.
-Frank
csterg
Site Admin
Posts: 8627
Joined: Tue Aug 29, 2006 3:09 pm
Location: Corfu, Greece
Contact:

Re: Save location for my notes

Post by csterg »

franky7 wrote: Do I need to add a new line to the config file then? And what would that line be? I wish to save to the path "D:\Documents\The Word\Personal Files Folder"

Any help is appreciated.
-Frank
Yes.
Open the config.ini (tw must be closed), and at the second line (below the [general] line) add:

Code: Select all

extra.paths=D:\Documents\The Word\Personal Files Folder
Costas
Post Reply