Thanks Chris ... that worked like a charm! The only issue I'm facing is to set a container to display on all the pages irrespective of whether we check the pages or not. As of now I can check all the existing pages and my container would be displayed on all the pages. The problem arises when I add a new page and I have to manually link this container to it. Is there a way to accomplish this?
Is there a unique id that is available on all pages (like root, etc) which we can make use? Could you think of a logic? thanks again for your timely help, John On 7 Aug, 20:31, "Chris Kent" <[EMAIL PROTECTED]> wrote: > John, > > Try adding the following, ftrendertype="dropdown" it should change the > radio buttons to check boxes allowing multiple selection. > > You may want to change the property type to from string to longchar, > You will be able to store more UUIDs. > > What you then do is modify your publishing rules to check the > request.navid against this value to determine whether the content item > shold be displayed through the rule. > > Doing this, you will not need to try to keep the nav nodes and > category tree in sync. > > Chris. > > On Thu, Aug 7, 2008 at 1:31 PM, John M Stephen <[EMAIL PROTECTED]> wrote: > > > > > Thanks Chris ... But I guess I'm missing something out here. Let me explain > > what I want. > > > I am creating a lot ofcontainersand placing them on selected pages. Like > > there can be an Ad container which I want to place on the Contact Us and the > > Locations page. To help the content manager easily deal with this I want the > > Navigational tree to show up on admin UI so that he/she could click on the > > "contact us" and "locations" on the Nav tree to link it. > > > Currently I have accomplished it by using the category tree by equating the > > stobj.CATHTML with the stobj.categories. But the issue is that everytime a > > new page is added the content manager has to manually add that to the tree. > > > With your solution I am not able to click on more than one (even with the > > ftselectmultiple set to true). Also I dont have an idea how to use the UUID > > returned as navLocation in my property to link a container to a page. > > > I admit I am newbie in FarCry and would like you to help me in this > > regard... > > > thanks, > > > On Mon, Aug 4, 2008 at 9:05 PM, Chris Kent <[EMAIL PROTECTED]> wrote: > > >> John, > > >> From your message I assume you're trying to set a one-to-one > >> relationship between categories and pages to allow publishing rules to > >> direct content to required pages. If I am correct then read on. > > >> Are you using Farcry V4 or V5? If Yes then read on. > > >> You can use the navigation formtool to pickup the site tree and allow > >> assignment of one or more navigation nodes against a content item, > >> e.g. add it into your dmNews. > > >> <cfproperty ftseq="5" ftfieldset="Navigator" ftwizardStep="General > >> Details" name="navLocation" type="uuid" hint="News Placement." > >> required="no" default="" fttype="navigation" ftlabel="News Placement" > >> ftalias="home" ftselectmultiple="1" /> > > >> This will present a colapsable tree of checkboxes that is created from > >> teh main site tree navigation nodes. > > >> Modify the publishing rules to allow selection by navLocation. > > >> At content entry time you assign your desired site tree nodes to the > >> content items and then these news items will appear on the required > >> pages. > > >> Chris. > > >> On Aug 4, 11:05 am, johnmanoahs <[EMAIL PROTECTED]> wrote: > >> > Hi - Currently I am displayingcontainersin specific pages through > >> > the category tree. The UI would get the details for the container. The > >> > container would be displayed only on the pages selected in the > >> > category tree. > > >> > The first issue is that everytime I add a new page I have to manually > >> > add that to the category tree. Is there a way to automatically build > >> > the category tree according to the sitemap of the site? > > >> > Secondly, I want the root to be selected by default for all pages. > >> > Currently I have to manually select the root. Also when I reload the > >> > page, I dont see the root "checked" but the database has the root's > >> > category id in it. Is this bug already addressed? > > >> > - John > > > -- > > John Manoah- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~---
