<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://gemstracker.org/wiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://gemstracker.org/wiki/feed.php">
        <title>GemsTracker devzone:giftbox</title>
        <description></description>
        <link>https://gemstracker.org/wiki/</link>
        <image rdf:resource="https://gemstracker.org/wiki/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-04-21T11:37:50+0200</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://gemstracker.org/wiki/doku.php?id=devzone:giftbox:changing_a_form_element&amp;rev=1584011193&amp;do=diff"/>
                <rdf:li rdf:resource="https://gemstracker.org/wiki/doku.php?id=devzone:giftbox:changing_a_table_view&amp;rev=1584011193&amp;do=diff"/>
                <rdf:li rdf:resource="https://gemstracker.org/wiki/doku.php?id=devzone:giftbox:changing_header_to_organization_name&amp;rev=1584011194&amp;do=diff"/>
                <rdf:li rdf:resource="https://gemstracker.org/wiki/doku.php?id=devzone:giftbox:sequentialnrs&amp;rev=1584011193&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://gemstracker.org/wiki/lib/tpl/dokuwiki/images/favicon.ico">
        <title>GemsTracker</title>
        <link>https://gemstracker.org/wiki/</link>
        <url>https://gemstracker.org/wiki/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://gemstracker.org/wiki/doku.php?id=devzone:giftbox:changing_a_form_element&amp;rev=1584011193&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-03-12T12:06:33+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Changing a form element</title>
        <link>https://gemstracker.org/wiki/doku.php?id=devzone:giftbox:changing_a_form_element&amp;rev=1584011193&amp;do=diff</link>
        <description>Changing a form element

We will change the studynumber field from editable to non-editable, so you need to change a respondent details textbox.

First create your own respondent controller if you have not yet done so (see howto).

There is only one function you need to overrule: the addFormElements function.</description>
    </item>
    <item rdf:about="https://gemstracker.org/wiki/doku.php?id=devzone:giftbox:changing_a_table_view&amp;rev=1584011193&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-03-12T12:06:33+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Changing a table view</title>
        <link>https://gemstracker.org/wiki/doku.php?id=devzone:giftbox:changing_a_table_view&amp;rev=1584011193&amp;do=diff</link>
        <description>Changing a table view

We will change the view of the organizations table, so you can see codes and sort/select them.

This table view is in a library snippet called library/Gems/snippets/Organization/OrganizationTableSnippet.php.

Copy this snippet to the folder application/classes/[yourproject]/Snippets/Organization</description>
    </item>
    <item rdf:about="https://gemstracker.org/wiki/doku.php?id=devzone:giftbox:changing_header_to_organization_name&amp;rev=1584011194&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-03-12T12:06:34+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Changing the header to organization name</title>
        <link>https://gemstracker.org/wiki/doku.php?id=devzone:giftbox:changing_header_to_organization_name&amp;rev=1584011194&amp;do=diff</link>
        <description>Changing the header to organization name

If a user is logged in we will change the default header (project name) to that users' organization name.

This can be achieved in Escort.php. 

We need to override the function _layoutProjectName that is in library/gems/classes/escort.php. We copy this function in our own application/classes/[yourproject]/Escort.php:</description>
    </item>
    <item rdf:about="https://gemstracker.org/wiki/doku.php?id=devzone:giftbox:sequentialnrs&amp;rev=1584011193&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-03-12T12:06:33+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Sequential numbers</title>
        <link>https://gemstracker.org/wiki/doku.php?id=devzone:giftbox:sequentialnrs&amp;rev=1584011193&amp;do=diff</link>
        <description>Sequential numbers

In order to create a sequential (study-)number for each new respondent, you need to create you own respondent controller.

Please see the howto page first, on how to do that.

In the code below, you will see three functions in this controller:</description>
    </item>
</rdf:RDF>
