Depending on where you are doing this (content item or nav item) the information should already be available via application.navid.<nav name> (nav name can be found in the farcry admin under the advanced options. A page called About Us defaults to about_us as the nav name. In the navigation modules this should be a part of the qNav item, there it is the actual title "About Us"
AJ Mercer wrote: > this is doing the trick for me > <cfset navid = > application.factory.oCategory.getCategoryByName(URL.section,'dmNavigation') > /> > > > > On 11/14/06, *AJ Mercer * <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > FarCry 3.0.2RC > > I am trying to get an objectID (navID) via a title. > > This is what I am trying > > <cfset q4 = createObject("component","farcry.fourq.fourq")> > <cfset qSection= q4.GETMULTIPLEBYQUERY(whereclause="where > title='#URL.section#'", )> > > but get this error > > > Abstract components cannot be used for table definitions. > > > What is the best way to go this? > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
