Questions about redirection between phpcms templates

Source: Internet
Author: User
For details about the redirection between phpcms templates, refer to the phpcms familiar prawns: do not perform secondary development on the phpcms controller, but add some templates and modify the homepage template. If a link such as & lt; a & nbsp; href = "... is added to the homepage ".... "& gt; jump to & lt;/a & gt;, how can I jump to other template pages ?, The online help documentation is very detailed. There is a jump between phpcms templates.
For details about phpcms, do not perform secondary development on the phpcms controller, but add some templates and modify the homepage template.

If a link such as jump is added to the homepage, how can we jump to other template pages?
------ Solution --------------------
The online help documentation is very detailed. Path
------ Solution --------------------
If a template page exists, the template page does not run independently and must be called using a php program.
Therefore, the added jump is to jump to the corresponding php program.
------ Solution --------------------
I think you may want to call the template page or module. jump to the specified module, that is, call, which is described in the cms documentation.
------ Solution --------------------
You cannot skip directly. the template page jumps to the corresponding xxx. inc. php file specified by action in the action. This file is used to execute include the template page you want to jump.
------ Solution --------------------
THINKPHP makes a template because it has built-in template calling rules, and you need to bind it to PHPCMS. if you just write a static template, it basically won't work, if it is dynamic, you need to go to the background to set the template to display the content of that module, so that you can open the page and get the address, and then add it to your link.
------ Solution --------------------
Reference:
If a template page exists, the template page does not run independently and must be called using a php program.
Therefore, the added jump is to jump to the corresponding php program.


Without understanding what you mean, it is impossible to jump to the template page. as the boss said, the template will be parsed into a php file, and the PHP file itself has nothing to do with the url address.

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.