The resources are as follows:V9_FORM_TLJ for your form data table, ' Flqh ', ' title ', ' SJ ', ' username ', ' datetime ' for the fields within your form, page= "$_get" for the pagination code, the specific calling code is as follows:Divclass= "box"> h5>Registration informationh5>{pc:get sql= "select ' Flqh ', ' title ', ' SJ ', ' username ', ' datetime ' from ' V9_form_tlj ' ORDER by ' datetime ' DESC ' num= ' 1 0 "page=" $_get "}Tablewidth= "100%"cellspacing= "1"class= "Table-my"> t
Transferred from: http://blog.csdn.net/cloudday/article/details/7343448Call the end of the header {Template "content", "header"}, {Template "content", "Footer"}{siteurl ($siteid)} Home link address Current position----------------{Catpos ($catid)}Column name----------------{$CAT [catname]}column Pinyin----------------{$CAT [letter]}Column link----------------{$CAT [url]}Parent column name--------------{$CATEGORYS [$CAT [Parentid]][catname]}Parent column Link--------------{$CATEGORYS [$CAT [Paren
The role of the individual files under the "PHPCMS-V9" cache directory Caches
Original address: http://blog.csdn.net/yanhui_wei/article/details/7912957
First: Cache files in the Caches/caches_commons directory:
[HTML] View plaincopy
1.caches/caches_commons/caches_data/category_content.cache.php:
Site ID for all columns
2.caches/caches_commons/caches_data/category_content_1.cache.php:
Detailed configuration information for all columns under the c
Phpcms V9 Close foreground and background login verification code method
Front Desk Close Verification code
?
Remove the following code
?
\phpcms\modules\member\index.php?? Find the following 4 lines of code in the "//Judging Code":Judging the Verification code??? $code = isset ($_post[' code ') trim ($_post[' code ')? Trim ($_post[' code '): ShowMessage (L (' Input_code '), http_referer);??? if ($_session[' code ']! = Strtolower ($code)) {????
Phped V9 Professional Edition about breaking outdated solutions
Recently, the phped on his machine suddenly went wrong, after a long time after the start, there appeared "you could be a victim of software counterfeiting" error tip:
?, after a multi-party search, finally solved the problem.
The solution is very simple, in the user directory, find appdata\roaming\nusphere\phped\config\layout.cfg, such as my Win7 administrator user, is it? C:\Users\A
Problem Description: After the website is written on Windows, everything is OK, when the program is uploaded to the server, there is no template to find the problem.A layer-by-layer lookup found that an exception occurred in the phpcms/lib/classes/template_cache.class.php function Template_compile.I like the following template file: phpcms/templates/default/member/sy/index.html, but after the template parsing function Template_compile processing ran to phpcms/plugin/directory down to find templa
After switching to the Ueditor editor using V9, the image upload path shows a relative path, which synchronizes the path of the first picture of the content field to the Thumb field of the thumbnail. If the Thumb field is a relative path, the front end cannot be clipped, and the app or other app cannot be called.Then modify.I'm using 1.4.3 versionLocate the/php/uploader.class.php file under the editor directory.Find the GetFileInfo () method and modif
1. Open the Group field for the model you want to use, and add a group field prompt to1 Divclass= "Content_attr"> 2 label>inputtype= ' checkbox 'name= ' AUTO_THUMBP 'value= "1"checked>Whether to get contentlabel>inputtype= "text"name= "Auto_thumb_nop"value= "1"size= "2"class="">Photo as Title picture3 Div> 2. Open phpcms\model\content_model.class.php to find the following:1 //Auto-extract thumbnail image2 if(isset($_post[' Auto_thumb ']) $systeminfo[' thumb '] = = ' isset($modelinfo[' Content ']
The first step: Add a Watermark box to the Picture Upload dialog box to find:Satics/js/ckeditor/ckeditor.js line 17,554th (need to format, I use NetBeans) to change tofunction D () {W.$.open ();if (B.iscustomdomain ()) W.$.domain=document.domain;var e= ';if (x.size) e=x.size-(c?7:0);var f=u.frameid+ ' _input ';W.$.write ([' ' ' W.$.close ();for (Var g=0; g};Added a red sectionStep Two: Modify phpcms/libs/classes/image.class.php line 16thfunction __construct ($thumb _enable = 0, $water _enable =
Phpcms V9 Self-brought related articles, topics and other modules do not support order ordering, the related articles called, the topic default to ascending, which caused a problem, the related article is the earliest article, no timeliness. We can only modify the program files, simply modify a file, we can meet our needs. To modify related article sorting methods: Open the root directory of the phpcms/modules/content/classes/content_tag.class.php,
1, modify the/caches/configs/system.php inside all and the domain name, the former old domain name changed to a new domain name.2, into the background settings-site management, the corresponding site to modify the domain name of the new domain name.3. Click the Update Cache button in the upper right corner of the background to update the system cache.4, enter the content-attachment management-attachment address replacement. Replace the attachment address in bulk with the new address.5. Content--
Go to the phpcms/modules/search/index.php file.Locate the following code:if (!empty ($segment _q)) {$sql = "' SiteID ' = ' $siteid ' and ' typeid ' = ' $typeid ' $sql _time and MATCH (' data ') against (' $segment _q ' in BOOLEAN MODE)";} else {$sql = "' SiteID ' = ' $siteid ' and ' typeid ' = ' $typeid ' $sql _time and ' data ' like '% $q '";}Replace the above code with the following:$sql = "' SiteID ' = ' $siteid ' and ' typeid ' = ' $typeid ' $sql _time and ' data ' like '% $q '";After copyin
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.