#labels Deprecated == Skins == ===How to Create Skins=== Skins are site designs XtraUpload uses to wrap itself in. XtraUpload does not use an advanced templating engine and only requires one file to make a working skin. To make a new skin make a now folder in the skins folder in your XtraUpload install. Name this folder the name of your skin. Then copy the blocks folder from inside the Indigo skin into the folder of your skin, make sure all files remain untouched. Then place a .php file with the design you want to use inside that folder and name it skin.php. Then create the design like you would a normal HTML page, CSS and Javascript is supported. After you are done you need to add a few special tags to your skin file. First inside the tag of your HTML place these tags before the HEAD tag closes: {{{ }}} Then for all images you need to make the url that points to them correct so XtraUpload can display them. In the src attribute in any image prefix the url with this: {{{skin/YOUR_SKIN_FOLDER_NAME/}}} Then you need to place these tags where they should go in their design: ||||Where you want the navigation links to appear.|| ||||Wherever you want ads you add in the Advertisement manager to appear.|| ||||Wherever you want the XtraUpload Code to generate HTML into your design.|| ||||Wherever you want to display an admin area link to those with admin access.|| ===How to Install Skins=== # Login to your admin account and go to the skin manager in the admin panel. # Click the install skin link. # Select the skin you want to install, it will only show uninstalled skins. # If you want this to be the currently active skin please make sure you check that box. # Click install skin ===How to Create Blocks=== Blocks are the placements for scripts like php and javascript to go, because you can't have php directly in the template system, blocks were made. Creating a block does not require any talent in php, or javascript, and because the person who is writing this is in a good mood, =D, will do the php for you. This is a basic block code: {{{ }}} To edit that above the way you want, just insert your html, php, javascript, or other code into where it says 'Your content here', and save it as something like..., sample_block.php. This can be any name you want. ===How to Add Your Blocks=== To add a block someone made, or one that you created, it requires just two simple consepts. Placing the Block file into the 'blocks' folder Insert the into where you want it. Change the 'SAMPLE_BLOCK' to what you named the block, and capitalize it.