If you are building a standalone app you can use the Homeflow API Gem. Click here for info.
Asset packs can be included in your theme by defining them in the config.yml file, see assets and minify for more details.
Last modified: 09-Apr-15
Social media functions
A function exists that can query the twitter api in order to pull back a number of tweets for an agency. Twitter keys are added in agency admin under website/appearance/preferences section, whilst the agency’s screen name can be set by a member of the Homeflow team. Here’s the code required:
Social media sharing
You can easily add share links to any of your pages for social media with the following snippet:
Draw a Map base styles
These styles can live in the custom CSS in the agency admin, or indeed in a LCSS file within the theme itself.
Here is a list of the configurable colours which are available, these can all be used in your themes css to allow colours to be customizable.
Find out how to configure your theme to use these colours here.
Primary colour: The main colour used by your agency. It is generally a bold colour, and probably the most dominant in your logo. It will most often be used for large areas of colour and text headings.
Primary tint colour: A light tint of your primary colour, used for accenting and background areas.
Accent colour: This complements your primary colour, and may be used sparingly within themes for borders and highlighting.
Accent tint colour: A light tint of your accent colour, used for backgrounds and shading.
Primary text colour: This is the colour that most text uses on the site.
Accent text colour: Standard links and accented text takes this colour.
Header text colour: Enter a colour to set as the text colour for the main headers on the site. i.e H1 tags.
Sub header text colour: Enter a colour to set as the text for the smaller headers on the site. i.e H2, H3 or item headers (these can vary from theme to theme).
Site header background colour: Enter a colour to set the background colour for the header of the site.
Navigation primary background colour: This is the main background colour for the navigation items of the site.
Navigation primary tint background colour: This is a tint of the primary navigation colour which could be used for rollovers.
On navigation primary text colour: If there is a colour that looks good on your navigation primary colour use it here.
On navigation primary tint text colour: If there is a colour that looks good on your navigation primary tint colour use it here.
Secondary navigation text colour: If the theme supports it - you can set a colour for the secondary navigation text here.
Site Background colour: You can set the background colour for the whole site here.
Content background colour: This will set the background colour of the main content body of the site.
Carousel and summary background colour: Pick a colour to set the main carousel and property summary backgrounds of the site.
On carousel and summary text colour: Pick a colour to set for the main carousel and property summary background text.
Sidebar pod background colour: Set this colour to override the default background colour for the sidebar pods on the site.
On sidebar pod text colour: Set to override the colour of the text for the sidebar pods.
Button primary text colour: You can set the main button colour here.
Button text colour: Choose a colour that looks good on your buttons for the text.
Button tint colour: If the theme you have chosen supports this field then you can set the tint colour for your buttons here.
Button tint text colour: Choose a colour that looks good on the hover overs for your buttons for the text.
On footer text colour
On primary text colour: If there is a colour that looks good on your primary colour choose it here.
On primary tint text colour: If there is a colour that looks good on your primary tint colour choose it here.
On white heading text colour: This defaults to your primary colour, but to use an alternative colour select it here.
Grey alternative colour: Some themes use shades of grey for background shading and minor detail. Select an alternative colour here.
On accent text colour: If there is a colour that looks good on your accent colour then choose it here.
On accent tint text colour: If there is a colour that looks good on your accent tint then choose it here.
You can also set up to 10 custom colours if your require an options which we dont provide.