Scripting Page 7

Two methods of intercepting header length using CSS style without using functions

Published by Lao Jiang on April 20, 2015 at 09:37:45

For example, when we create a website template, or choose to download it to a default that we think is good, the title of the article called by the sidebar or article list may be too long due to details. We need to intercept through means. In the article "Functions to automatically intercept the number and content of ZBLOG PHP summary characters", I need to implement the interception of ZBLOG PHP content. I use the SubStrUTF8 function

Python IDE special editor PyCharm download, configuration and installation process (Ubuntu environment)

one

Published by Lao Jiang on January 31, 2015 17:41:13

In the past few days, I have been tossing about the Python environment. It is shown that the laptop should be installed with the Ubuntu Linux environment system. After the basic Python environment has been installed, the best code editing and management tool PyCharm in its platform should be installed. So I installed it according to the online tutorial, but I still encounter various problems in the process. So today, I will install the whole process of PyCharm

Two practical mobile browsers judge the jump to the JSP file of the WAP website

Published by Lao Jiang on January 20, 2015 at 10:29:44

Generally speaking, there are two types of websites compatible with mobile browsers. One is that we make PC website content into adaptive mobile content, so that we can share a database and framework to achieve access to PC and mobile terminals. This kind of website is a bit difficult for big data or complex structure websites. After all, in some industries on the mobile terminal, we don't need so much information, just focus on the main information display, The second is to have

JS script of adding QQ friend invitation dialog box will pop up automatically on the login page

one

Published by Lao Jiang on December 9, 2014 12:26:57

In fact, Chiang has seen such a function, but it has never been necessary, so there is no need to sort it out. Today, Xiao Tang needs to use this function on the hospital website, so he took some time to organize and share it in the blog, so that other users can copy it when they need it. Of course, it would be troublesome to find it when I need it. The first step, JS script, is more critical

How to delete the WAP function of ECSHOP's own mobile phone

one

Published by Lao Jiang on November 13, 2014 19:25:02

A customer's website is built with ECSHOP, and a separate mobile WAP website needs to be built, because the mobile website self built or generated by other platforms is not well adapted. So we will create a separate secondary domain name WAP website. Now we need to add the switch code to the PC website. Even if you turn off the WAP function in the ECSHOP background, you cannot jump or jump to the WAP network

Record a quick move method of Magento program website

Published by Lao Jiang on 2014-11-08 08:29:03

At the customer's request today, we need to install the WDCP panel in a VPS, configure the Magento environment, and migrate the website in the original VPS. Jiang usually doesn't have much contact with Magento, and there is no problem with the environment configuration, because in the "Linux VPS builds the component environment that Magento needs to support", he has recorded the time when solving the problem

Solve the problem that the Imperial Backup King "cannot link to MYSQL, please set the database settings"

Published by Lao Jiang on November 7, 2014 at 19:07:44

Just now, I helped a netizen customer solve the problem of Linode VPS moving. Because the database is widely exported directly by PHPMYADMIN, there may be problems. I used two methods to back up the database, one is direct export, and the second is to use Imperial Backup King to back up the database and restore the data. After installing the normal program and logging in to the Imperial Backup King, the link to the database is successful, but click the number of backups

Discuz program is general HTACCESS pseudo static file and its setting method

Published by Lao Jiang on 2014-11-06 14:07:04

Generally, when we use the DISCUZ program to build a website, we will definitely start the pseudo static function, which is also good for the search engine and user experience. If the VPS/host environment we use is APACHE, we can directly place the. htaccess file in the root directory of the website, and then place the corresponding version of the DISCUZ pseudo static rules in the file. In this article, Old Jiang has been updated

Solve ECSHOP thumbnail screenshots with equal size and no blank

one

Published by Lao Jiang on October 16, 2014 at 15:08:19

Old Jiang seldom uses ECSHOP once. He just heard that Chinese B2C websites use this free and open source CMS to be good. Just as a customer needs to build a website, he uses ECSHOP for the first time. The whole website is not complicated, and then you can simply create it by looking for free themes. The only small problem is the thumbnail, which is 175 in width and height by default. The customer requested that it be wider

Magento pseudo static URL removes index.php character setting

three

Published by Lao Jiang on October 13, 2014 00:42:46

Magento is a very powerful B2C website CMS program. In the early days, our foreign trade websites used zencart more often, but the ease of use and structure were not very friendly. Gradually, people turned to Magento. For novice users, Magento still has some difficulties. For example, when using VPS to build Magento, configuration environment compatibility is required. Silence