Themes: Difference between revisions

From MiRTA PBX documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:


'''Server Name Regex''' allows to define the regular expression to capture the URL used to access the website. So you can have a theme for www.yourvoipcompany.com and one for www.yourpbx.com with different colors, settings and text
'''Server Name Regex''' allows to define the regular expression to capture the URL used to access the website. So you can have a theme for www.yourvoipcompany.com and one for www.yourpbx.com with different colors, settings and text
Theme
 
'''Theme''' is the directory where to get all the files for the theme
'''Theme''' is the directory where to get all the files for the theme
'''Fixed header''' specified if the top header will stay in place when scrolling the page or not
'''Fixed header''' specified if the top header will stay in place when scrolling the page or not
'''Menu on top''' allows to have menu on top instead of the left side
'''Menu on top''' allows to have menu on top instead of the left side
'''RTL (Right to Left)''' is for the countries using RTL languages
'''RTL (Right to Left)''' is for the countries using RTL languages
'''Title''' is the window title that will be used
'''Title''' is the window title that will be used
'''Top Title''' is the title on the top of the page, with HTML formatting
'''Top Title''' is the title on the top of the page, with HTML formatting
'''Bottom Message''' is the message shown at the bottom of every page
'''Bottom Message''' is the message shown at the bottom of every page
'''Logo path''' is the local path where to fine a log to show on first page and on every page, in the top left corner
 
'''Logo path''' is the local path where to find an image to show on first page and on every page, in the top left corner
 
'''Favicon path''' is the local path where to find a .ico image to use as favicon.
 
'''Custom CSS''' allows to use an additional CSS. The file needs to be placed inside the theme directory as following

Revision as of 15:53, 28 July 2016

The "Themes" section allows to manage different themes for your website. Each theme is identified by the URL used to access it. The default theme has a regular expression to "catch all" URL used: ^.* If you want to use different themes for your multiple website hosted on MiRTA PBX, you need to remove this entry and populate with the specific URL.

Themes.png

When the website will be accessed, using one of the listed URL, the selected theme will be used.

You can use any Regular Expression to identify your URL.

When defining a Theme, you can choose several options and even produce a complete new CSS theme.

Theme1.png

Theme2.png

Server Name Regex allows to define the regular expression to capture the URL used to access the website. So you can have a theme for www.yourvoipcompany.com and one for www.yourpbx.com with different colors, settings and text

Theme is the directory where to get all the files for the theme

Fixed header specified if the top header will stay in place when scrolling the page or not

Menu on top allows to have menu on top instead of the left side

RTL (Right to Left) is for the countries using RTL languages

Title is the window title that will be used

Top Title is the title on the top of the page, with HTML formatting

Bottom Message is the message shown at the bottom of every page

Logo path is the local path where to find an image to show on first page and on every page, in the top left corner

Favicon path is the local path where to find a .ico image to use as favicon.

Custom CSS allows to use an additional CSS. The file needs to be placed inside the theme directory as following