OGRE Wiki
Support and community documentation for Ogre3D
Ogre Forums
ogre3d.org
Log in
Username:
Password:
CapsLock is on.
Remember me (for 1 year)
Log in
Home
Tutorials
Tutorials Home
Basic Tutorials
Intermediate Tutorials
Mad Marx Tutorials
In Depth Tutorials
Older Tutorials
External Tutorials
Cookbook
Cookbook Home
CodeBank
Snippets
Experiences
Ogre Articles
Libraries
Libraries Home
Alternative Languages
Assembling A Toolset
Development Tools
OGRE Libraries
List of Libraries
Tools
Tools Home
DCC Tools
DCC Tutorials
DCC Articles
DCC Resources
Assembling a production pipeline
Development
Development Home
Roadmap
Building Ogre
Installing the Ogre SDK
Setting Up An Application
Ogre Wiki Tutorial Framework
Frequently Asked Questions
Google Summer Of Code
Help Requested
Ogre Core Articles
Community
Community Home
Projects Using Ogre
Recommended Reading
Contractors
Wiki
Immediate Wiki Tasklist
Wiki Ideas
Wiki Guidelines
Article Writing Guidelines
Wiki Styles
Wiki Page Tracker
Ogre Wiki Help
Ogre Wiki Help Overview
Help - Basic Syntax
Help - Images
Help - Pages and Structures
Help - Wiki Plugins
Toolbox
Freetags
Categories
List Pages
Structures
Trackers
Statistics
Rankings
List Galleries
Ogre Lexicon
Comments
History: Help - Pages and Structures
View page
Source of version: 18
(current)
{BOX(class="Layout_box6",width="100%")}{CUT(colsize=5%|70%)}{img fileId="1754"}---{DIV(class="bigBold")}How to add pages and handle structures{DIV} Each and every page on this wiki (save two) lives in a structure. After reading this page you'll learn how to add pages and understand how pages and structures work together.{CUT}{BOX} {maketoc} !Pages !!Adding Pages To add a page go to where you want to add the page, and add by entering its name into the textbox in the structure header and click '''Add Page''': {img fileId="1767" stylebox="border"} Let's add a child page of our newly created page. In the textbox in the structure header give it a name, and make sure to check '''Child''': {img fileId="1768" stylebox="border"} Adding new pages is easy, so let's add a page more: {img fileId="1764" stylebox="border"} %warning2% Do not check '''Child''' as we don't want it to be a child of our child page! Let's go back to our '''mother''' page to see how it looks: {img fileId="1765" stylebox="border"} As you can see, there is now two child pages of our page '''New Page'''. (If no pages show, insert a '''toc''' tag: {MONO()}~np~{toc}~/np~{MONO}) We realise that we've forgotten a page between '''Child Page 1''' and '''Child Page 2'''... Let's add it, shall we? Go to '''Child Page 1''' and click '''Add Page''' - again __''without''__ checking '''Child''': {img fileId="1769" stylebox="border"} Back at our mother page - '''New Page''' - we can see that the newly added page was added correctly: {img fileId="1766" stylebox="border"} The rules are: * If you're adding a page as a '''Child''' page (by checking the '''Child''' checkbox) it is added as the __last__ child page of the mother page. * If you're adding a page __''without''__ checking '''Child''', it will be added __''after''__ the page you're '''standing''' on. Click the structure view icon {IMG(src="pics/icons/chart_organisation.png")}{IMG} in the structure header to go into structure view mode: {img fileId="1770" thumb="y" alt="" rel="box[g]" width="300"} That's how the underlying structure of '''Sandbox Structure''' looks like now. --- !!Editing Pages fdf !!!Description Go into '''edit mode'''. Enter the '''Properties''' tab. And find the '''Description''' textbox. Enter a short, descriptive (do'h) description and save the page. Keep in mind that the descriptions are also used for link descriptions on various overview pages, like on the ((Tutorials)) page. Hover your mouse pointer over the link to see the description rendered as a HTML title. ;) !!!Multi-paged Pages {CODE(wiki="1")}~046~~046~~046~page~046~~046~~046~{CODE} It's three dots, the word 'page' and three dots. --- !Structures !!Move Pages #Click the structure layout view icon on the structure header: {IMG(src="pics/icons/chart_organisation.png")}{IMG} #Use the arrow buttons in the structure view ({IMG(src="pics/icons/resultset_up.png")}{IMG} {IMG(src="pics/icons/resultset_down.png")}{IMG}) #If you need to move it far, it would probably be faster to remove the page from the structure. #You then select a page in the structure tree, and it will be added after that. !!make a page a child of another page in a structure? #Enter the structure layout view by clicking the {IMG(src="pics/icons/chart_organisation.png")}{IMG} icon in the structure header. #If the page is just after the page you want to be a parent, just use the demote button ({IMG(src="pics/icons/resultset_next.png")}{IMG}). #If it's not, move it around - and then demote it. (:wink:) !!Add Existing Pages #On the structure header, click the structure view button: {IMG(src="pics/icons/chart_organisation.png")}{IMG} #In the structure view, click on the page link where you want the page to be added (it will be added after that page). #Select the page in the list of pages - would be a good idea to use the Filter option; just enter the name of the page there. #Select the page in the page listbox and click 'Update'. #The page should be added to the structure. You might need to promote/demote the page, or move it up/down. --- {TRANSCLUDE(page="dobox")}Do use the ((Sandbox Structure)) to get a feel for working with structures.{TRANSCLUDE}
Search by Tags
Search Wiki by Freetags
Latest Changes
IDE Eclipse
FMOD SoundManager
HDRlib
Building Ogre V2 with CMake
Ogre 2.1 FAQ
Minimal Ogre Collision
Artifex Terra
OpenMB
Advanced Mogre Framework
MogreSocks
...more
Search
Find
Advanced
Search Help
Online Users
91 online users