Elxis CMS Forum

Extensions => Templates => Topic started by: Despain on February 29, 2008, 00:36:07

Title: Exporting/Compiling Templates?
Post by: Despain on February 29, 2008, 00:36:07
Hi, I recently installed Elxis on my site and have been playing around with the template. I've created a template for my site that I am going to use, and felt that I might as well release it, if anybody else is looking for a similar feel to the one that I'm using.

Essentially, it's just an edit of the default "okto", but I figure that somebody might like it.

If anybody can help advise me on how to compile this into a self-installing template file, it'd be appreciated since I'd be able to give back to the community.
Title: Re: Exporting/Compiling Templates?
Post by: Ivan Trebješanin on February 29, 2008, 03:55:42
Hi and welcome,

Maybe you should read this: https://www.elxis.org/guides/developers-guides/template-tutorial-introduction.html
Title: Re: Exporting/Compiling Templates?
Post by: Despain on February 29, 2008, 04:17:52
I have read that, it helped me as I was creating my template. Although it doesn't explain how to export my template into a useable file.

Not a big deal, I guess. It works fine on my site, I just figured it might have been worth sharing.
Title: Re: Exporting/Compiling Templates?
Post by: Ivan Trebješanin on February 29, 2008, 04:24:09
Ok, if everything is alredy working, go to templates/YourTemplate and select all files in that folder. Right-click and add to zip. That's it.

EDIT: You should name your installation .zip like this: tpl_YourTemplate_1.0.zip
Title: Re: Exporting/Compiling Templates?
Post by: Despain on February 29, 2008, 04:34:07
Oh wow, it's that easy.

I've used other systems before and there's a complicated export process. Cool.
Title: Re: Exporting/Compiling Templates?
Post by: datahell on February 29, 2008, 11:59:48
If you wish your template to be able to be installed via the Elxis installer you should create the XML file (templateDetails.xml). This file should contain all the files that consist your template. Open an existing one with a text editor such as pspad, notepad++, etc, to see how it is formatted. It is very easy to create it.