General Information


In the App menu of Purple DS Apps you have the option to display a logo in the header and footer area, as well as a search box.


Instructions


Logo in header / footer

The App-Menu can be configured to display custom logos at the top and bottom.

You can only add one header and one footer logo. Both are optional.


The picture element for the logo requires an URL and height attribute. Optionally you can specify a background color.



The corresponding code section is part of the app_menu.xml file in the dynamic content of your app and looks like this: 


   <navigationHeader>

        <image URL="top_logo.png"

               height="20.0"

               backgroundColor="#fefefe45"

               paddingLeft="10.0"

               paddingTop="20.0"

               paddingRight="30.0"

               paddingBottom="40.0" />

    </navigationHeader>



Search box in app menu


The search element can be used to insert the search field into the menu. When using the NavigationHeader, you'll have to add the search element for the search to be displayed. If it is missing, the search box won't be visible.


Note: If search is disabled in the App settings, adding a search item has no effect - no search will be displayed.


 

The addition to the navigation header element will look like this:


    <navigationHeader>

        <image URL="top_logo.png"

               height="20.0"

               backgroundColor="#fefefe45"

               paddingLeft="10.0"

               paddingTop="20.0"

               paddingRight="30.0"

               paddingBottom="40.0" />

        <search />

    </navigationHeader>