How to add "Sitemap" page to your flash arcade website
In this short tutorial I’ll show you how you can add a simple "sitemap" page to your flash arcade site.
Please note: ProArcadeScript v1.3 or higher version is absolutely a must!
First of all, log in into your admin CP, open the "Pages" tab and click the "Add Page" button.
I’m sure that’s not a problem for you to fill up the first few fields like page name, title, menu title, etc… I’ll just suggest you to name the new page "sitemap.php" and make it visible in the footer menu (mark the appropriate checkbox). Other fields’ content is up to you.
Now let’s take care about the php code for our page. What should it do?.. A simple thing: is should look through entire database, find all categories, all active games for each category and all pages you’ve published on your arcade site. Once everything is found, the script must output all that data as a plain list. That’s it.
Registered users will find the code in the following archive: sitemap.zip (You must be logged in to download it). Copy that php code, paste it in the "Code" field in the "new page" form and click "Submit". Everything’s done, the page is now created and you can find the link to it in your site’s footer menu.
One more thing, to make your sitemap page look better you can change the styles used in the list created by our php script. Here are the classes you can add in you theme’s styles.css file:
h3.sitemap (the "Sitemap" caption)
h4.sitemap (the secondary captions like "Games" and "Pages")
ul.sitemap (list of categories)
ul.sitemap li (a category)
ul.sitemap_games (list of games inside a category)
ul.sitemap_games li (a game)
Proarcade's Twitter

January 17th, 2010 at 9:16 pm
Hey,
Sitemap.php is not the same as sitemap.xml which is far more important.