Phpcms v9 Template Label Description finishing series
Call the root directory under the Phpcms\template\content\header file
Character set (GBK or Utf-8)
{if isset ($SEO [' title ']) !empty ($SEO [' title '])} {$SEO [' title ']} {/if} {$SEO [' Site_title ']} {$SEO [' keyword ']} {$SEO [' description ']}
Title and Title SEO optimization
Replace the address with the root directory under \STATICS\CSS
{Js_path}
Replace the address with the root directo
Phpcms V9 Simple two-time development
more than two development tips to view PHPCMS system help , the cache caches\caches_template\default after the foreground template parsing
Front control class index.php, front Label class *_tag.class.php, foreground variables can be in the foreground control class, the foreground label class combined with the return
?
Add a new function module, his information storage with the article model field some can not be
V9 calls the current column line code as follows:
The code is as follows
Copy Code
{pc:content action= "hits" catid= "$catid" num= "a" order= "views DESC" cache= "3600"}
Where $catid is the ID of the calling column, and if you want to implement a full station call, you need to modify the phpcmsmodulescontentclassescontent_tag.class.php file to find the following function:
The code is as follows
Co
Phpcms Common variables and fragment code in V9 templates
The preceding is the variable, followed by the explanation of the calling variable
{pc:contentaction= "position" posid= "thumb=" 1 "order=" id desc "num=" 10 "}Picture News
{pc:contentaction= "lists" catid= "$r [catid]" num= "1" thumb= "1" order= "id desc" return= "info"}{pc:contentaction= "lists" catid= "$r [catid]" num= "5" order= "id desc" return= "info"}{Pc:announceaction= "lists" siteid=
= = $hote) {$temp [' fx '] = $hote;$temp [' fj '] = $hotel _fj[$key];$temp [' cx '] = $hotel _cx[$key];$temp [' kd '] = $hotel _kd[$key];$temp [' vip '] = $hotel _vip[$key];$array [$key] = $temp;}}$array = array2string ($array);return $array;}
Modified output.inc.phpfunction textgroups ($field, $value) {Return String2array ($value);}
Updates the background cache. Create a new field in the model, you can see the text group, and you can add it once created.
Foreground call:{Loop $fxinfo $v}
', RN ';
Install Phpcms V9 (Destoon, etc.) in the DEDEAMPZ environment can not upload the image method
Use Destoon to do a website, the results found that no matter what, is not in the background can upload pictures, thumbnails are also, but the network address picture can be.
Later on the Internet to find information, found that there are many people have such a problem.
Finally in an article found that there are solutions, but too me
Hello everyone, a little busy today, see a lot of friends often ask Phpcms v9 home, List page, content page call Click How to make, plan to take time to sum up the code, so that we can use later, as follows:1, Home Call Click Volume {pc:content action= "lists" catid= "$r [catid]" num= "5" order= "id DESC" return= "info"} {php $categorys = getcache (' Category_content_ '. $siteid, ' Commons ');} 2, List page, click Volume {php $db = Pc_base::load
Today I looked at the phpcms write to level two navigation found a problem, query the navigation bar information returned $r[arrchildid] and their own imagination, the document said to return the sub-column ID but a little different.
The beginning of the idea:
General idea: Query the document whether there is a child column ID, if there is output level two navigation. The 5th line in the code is to detect whether there is a sub column ID, but I found that when there is no sub-colu
DB2 V9 after default installation
Add three accounts by default
Dasusr1Db2inst1Db2fenc11 DASUSR1DB2 Management Server Useris the admin das (Database adminitrator Service). To fully apply DB2 cc must start Das.The DB2 Management Server (DAS) responds to requests from DB2 administration tools and Configuration Assistants (CAS).
The user identity of the DB2 Management Server user is used to run the DB2 Management Server (DAS) on the system. The defau
Brief introduction
IBM Integration Bus V9 introduces the ability to propagate client-side SSL certificate information to the message flow. This article will tell you how to use the information stored in the SSL certificate to perform authorization checks on the client, allowing access to a specific subset of the message flow through authenticated clients. Topics covered in this article include:
Enable client certificate Propagation
Accessing certif
With a CMS software system, do a number of sites, unified management, users can communicate, this is called the station group function. This can save a lot of time for operations and maintenance, or it can be difficult to debug and maintain different systems at the same time.I used Phpcms V9 made the zhencms1.com site, intend to try the next station group function, the new station (or sub-station) name is "female site", Domain name zhencms4.com First
The Hosts file is under C:\Windows\system32\drivers\etc\hosts.With a CMS software system, do a number of sites, unified management, users can communicate, this is called the station group function. This can save a lot of time for operations and maintenance, or it can be difficult to debug and maintain different systems at the same time.I am using phpcms v9 do onow Chinese network (www.onow.cn), intends to try the next station group function, the new s
Phpcms V9 article page header two ways to set up
Today, one of my Phpcms site content page included, found that the content page paging title are repeated the same, but this is not conducive to SEO optimization. In the Baidu collection saw just received several content pages are repeating title mark, all is Phpcms v9 program pagination duplicate title caused. is not conducive to SEO optimization, and then w
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.