Help - Search - Members - Calendar
Full Version: How do you delete unwanted templates?
Skyline User's Forum > > Activity Generator
pensfan17
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
jrmeindl
QUOTE(pensfan17 @ Feb 16 2010, 11:49 AM) *
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
sgdavis
QUOTE(jrmeindl @ Feb 16 2010, 12:12 PM) *
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
nbeveridge
QUOTE(sgdavis @ Feb 20 2010, 08:31 AM) *
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.
jrmeindl
QUOTE(nbeveridge @ Feb 20 2010, 12:23 PM) *
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
pensfan17
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
nbeveridge
QUOTE(pensfan17 @ Feb 20 2010, 05:11 PM) *
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.
sgdavis
QUOTE(pensfan17 @ Feb 20 2010, 05:11 PM) *
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.
pensfan17
Thanks, will give it a try.

Al
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.