Phpcms v9 template making common code collection
1. Intercept Call title length
{Str_cut ($r [title],36, ')}, followed by quotation marks to remove ....
2. Format time
Call format Time 2011-05-06 11:22:33
{Date (' y-m-d h:i:s ', $r [Inputtime])}
3. Multi-column Call Multi-Recommendation bit call
Call Requirements: The article range is 59 60 613 columns, and pushed to 27 and 282 recommended bits;Starting with the third article, 7 consecutive artic
Phpcms v9 template making common code collection (personal collection)1. Intercept Call title length{Str_cut ($r [title],36, ')}2. Format timeCall format Time 2011-05-06 11:22:33{Date (' y-m-d h:i:s ', $r [Inputtime])}3. Multi-column Call Multi-Recommendation bit callCall Requirements: The article range is 59 60 613 columns, and pushed to 27 and 282 recommended bits;Starting with the third article, 7 consecutive articles are called.{pc:get sql= "sele
Many friends often ask Phpcms V9 's homepage, list page, content page clicks how to call. Today to share phpcms V9 How to call the click Volume code on the homepage, List page, content page respectively1,PHPCMS V9 Home Call clicks
{pc:content action="lists" catid="$r [catid]" num="5" order="id DESC" return="info"}
{php $categorys = getcache (' Categor
How do i make SEO settings for the title of Phpcms V9?
Before my friend asked me that CMS good, I introduced the Phpcms v9, really simple and powerful, station station are very easy!
Recently, a friend asked a question, said the title of the homepage can be controlled, but the column page, the title of the content page is very long, the user experience is not good, and then studied a bit, in fact, really
How to call specific data in ads in Phpcms v9
Phpcms V9 's advertising module has a lot of flexibility, using the default templates have been able to get some very useful advertising results, but if it is a self-made similar to the jquery switch ads and other situations, the system comes with the call method can not meet the requirements, Then you need to invoke the specific data in the ad, such as: Call th
How do I phpcms V9 's first page data list? I saw a lot of related posts on the Phpcms forum, but none of them solved the problem. Ask this question person, is want to phpcms v9 make blog appearance, but is there a lot of excellent blog program, PHP, such as wordpress,asp have Zblog, may be a fancy phpcms v9 powerful function bar. Seriously, I have this idea, too
}{/loop}{/PC}15.v9 List page perfectly supports custom segment calls
{pc:content action= "lists" catid= "$catid" num= "order=" id DESC "page=" $page "moreinfo=" 1 "}{Loop $data $r}{/loop}{/PC}16. The current column calls the parent level and the following column information method
The other code should be the ground or the ground. It's a factor.{php $arrchildid = $CATEGORYS [$CAT [Parentid]][arrchildid]}{pc:get sql= ' select * from V9_news where catid
When we use phpcms V9 to make site templates, using global template variables can be easily invoked, easy to use, and can be uniformly modified to facilitate maintenance. Here's how to add a custom global variable in Phpcms V9.Modify a Web site system.php configuration file
File path:/caches/configs/system.php
In the 30th row or so,' App_path ' ' http://127.0.0.1/weiyun_new/ ',// Dynamic Domai
are any non-conforming averages. If so, increase the average value.If ($ w_num_t ){$ Num + = ceil ($ w_num/($ model_num-$ w_num_t )); } $ Datas = array ();Foreach ($ data as $ r ){$ R_n = '';If (is_array ($ r ['data'])Foreach ($ r ['data'] as $ r_t ){$ Datas [] = $ r_t;If (++ $ r_n = $ num) break; } } Return $ datas;} Else {Return false; } } Then, we will call the following tag on the page that needs to call the latest dynamic route for CDN: The code is as follows:Co
PHPCMS V9 administrator password forgot how to modify, phpcmsv9Generally, Vm providers provide PHPmyAdmin. Select your website database and select the table v9_admin,EditPassword, changed to: fa3250300be9b7ab0848257f3cbb06e7Encrypt to ucFfApIn this way, the password will be changed to phpcms, and you will be able to log on normally.You can alsoChange password to eeddc98ecb7cca0b0502c8c1e733549eEncrypt to: fPaIDJIn this way, the password will change to
This article mainly explains the solution of many problems in the case of using the V9 self-contained verification code in V9 and needing to use the session. :)。 If there is a problem or a better solution, I hope to advise.1. Front-end Call verification codePc_base::load_sys_class (' form ', ', 0); {form::checkcode (' code_img ', ' 4 ', ' 14 ', 120, 26)}2, the management side Verification Code verification$
Section I.1, first download PHPCMS v9 integrated installation package and installation, here is not explained in detail.2, local debugging recommendations you use Apmserver, or wampserver, you can go to phpcms Bar official homepage link to download. Install the root directory "phproot→phpcms→templates" folder to open V9 and copy the "default" folder to a name "redu".3, Login
Recently with Phpcms V9 again encountered an old problem: in the content page thumbnail clipping when the black edge, this situation has not met, is estimated to be long or wide different or will be in the Home page, list page, content pages in different places accidentally appear, here to share the phpcms V9 thumbnail clipping there is a black edge solution.In the phpcms
CactiEZ Chinese Version V9 officially released-Linux Enterprise Application-Linux server application information. The following is a detailed description. CactiEZ Chinese Version V9, based on RHEL5.2, supports more hard disks and arrays, the system is more stable, supports Chinese graphics, beautify the font.
Warning:
The CactiEZ Chinese Version V9 uses the
This tutorial is a beginner's tutorial, Master can audit, although it is a beginner tutorial but the basic HTML language and CSS is necessary to understand, this tutorial is the foundation, after the Phpcms bar will be introduced into the article, there will be a video tutorial released, we have questions to the forum to ask questions, Forum Address:/HTTP Www.phpcms8.com/bbs
Section I.
1, first download Phpcms V9 's integrated installation package
[CATID]} {$r [catname]} {pc:content action= "category" catid= "$r [catid]" num= "siteid=" $siteid "order=" Listorder ASC "return=" Data2 "} {Loop $data 2 $v} {$v [catname]} {/loop} {/PC} {Else} {$r [catname]} {/if} {/loop} {/PC}
Determines whether the obtained sub-column ID is equal to the column ID, is equal to the absence of sub-columns, does not mean that there are sub-columns and display sub-columns
The above is a small series to introduce you to the Phpcms
What do I do when I install PHPCMS v9 space does not support Fsockopen function?
As a result of a variety of recent CMS programs burst out a variety of vulnerabilities, which due to fsockopen caused by a number of vulnerabilities, especially, so now a lot of space vendors shut down the Fsockopen function, and in the installation of PHPCM V9, will automatically detect the corresponding settings of the space
Tags: discuz problem select Remove IV AC stat Update definitionThe get tag works well and the get is almost universal after customizing the model. But Phpcms upgrade to V9, the 2008 of a lot of functions are removed, such as the get tag, in the back automatically added a limit 0, 20, so you even write the num= ' number ' is useless, written in SQL statements, such as{pc:get sql= "select * from V9_news ORDER by ID DESC LIMIT 2,5" cache= "3600" page= "$
This article mainly introduces how the Form Wizard function of Phpcms V9 is used, and it is explained by several cases. First, let's talk about how V9 's Form Wizard can be used to create a form, which is often used as a message board. Or in the recruitment column as a personal information for users to fill out the application form. For forms, the default template is placed in the./phpcms/templates/default/
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.