From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(WiXTD)
m (Removed 'Template:' prefix from template includings and/or changed external-link into internal-link)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
{{Template:Quicklinks}}
+
{{Quicklinks}}
 
<br />
 
<br />
  

Revision as of 15:48, 10 June 2011


WiXTD

What is Wixtd?

Wixtd is... <insert short introduction and description >


WiXTD's TMS-tiling features can show both hypergrid and region information, using AJAX calls for data retrieval

Links

WiXTD on the forge
Running Development Version

Installation

There is a preliminary install script for wixtd now, which does an environment check, writes the database, and gives additional information how to get WiXTD running. The sql contains also modrex specific tables, which are for testing. These are not used normally, but can be switched on from the settings menu. Please install wixtd in a seperate database, apart from opensim. Follow these steps to get it running:

  • Make sure you have PHP5, CURL, XMLRPC and imagick with JP2-support(requires jasper, and imagemagick with jp2-support)
  • Copy wixtd from svn in the Apache's documentroot
svn checkout http://forge.opensimulator.org/svn/wixtd/trunk /var/www
  • Run the installation script, by pointing your browser to:
http://foobar.org/install/install.php
  • Follow the instructions in the script
  • Log in and customize your wixtd

Manual

Micro's

Micro's are mini-components that have a small set of functionality, which can be accessed apart from the webportal. The current micro's are:

Splash screen in the viewer. Setup in Gridinfo
http://mygrid.org/index.php?mcr=splash
CLI script that generates maptiles from the region/simulator tables
php /my/webdir/index.php tiler
Currency handler. Will be used for karma
http://mygrid.org/index.php?mcr=currency.php
Automated regionloading. Used by the webloader
http://mygrid.org/index.php?mcr=sim2xml
Automated HyperGrid linkloader
http://mygrid.org/index.php?mcr=sim2xml&ctr=hgl
Shows an asset-blob as an image. 
http://mygrid.org/index.php?mcr=getAsset&uuid=643656-2343e344-434e32-3235ea
Used by an AJAX-call of region-data for Openlayers. Can be used for dynamic KML-layer generation as well
http://mygrid.org/index.php?mcr=map&lon=32&lat=64

Anyway, you got the point. These are not at all times part of the webinterface, but can be used by OpenSimulator or an external API as well. Most data is returned as XML, but it's not yet consistent. This will be cleaned during the 0.1 phase as well...

Template

If you want to change the template, it's best to copy the /tpl/osn folder to a custom /tpl/mynewtemplate folder. Change the theme in Settings accordingly. The mainstyling is in /tpl/mynewtemplate/style.css . Custom html layout is both in the template folder(general stuff for index layout), and in the /com/com.mycomponent/views directories. WiXTD uses the smarty engine for template parsing. UNIQ61dc84b2213619a6-cleanpage-00000000-QINU

Personal tools
General
About This Wiki