feltch wrote:
I would like to be able to add a new document (like in the news module) that "becomes the parent". Think of it like a "series" where the monthly or weekly content becomes the "cover page" with the same category or title. The children get bumped down as a new parent is created... The "catagory" stays the same.
For a method of doing what you describe that does not require changing your page hierarchy, see:
Displaying the Most Recently Added Page Categorized by Template
To see this in action, go to my uncle's
Need to Vent! web site and click on the
Movie Reviews link. You will be redirected to the most recently added or edited review. From there, you can read any of the other reviews from the growing list on the left-hand side. (It is time to provide a better method both for ease-of-use and because of Menu Manager module performance...)
While calguy1000 is right about the preferred methods for adding code blocks, I still haven't changed from the PHP file in the document root. I will probably look at options to reduce the number of SQL queries used to generate the left-hand menu (approximately 120 queries today) before I take the relatively minor hit for the handful of queries needed to retrieve the contents of this file from the database. However, I would like to eventually use CMSMS to fully manage everything implemented for the site. After all, that is the point of using a CMS. (Before that can happen, I still need to convert nearly a hundred legacy files to CMSMS content pages instead of referencing them with CMSMS links. Then, there are still those legacy "pages" that a previous "web site developer" created in some editor and then saved as image files... Gah!)