© 2015 X2Engine Inc.

Difference between revisions of "Main Page"

From X2Engine
Jump to: navigation, search
(Using This Wiki)
Line 22: Line 22:
 
: For example, I made one to www.x2engine.com so that the "About X2Engine" in the footer could be made a link to the main X2Engine site: <syntaxhighlight lang="mysql"> INSERT INTO interwiki (iw_prefix, iw_url, iw_local, iw_trans) VALUES ("x2", "http://www.x2engine.com/$1", 1, 0);</syntaxhighlight> Then, a link to the "about" page: <pre>[[x2:partners]]</pre>
 
: For example, I made one to www.x2engine.com so that the "About X2Engine" in the footer could be made a link to the main X2Engine site: <syntaxhighlight lang="mysql"> INSERT INTO interwiki (iw_prefix, iw_url, iw_local, iw_trans) VALUES ("x2", "http://www.x2engine.com/$1", 1, 0);</syntaxhighlight> Then, a link to the "about" page: <pre>[[x2:partners]]</pre>
 
;Add custom HTML to the template
 
;Add custom HTML to the template
: Edit <TT>VectorTemplate::execute()</tt> in <tt>public_html/skins/Vector.php</tt> (I have made a backup of this skin, in case anything should go wrong). The body begins after these lines: <syntaxhighlight lang="php">               // Output HTML Page
+
: Edit <TT>VectorTemplate::execute()</tt> in <tt>public_html/skins/Vector.php</tt> (I have made a backup of this skin, in case anything should go wrong). The body begins after these lines:  
                 $this->html( 'headelement' );</syntaxhighlight>
+
<syntaxhighlight lang="php">
 +
                // Output HTML Page
 +
                 $this->html( 'headelement' );
 +
</syntaxhighlight>

Revision as of 18:08, 13 September 2012

Welcome to the X2Engine Wiki. For questions related to any topics not covered by this wiki, please visit The X2Engine community forums.


Getting Started

Using This Wiki

For information on using the wiki software, consult the User's Guide and the MediaWiki FAQ MediaWiki release mailing list

Extensions in use (see their respective documentation):

Some quick usage notes (for maintainers / administrators):

Edit/create a page
Search for it, and if it doesn’t exist you’ll see a link to create it.
Edit the sidebar
search for Mediawiki:Sidebar and you'll be redirected to a page containing the sidebar's content, which you may edit.
Create a URL shorthand for linking to another site
For example, I made one to www.x2engine.com so that the "About X2Engine" in the footer could be made a link to the main X2Engine site:
 INSERT INTO interwiki (iw_prefix, iw_url, iw_local, iw_trans) VALUES ("x2", "http://www.x2engine.com/$1", 1, 0);
Then, a link to the "about" page:
[[x2:partners]]
Add custom HTML to the template
Edit VectorTemplate::execute() in public_html/skins/Vector.php (I have made a backup of this skin, in case anything should go wrong). The body begins after these lines:
                // Output HTML Page
                $this->html( 'headelement' );