How do you delete unwanted templates? |
How do you delete unwanted templates? |
Feb 16 2010, 11:49 AM
Post
#1
|
|
Conductor Group: Members Posts: 28 Joined: 23-December 09 From: Lansing, MI. Member No.: 21,956 |
I did a search but could not find out how to delete unwanted templates so they no longer show in Activity Generator. Any ideas?
Thanks, Al |
|
|
Feb 16 2010, 12:12 PM
Post
#2
|
|
Train Master Group: Members Posts: 287 Joined: 6-January 07 From: United States Member No.: 14 |
I did a search but could not find out how to delete unwanted templates so they no longer show in Activity Generator. Any ideas? Thanks, Al I'm thinking you mean the templates listed in the Drop Down list. All those entries are in the SLG.ini file. You could do this one of two ways. You can edit the ini file to remove all of the template names below the line regarding Shapeviewer and resave the file using notepad. I've had this work most times. You could also delete the ini file, which would remove all template names. If that is done, you would have to redefine the Shapeviewer location, if you do use Shapeviewer. Jim |
|
|
Feb 20 2010, 08:31 AM
Post
#3
|
|
Train Master Group: Root Admin Posts: 727 Joined: 1-October 03 From: United States Member No.: 1 |
I'm thinking you mean the templates listed in the Drop Down list. All those entries are in the SLG.ini file. You could do this one of two ways. You can edit the ini file to remove all of the template names below the line regarding Shapeviewer and resave the file using notepad. I've had this work most times. You could also delete the ini file, which would remove all template names. If that is done, you would have to redefine the Shapeviewer location, if you do use Shapeviewer. Jim That's correct. Or if you actually want to delete the templates (I'm not sure why you would), then, delete the .act and .csv files with the same name as the template. Thanks, Steve -------------------- Steve Davis
Skyline Computing
SteveDavis@SkylineComputing.com
|
|
|
Feb 20 2010, 12:23 PM
Post
#4
|
|
Train Master Group: Administrators Posts: 550 Joined: 2-January 07 From: Texas Member No.: 10 |
That's correct. Or if you actually want to delete the templates (I'm not sure why you would), then, delete the .act and .csv files with the same name as the template. Thanks, Steve If the user actually wants to delete ALL template files, this would include .con, .svc, .pro, .pat, and .tfc files, some of which may not be named exactly like the template. Also, related files such as all the files generated by the template when creating activities may be hard to find for the casual user if the standard SLG-XXX naming convention is not used. -------------------- Norman
|
|
|
Feb 20 2010, 01:25 PM
Post
#5
|
|
Train Master Group: Members Posts: 287 Joined: 6-January 07 From: United States Member No.: 14 |
If the user actually wants to delete ALL template files, this would include .con, .svc, .pro, .pat, and .tfc files, some of which may not be named exactly like the template. Also, related files such as all the files generated by the template when creating activities may be hard to find for the casual user if the standard SLG-XXX naming convention is not used. I guess I would move them to a temporary folder first, just in case I deleted something that should not have been. Makes it easier to restore if needed. Jim |
|
|
Feb 20 2010, 05:11 PM
Post
#6
|
|
Conductor Group: Members Posts: 28 Joined: 23-December 09 From: Lansing, MI. Member No.: 21,956 |
Thanks for the input guys. Having updated the A&O template and soon the Ohio Rail template, I want to have the old templates not show up in Activity Generator. Is there an easy way to do this?
Al |
|
|
Feb 20 2010, 10:24 PM
Post
#7
|
|
Train Master Group: Administrators Posts: 550 Joined: 2-January 07 From: Texas Member No.: 10 |
Thanks for the input guys. Having updated the A&O template and soon the Ohio Rail template, I want to have the old templates not show up in Activity Generator. Is there an easy way to do this? Al Taking a clue from Jim, i.e. that you don't want to accidentally delete something that you shouldn't, here is my suggestion. For a given route, say the A&O, rename the original ACTIVITIES folder to oldACTIVITIES. Then create a new ACTIVITIES folder in the A&O route folder. Do the same with PATHS, SERVICES and TRAFFIC. I.e. oldPATHS, oldSERVICES, and oldTRAFFIC. Then create all new folders -- PATHS, SERVICES and TRAFFIC in the A&O route folder. Finally, load the new template. Because the ACTIVITIES, PATHS, SERVICES and TRAFFIC folders are empty prior to loading the new template, the old template will not show up. Yet it is available for easy restore if needed. -------------------- Norman
|
|
|
Feb 22 2010, 06:53 PM
Post
#8
|
|
Train Master Group: Root Admin Posts: 727 Joined: 1-October 03 From: United States Member No.: 1 |
Thanks for the input guys. Having updated the A&O template and soon the Ohio Rail template, I want to have the old templates not show up in Activity Generator. Is there an easy way to do this? Al Yes. The easy way is just delete the template CSV files. Then they won't show up when you run Activity Generator. -------------------- Steve Davis
Skyline Computing
SteveDavis@SkylineComputing.com
|
|
|
Feb 22 2010, 07:24 PM
Post
#9
|
|
Conductor Group: Members Posts: 28 Joined: 23-December 09 From: Lansing, MI. Member No.: 21,956 |
Thanks, will give it a try.
Al |
|
|
Lo-Fi Version | Time is now: 14th May 2024 - 07:47 PM |