Packaging and Distributing: Difference between revisions From Online Manual

Jump to: navigation, search
(un-categorize for transclusion.)
No edit summary
Line 1: Line 1:
The last step is compressing all the files into an archive. You should compress your [[Theme]] into a .tar.gz (gzip) or .zip (zip) file, with the files and folders inside your [[Theme]] in the "root" of the zip file. This means that your archive might have contents similar to:
The last step is compressing all the files into an archive. You should compress your [[Theme]] into a .tar.gz (gzip) or .zip (zip) file, with the files and folders inside your [[Theme]] in the "root" of the zip file. This means that your archive might have contents similar to:


<ul class="bbc_list"><li type="disc">index.php</li><li type="disc">index.template.php</li><li type="disc">images/</li><li type="disc">languages/</li><li type="disc">style.css</li><li type="disc">theme_info.xml </li></ul>
<ul class="bbc_list"><li type="disc">index.php</li><li type="disc">index.template.php</li><li type="disc">images/</li><li type="disc">css/</li><li type="disc">scripts/</li><li type="disc">theme_info.xml </li></ul>


Important is that these files are not in a subdirectory inside the archive. You can test this by extracting it to a folder and checking to see if the files are in that folder itself, or in a folder under that folder. After this, you're done. A little complicated, perhaps, but it's a lot easier the second time. Good luck!
Important is that these files are not in a subdirectory inside the archive. You can test this by extracting it to a folder and checking to see if the files are in that folder itself, or in a folder under that folder. After this, you're done. A little complicated, perhaps, but it's a lot easier the second time. Good luck!


<noinclude>[[Category:Customizing SMF]]</noinclude>
<noinclude>[[Category:Customizing SMF]]</noinclude>

Revision as of 16:00, 25 April 2012

The last step is compressing all the files into an archive. You should compress your Theme into a .tar.gz (gzip) or .zip (zip) file, with the files and folders inside your Theme in the "root" of the zip file. This means that your archive might have contents similar to:

  • index.php
  • index.template.php
  • images/
  • css/
  • scripts/
  • theme_info.xml

Important is that these files are not in a subdirectory inside the archive. You can test this by extracting it to a folder and checking to see if the files are in that folder itself, or in a folder under that folder. After this, you're done. A little complicated, perhaps, but it's a lot easier the second time. Good luck!



Advertisement: