Aardvark Topsites PHP Manual

Written By Jeremy Scheff - http://www.aardvarkind.com/

Skins Overview


When you installed the script you probably noticed the skins directory and all the files in it. Almost all the HTML the script outputs can be found in those files. They are conveniently named: the search results template is search_results.html, etc.

You have to edit the skin files on your computer and then upload them to the skins folder.

If you go to edit a skin file, it will look like a normal HTML file except that there are some tags that look like <#tag> floating around. Those are placeholders for data. The script takes a skin file, replaces those tags with data, and then prints it to the browser. I hope that makes sense.

There are tons of tags you can use in different skin files. For more on that go to the Skin Tags page.

You cannot use a WYSIWYG editor like Frontpage to edit the skin files. They get confused by the special tags and mess them up.

If you want to be able to use different skins for different categories on your topsites list, than create a new directory inside the skins directory and copy all the files from the Default skin there. You can then edit them and create a new skin.