This article premise
phpcms of how to set your own static template into phpcms template
we first landing into Admin account, click Content, module management
will find a directory structure structure here is phpcms home page navigation bar, but we replaced own these static template structure naturally useless, we can delete them all
took our own homepage download section and contact us
first look at contact us here, in general, we click on Contact us, will jump to a page, the content inside is very simple, it is a phone, a mailbox, there is an address, at most, a picture on the line again, that he is a single page
we click to add a single page
and then click on the template settings
strange, why no single web page templates? ? , Do something, do not panic, before we default template phpcms it's deleted, inside there is a page.html, that is the default template, but we deleted, do not panic, we find our own contact our HTML, renamed page.html there
so that we can see the article template has been
submitted and update the cache,
click to visit you can see our incoming pages
can be seen catid here is 9, and the background catid is the same (you not necessarily 9 may be another number), phpcms catid to record every page, it is out, but how can I put this to connect to the home page Contact us on it, we just need to contact us for a label right a href changed {$CATEGORYS[9]['url']}
to
the representative here is to jump to the catid page 9. This time, you will notice that the home page Contact us click, but the other is not clickable, we are supposed to want to go back home, home is actually written in the href/
It can, as
other columns link is the same way, with regard to the download page can refer to later blog
phpcms of adding a module for each column
Guess you like
Origin blog.csdn.net/weixin_44415928/article/details/104444026
Recommended
Ranking