This update to Huwr's Color Template Mod allows system administrators to export their various color templates and distribute them to other users. Other admins can them import the color templates for use in their own system.
1) Exports a system's color templates to an output file. 2) Imports templates from another system's output file.
(Note: If you have downloaded this mod before 7/9/01, please see my errata below dated 09 July 2001 : 21:51:04)
Sample screen:
<img src="http://www.sagecomputerservices.com/downloads/importexport.gif" border=0> This requires Huwr's Color Template Mod.
Ok... I installed this mod. created the templates folders with the sub folders of "Import" and "Export". I can export my theme but can't import it. the .txt file is located in the import directory, but still can't see it.
Test Site www.eastpasco.com HuwR's SR4 release. Colors and Graphic scheme done by Richard Kinser.
quote: Ok... I installed this mod. created the templates folders with the sub folders of "Import" and "Export". I can export my theme but can't import it. the .txt file is located in the import directory, but still can't see it.
Test Site www.eastpasco.com HuwR's SR4 release. Colors and Graphic scheme done by Richard Kinser.
I set this mod up so that it only displays in the import list those templates that you do not already have on your system. If you for some reason want to see them, manually rename the template title in the exported txt file and place it in your import directory.
quote:Your Colour Temp Import/Export. It will Export ok but I cannot Import. This is the err I get while Importing.
ErrCode=Invalid import line
This is caused by the import function not being able to find the string " SET " as part of the import string. Had you manually altered the import file by any chance?
just seen this in mod implementation. I have the same error and I`ve not changed anything. Should I? I thought i`d Just let you know as i would like to get this to work.
quote:Your Colour Temp Import/Export. It will Export ok but I cannot Import. This is the err I get while Importing.
ErrCode=Invalid import line
just seen this in mod implementation. I have the same error and I`ve not changed anything. Should I? I thought i`d Just let you know as i would like to get this to work.
bonkers
The problem is in my code . In file admin_color_impexp.asp around line 117 you will see:
nPos = InStrRev(1,str," SET ",1)
It should read:
nPos = InStrRev(str," SET ")
My fault for copying and pasting from a previous InStr() function and not removing the numbers!
The big question in my mind is: How did I get this to work before???