phpcms of adding a module for each column

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
Here Insert Picture Description
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
Here Insert Picture Description
took our own homepage download section and contact us
Here Insert Picture Description
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
Here Insert Picture Description
and then click on the template settings
Here Insert Picture Description
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
Here Insert Picture Description
so that we can see the article template has been
Here Insert Picture Description
submitted and update the cache, Here Insert Picture Description
click to visit you can see our incoming pages
Here Insert Picture Description
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
Here Insert Picture Description
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
Here Insert Picture Description
other columns link is the same way, with regard to the download page can refer to later blog

Published 62 original articles · won praise 20 · views 5792

Guess you like

Origin blog.csdn.net/weixin_44415928/article/details/104444026