Elxis CMS Forum
		Support => Technical support => Topic started by: machinakias on January 27, 2008, 17:08:53
		
			
			- 
				hi all...i'm trying to make my own login screen and i did it in half.. i used AstyleCSS Editor to change colors and images in a template, and when it was tested unziped it seem to work....but now i want to pack it in a zip file for distribution...and when i try to install it i get an "unknown client type error" message.... what am i doing wrong? could anyone give me the right steps to make a custom login screen? thanks a lot....
			
- 
				Most probably you have not set up the proper template type in XML file.
 Open templateDetails.xml and make sure the line bellow exists (for login screens):
 
 <mosinstall type="template" client="login" version="2008">
 
 Explanation:
 
 mosinstall : Notifies Elxis that this is an installation package
 
 type: Notifies Elxis what kind of installation package it is (i.e. it is a template)
 
 client: Notifies Elxis what sub-type of installation package it is (ie. it is a login screen)
 
 version: Notifies Elxis for what major version (Release) of Elxis has been build for. Attention: this is not the software's version!
- 
				still trying but no results......anyone can help?
			
- 
				You can just post here your installation package, and we will fix it.
			
- 
				hello and thanks for your reply...i still trying to fix it,but nothing...i dont know much about xml or css....so i send the files in hope you can help....that's what i'll do! the zip file is now uploaded as silver.zip.  well,take care and please keep in touch....
 
 [old attachment deleted by admin]
- 
				Here you are... fixed
 
 Hint: you must always use utf-8 encoding in whatever you do for Elxis CMS. Don't have time to explain everything, but examine this zip file and template_details.xml
 
 [old attachment deleted by admin]
- 
				what can i say....THANKS!!! ;) can i contact u again if needed? you see,i would like to make some other stuff for the other users....just to give something by my self....
			
- 
				Of course you can! I am always glad to help, if I can. Also, I must thank you for your effort and good will to share your work with others. 
			
- 
				 :(back again... just tried to install the zip file in elxis locally with xampp but i get this.....
 File C:\xampp\htdocs\elxis\tmpr\install_479dc94730fad\css\template_css.css does not exist!
 and it fails....still dont get it,i changed the iso to utf-8 in templateDetails.xml....it was iso...something...
 i'll give up....i think i'm dumb! sorry for being annoying.....
- 
				With this file inside the zip: ΟΔΗΓΙΕΣ ΧΡΗΣΗΣ - BEFORE YOU BEGIN.TXT your template will never be installed. 
 Remove it, or rename it and add it to the XML installation file.
- 
				 :(back again... just tried to install the zip file in elxis locally with xampp but i get this.....
 File C:\xampp\htdocs\elxis\tmpr\install_479dc94730fad\css\template_css.css does not exist!
 and it fails....still dont get it,i changed the iso to utf-8 in templateDetails.xml....it was iso...something...
 i'll give up....i think i'm dumb! sorry for being annoying.....
 
 
 You can see it in action here: http://www.jazzign.com/administrator
 
 PS
 Just use my installation posted above, and remove that alien before you begin.txt file as datahell suggested. It's working!
- 
				well,i saw it! but when i try to install it in xampp in my pc the error is still there....anyway,you tested,so i think it's ok.
 i dont want to create any trouble to anyone....a last question....if i rename the old txt  into info.txt with utf-8 and add it in the xml,can i use it? thanks all you guys for your help! :D
- 
				There is no need for that .txt file, as you can add everything inside template_details.xml under the description tag. That is the usual way.
 
 hint: If you insist on keeping that file inside .zip, DON'T ADD IT to template_details.xml!!! That way it won't be included in installation, but it will remain in the zip.
 Reminder: don't use any other encoding except UTF-8.
- 
				 ;) thanks for everything! going forward to the next one....!!!