Destoon the method of displaying the region name next to the logo after switching the city _php instance

Source: Internet
Author: User

This article describes the Destoon of the city after the implementation of the logo to display the name of the region, in different areas of the construction of substation is very suitable.

Generally speaking, when we enter the site after the default is the terminus, when we open the city station, click on the selection of stations, the logo next to you can see the name of the city you choose, when the choice of the national when the logo next to nothing show.

The implementation methods are as follows:

Open the Header.htm file for the template file to

{if $cityid} <span id= "destoon_city" >{$city _name}</span>{/if}

Put it next to the picture of the logo.

The specific style can be modified according to your own needs.

It is hoped that the method described in this paper will be helpful to the development of Destoon.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.