FOR-CMS.COM - Templates and extensions without viruses and hidden links. All for 5 USD!
the Module and plug-in of City changer — allows to emphasize your branches in various cities for the purpose of increase in sales. The module for CMS Joomla, dozvolyayushcht to you as to the administrator of the website to remove various cities in the emerging list. Expansion is compatible to multilingualism modules, but for this purpose you to be necessary to create the copy of the mod_citychanger module for each language.
We have tested this expansion on the Joomla 3.5.1 version, but it will be also good to work at the Joomla 2.5 version!
As it functions? The principle activity is rather elementary. At visit of the page (it is possible to disconnect) your visitor sees the pop-up window based on the principles of geo-location (possibly to disconnect) and the list of the cities in which there are your branches or offices, thereby at the choice of this or that city to the visitor contact information corresponding to this city (addresses, phone numbers), and also opportunity to pass to subdomain for the city, the vologda.site.ru or sichi.site.ru type is displayed, or corresponding to the special tag (which can be registered in settings of the module), for example site.ru/vologda (the attention, creation given pages is obligatory), from within which data for the purpose of the corresponding megalopolis are obliged to be. Expansion operates with special tags in which information for the respective city has to contain.
Phone: [city Vologda] +7 172 555-66-77 [/city] [city Sochi] +7 862 444-55-66 [/city]
On one page of podony tags can be much, but on the website information only from those tags which correspond to the current chosen city will be visible. Action of tags is not limited only to materials, you can use them even in files of template. So for example, it is possible to display different positions of modules for the different cities.
& lt; of div of class = " some-block" & gt;
[ of city Vologda] & lt; of jdoc : of include of type = " modules" of name = " position-vologda" of style = " none" / & gt; [ / of city ]
[ of city * ] & lt; of jdoc : of include of type = " modules" of name = " position-all" of style = " none" / & gt; [ / of city ]
& lt; / of div & gt;
& nbsp;
In such a way "position-vologda" with all the modules will be displayed by
only for Vologda, and the second position - for all other cities.
to
has provided the complete list of possible options of use of tegoa:
of [city Tomsk]
of [city Minsk, Kiev]
[city *]
- more precisely any except those that are specified obviously in other tags of the current page [city! Norilsk]
[city! Voronezh, Rostov]
& nbsp;
Note: applying these tags in the editor, you seek not to make spaces and carryings among the specified tags of the 1st megalopolis and revealing other because there is every chance to arise unnecessary spaces or transfers in any way (the coeditor automatically changes html texture of word and has opportunity to place unnecessary tags among the tag).
Control of expansion consists in initial installations of plug-in and the module. The plug-in should be made active. Later (immediately) we switch to module options. Significant characteristics of the module stay only in main tab of options, however and in tab of additional characteristics there is "addition of call back" point.
This field allows to enter any javascript code which will be выпольняться when switching the cities. In general this "feature" is necessary only for the first mode (when the cities switch on the fly, there are neither pages of the cities, nor subdomains). The matter is that when there is switching of the city "on the fly", many javascript plug-ins do not do the repeated initialization and earlier hidden dynamic elements are nonoperating. For example, different sliders for the different cities. When switching the city, the displayed slider is not working (because when loading the page it did not exist). Therefore it is necessary to register code of initialization of slider that after switching he has earned in this field.
the Main domain - It is necessary for the purpose of the correct development of addresses of subdomains. Automatic establishment of the main domain (in case it is specified in subdomain earlier) functions only provided that at the website the domain of the second level (site.ru).
By and large, this meteoparameter is entered by automatic machine (as value the name of the current host undertakes).
the Choice of the city when calling on the website
If this parameter is set by
to rhinestone will suggest it to choose by
of titel on the website, the module the city from pop-up window.
Pay your attention: if parameter is included, then yandex-geolocation as there is conflict between automatic detection of the city and the choice of the user will not work.
In the module is available several methods of adjusting of geolocation and their opredelniya. If automatically certain city is in Speke (settings of the module), then there is switching of content or redirect to the corresponding subdomain. the following options Are available:
Is the interaktiny table consisting their 4 columns:
and or URL prefix with the purpose to give алиас pages (for example "/moscow/" or "/spb/"), and also additional actions "to exclude line" and "to move line"
Pay attention that to the main city the page is not set as there should be no at the website homepage (website root). Thus the homepage of the website is homepage of the city specified by default. For the best understanding, I will represent as the structure of such website has to look.
/ (The homepage for Moscow)
/ about-company (About the company)
/ services (Service)
/ contact (Contact pieces)
/ products (Products)
/ vologda/(The homepage for Vologda)
/ vologda/about-company
/vologda/services
/vologda/contact
/vologda/products
/perm/(The homepage for Perm)
/ perm/about-company
/perm/services
/perm/contact
/nsk/products, etc.
you are afraid that it is necessary to create duplicates of each page from the main town? You are mistaken! It is actually enough to create pages only for the main town, and the page for other cities — all this the same pages of the main town, but with other url.
The matter is that the structure of the website is set through the Menu component, therefore the menu is enough to make for each city, but to appoint the prefixes for addresses of pages (/about-company-> / spb/about-company). That is in root of the city of St. Petersburg (/spb/) the menu copying the menu of the main town, but with prefixes at addresses has to be displayed.
of Several color preset subjects (dark, green, blue, orange)
We have collected the largest database of pure premium templates and extensions for popular CMS such as Joomla, WordPress, Opencart, etc!
We guarantee the absence of hidden links and backdoors. Only original files directly from the developers!
No bindings to domains! All templates and extensions can be installed on any number of domains and sites.
Only we have premium templates and extensions from only 5 USD! Cheaper only in free access with viruses, hidden links and backdoors!