Branding Your Foundation Application
One of the first things you’ll likely want to do is rebrand the Numerex Foundation application. This can be easily done by making these simple modifications:
1. Change the application title displayed in the browser window by modifying @page_title in /opt/ublip/rails/current/controllers/application.rb
def set_page_title
@page_title = “Ublip - Location Matters”
end
2. Change the large Ublip logo on the login page with your own in /opt/ublip/rails/current/app/views/layouts/login.rhtml
<a href=”/”><img src=”/images/ublip_logo.png” alt=“Ublip - Location Matters” title=“Ublip - Location Matters” border=“0” /></a>
3. Change the small Ublip logo that displays in the top right of the application in /opt/ublip/rails/current/app/views/layouts/includes/_header.rhtml and in /opt/ublip/rails/current/app/views/layouts/includes/_admin_header.rhtml
<a href=“http://www.ublip.com” target=“_blank”><img src=”/images/ublip_logo_small.png” alt=“Ublip logo” border =“0” style=“vertical-align: middle;” /></a>
4. Change or remove the copyright, terms and conditions, and privacy policy links in /opt/ublip/rails/current/app/views/layouts/includes/_footer.rhtml
This is all you need to do to achieve basic branding for your application. To take this one step further you can create your own theme by modifying /opt/ublip/rails/current/public/stylesheets/common.css We’ll address some of the CSS styles that you can quickly change for a unique look and feel in a future post. In the meantime, if you have any questions you can feel free to post them in our application forum.
