Thanks again Chris ..

Let me tell you a scenario so you could understand my problem better.

Imagine I create 2 containers and link both of them to the "Contact
Us" page.
Now the 2 containers are displayed only on the Contact Us page
If I want to make one of the containers to show on all pages, i could
not edit the label to mirror. Then the both the containers or all the
containers that I've created would be displayed on all pages.
I need something like a "all" checkbox among the NavLocation tree
checkboxes which when clicked should display the container on all
pages.

Remember before using your idea to use the uuid tree I was using the
Category tree. I would simply click the "root" for the contianers
which needs to be displayed on all pages.

Hope I'm clear now.

Btw, thanks much for your help till now ... we are launching 4 Farcry
websites live on Sep 2. I will send you the URLs for you to view (and
see few of your ideas in place there :))

- John

On Aug 26, 11:06 pm, Chris Kent <[EMAIL PROTECTED]> wrote:
> John,
>
> I am guessing that you're labelling your containers using an objectID,
> something like
>                 <con:container label="#stobj.objectID#_bottom">
> Each page will then have a unique container
>
> You could change this to
>                 <con:container label="allPages_bottom" 
> defaultMirrorLabel="All Pages
> Bottom">
> This will create a single container that is available on all pages
> where this code exists. The rules you add tothis containter will also
> be applied to all pages.
>
> How you name containers can provide a very powerful mechanism to allow
> data sharing and re-use across a website.
>
> Chris.
>
> On Aug 26, 11:05 am, johnmanoahs <[EMAIL PROTECTED]> wrote:
>
>
>
> > 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 -- 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to