Dirk, Please never apologize for contributing. Everyone's feedback is always helpful, I promise.
Plum was built as a set of building blocks that people can shape to fit their needs. Especially the custom tag library, which is only a starting point for some advanced developers to use as a base for deriving their own custom versions. DisplayContentNamesByCategory is a perfect example of a simple custom tag that is designed to be adapted to your exact needs. Here is how I would implement your requirement, if I understand it correctly: 1) Add a bit column to PlumContentItem named DisplayLink that defaults to 1. 2) Create a copy of DisplayContentNamesByCategory and name the copy something like DisplayCustomCategories. 3) Modify DisplayCustomCategories to retrieve only those content items you want, based on any attributes you decide to pass into it -- make sure you add a WHERE clause for DisplayLink so you can suppress displaying a link to the content items you want to hide from this tag. 4) Add the custom tag where you want it to display the links to your content. Modifying Plum's required tables is necessary on most projects. In fact, just before I got your message I was creating a new project for a client that required a modified PlumUser table with custom columns that were required (NOT NULL), so the New Plum Project Wizard wasn't able to populate anything other than the PlumRole table. No problem -- I just stopped when the browser got to the setup page, copied the sample data insert statements from /setup/StarterDatabases/SQL2000.sql into a new script, added the required columns to the PlumUser insert statements, and ran it in Query Analyzer. Then I went back to the setup page and clicked the button. Bingo! Dirk, please let me know how you resolve this requirement. It might make a good KnowledgeBase article for ProductivityEnhancement.com. Respectfully, Adam Phillip Churvis Member of Team Macromedia http://www.ProductivityEnhancement.com Download Plum and other cool development tools, and get advanced intensive Master-level training: * C# & ASP.NET for ColdFusion Developers * ColdFusion MX Master Class * Advanced Development with CFMX and SQL Server 2000 ----- Original Message ----- From: "Dirk Marshall" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, January 04, 2005 2:43 PM Subject: Re: [plum] CMS > For instance in Ektron, when you add a page to a category it > automatically adds the new page to the menus for that category. After > looking closer I have discovered that I can somewhat create the > automation using > > <cf_DisplayContentNamesByCategory category="Category Name"> > > The problem with this is when dealing with showing subcategories on > specific pages the custom tag will need to be modified. Not a big > issue. Another issue arises if there is a specific page in a category > that I don't want in this automated list. > > I am just thinking out load here so if it sounds like I am rambling I > apologize. I have run into this issue even with Ektron when it comes > to subcategories. I solved this issue on one site by creating a > category system where I have a table that assigns each category to a > parent category. This creates an organizational structure to the > categories that allows them to go as deep as they need to. This is > probably something outside the scope of what you are trying to provide > with the CMS but I thought I would mention it anyway. > > Thank you for your efforts the product is most impressive! I am > having fun with it. Always good when work is fun! :) > > On Tue, 4 Jan 2005 12:30:20 -0500, Adam Churvis > <[EMAIL PROTECTED]> wrote: > > Dirk, > > > > Can you be more specific as to what you want to accomplish? > > > > Respectfully, > > > > Adam Phillip Churvis > > Member of Team Macromedia > > http://www.ProductivityEnhancement.com > > > > Download Plum and other cool development tools, > > and get advanced intensive Master-level training: > > > > * C# & ASP.NET for ColdFusion Developers > > * ColdFusion MX Master Class > > * Advanced Development with CFMX and SQL Server 2000 > > > > ----- Original Message ----- > > From: "Dirk Marshall" <[EMAIL PROTECTED]> > > To: <[email protected]> > > Sent: Tuesday, January 04, 2005 11:41 AM > > Subject: [plum] CMS > > > > > I know the CMS is not intended to replace systems like Ektron, but one > > > thing seems missing. The left nav bar has to be updated manually when > > > new content is added. Am I missing something? > > > > > > ********************************************************************** > > > You can subscribe to and unsubscribe from lists, and you can change > > > your subscriptions between normal and digest modes here: > > > > > > http://www.productivityenhancement.com/support/DiscussionListsForm.cfm > > > ********************************************************************** > > > > > > > ********************************************************************** > > You can subscribe to and unsubscribe from lists, and you can change > > your subscriptions between normal and digest modes here: > > > > http://www.productivityenhancement.com/support/DiscussionListsForm.cfm > > ********************************************************************** > > > > ********************************************************************** > You can subscribe to and unsubscribe from lists, and you can change > your subscriptions between normal and digest modes here: > > http://www.productivityenhancement.com/support/DiscussionListsForm.cfm > ********************************************************************** > ********************************************************************** You can subscribe to and unsubscribe from lists, and you can change your subscriptions between normal and digest modes here: http://www.productivityenhancement.com/support/DiscussionListsForm.cfm **********************************************************************
