Modifying Layouts

From Subscribe-HR Wiki Help
Jump to: navigation, search
(Created page with '{{page.name: Development Module: Layouts Explained and How to Modify Layouts - Subscribe-HR Wiki}} {{page.head: Modifying Layouts}} __TOC__ ==Layouts Explained== The Layout is …')
 
Line 56: Line 56:
 
<br>
 
<br>
 
To move an element from one TAB Page to another, simply select and drag the element to the other TAB Page, and select the '''Save layout''' option.
 
To move an element from one TAB Page to another, simply select and drag the element to the other TAB Page, and select the '''Save layout''' option.
 +
 +
===Changing the Sort Order of fields on the Search===
 +
Elements that have been created and flagged with '''Display on Search Results''' will appear on the search form of the object. But when they appear they will appear in natural order. The '''Search Fields Display Order''' section under the Layout sub-folder allows the user to customise the order / position that the field appears on the search form.
 +
<br>
 +
[[File:element_flag_search.gif]]
 +
<br>
 +
<br>
 +
[[File:search_on.gif]]
 +
<br>
 +
<br>
 +
By selecting the '''Layout''' sub-folder we can see the '''Search Fields Display Order''' section
 +
* The Search Fields Display Order section is automatically populated with any elements (fields) that are flagged with Display on Search Results.
 +
# To change the order that the elements appear in simply drag the desired element into position.<br>The first element in the list will appear as the first on the search form from the left.
 +
[[File:display_order.gif]]
 +
<br>
  
 
<br>
 
<br>
 
[[File:subscribehr_logo.gif]]
 
[[File:subscribehr_logo.gif]]

Revision as of 02:06, 30 June 2010

Layouts Explained

The Layout is what defines what elements appear and their position on the page. You are required to have an Object and Elements created before you can use the Layout.

Once you have the Object and Elements created, you simply drag the elements from the fields list onto the page and position them. Save the Layout and you are done.

Layout.gif

Modifying Layouts

  1. After logging into the Subscribe-HR portal, select the Development TAB.
  2. Select the Objects folder.
  3. Select the Object you wish to modify the Layout of
    If you wish to create a new object please see the documentation Creating New Objects and Creating New Elements
  4. Select the Layout sub folder.
    You should notice a General Tab box in the centre of the screen, an Actions box and Fields box. The General Tab box is your main page.
  5. Select and drag one of the fields from the Fields box into the General Tab box.
    If you do not see any elements in the Fields box you have not create any new elements for this object, or the elements have been placed on another layout.
  6. Select the Save layout option from the Actions box.

The Actions Box

The Actions box provides 2x actions that can be used within these screens. New tab and Save layout.
New tab
By selecting the New tab option you are creating a new page off the General page under the same Object. This is accessible via a TAB that is present on the General page.
You should notice that an empty page appears below the General page on the Layout screen. The newly created TAB will not be saved unless the page contains at least one element.

  1. Select the New tab option.
  2. Select and drag one field from the Fields box to the TAB.
  3. Next to the word Tab in the form enter a name for the TAB.
  4. Select the Save layout option.

Save layout
The Save layout option is your save button. Whenever you make a change and move a field to another screen, remove a field, add a field.
You must select the Save layout option or your changes will no be reflected anywhere.

The Fields Box

The Fields box contains new elements that have been created but not yet placed in a layout.
To place an element in a layout simply select the desired field and drag this to one of the TAB pages.
Removing an element from a TAB Page
To remove an element from a TAB page select the X next to the element. This will place the element back into the Fields box.

Moving an element to another TAB Page
To move an element from one TAB Page to another, simply select and drag the element to the other TAB Page, and select the Save layout option.

Changing the Sort Order of fields on the Search

Elements that have been created and flagged with Display on Search Results will appear on the search form of the object. But when they appear they will appear in natural order. The Search Fields Display Order section under the Layout sub-folder allows the user to customise the order / position that the field appears on the search form.
Element flag search.gif

Search on.gif

By selecting the Layout sub-folder we can see the Search Fields Display Order section

  • The Search Fields Display Order section is automatically populated with any elements (fields) that are flagged with Display on Search Results.
  1. To change the order that the elements appear in simply drag the desired element into position.
    The first element in the list will appear as the first on the search form from the left.

Display order.gif


Subscribehr logo.gif