Is there a good way for prawns to automatically generate static homepages and second-level pages, and to be able to automatically update the homepage and second-level pages based on changes to the third-level pages? ? ? ?
Let's talk about it! !! !!
When the content of a page changes, it also regenerates the pages related to him.
The worst case of a third-level page is that changing the content of an item requires generating 3 pages.
Understand the meaning of the landlord. That is, the third page is a page with a form submission, which passes the content to a php file. This php file generates three separate pages ...
I now generate the third-level page before writing to the database! Let's re-generate the second-level and first page related to it!!!! I wrote the function myself! But the versatility is not good! Do you have any Good way! Which is better to write functions and use smarty!!!!!!