Hi guys,

I presume you're talking about linking from the customadmin.xml file
in your project/customadmin directory?

Try this instead:

<menuitem id="myCustomId" label="My Label" link="/admin/
customadmin.cfm?module=customlists/myCustom.cfm" />

Note that *usually* your custom objectAdmin file will reside in the
customadmin/customlists directory.

Hope that helps.

Michael

On Apr 4, 9:34 am, Jake Churchill <[EMAIL PROTECTED]> wrote:
> I'm hoping one of the daemon people can chime in on this.  I haven't
> messed around with FC4 enough to know what is going on here.  It sounds
> to me like the /farcry/core/tags/facry can't be found.  Sorry, but I
> can't really help more without seeing the code.
>
> RonY wrote:
> > I change it to the following: [ <link>/farcry/admin/customadmin.cfm?
> > module=tedCourses.cfm</link>  ]  but i get these errrors now:
>
> >  Could not import the tag library specified by "/farcry/core/tags/
> > facry".
> > The following error was encountered: D:\WebSites\Farcry\core\tags
> > \facry. Please ensure that you have specified a valid tag library.
>
> > The CFML compiler was processing:
>
> >     * a cfimport tag beginning on line 4, column 2.
>
> > The error occurred in D:\WebSites\Farcry\projects\tedcms\customadmin
> > \tedCourses.cfm: line 4
> > Called from D:\WebSites\Farcry\core\admin\admin\customadmin.cfm: line
> > 33
> > Called from D:\WebSites\Farcry\core\admin\admin\customadmin.cfm: line
> > 33
>
> > 2 :
> > 3 : <cfimport taglib="/farcry/core/tags/admin" prefix="admin">
> > 4 : <cfimport taglib="/farcry/core/tags/facry" prefix="farcry">
> > 5 :
> > 6 : <admin:header>
>
> > On Apr 4, 8:54 am, "RonY" <[EMAIL PROTECTED]> wrote:
>
> >> Hey Jake,
>
> >> I am using Farcry 4.
>
> >> i believe that i get other include errors as well, similar to these.
>
> >> I tried many things, as well as the following:
>
> >> <link>/farcry/admin/customadmin.cfm?module=/projects/tedcms/
> >> customadmin/Courses.cfm</link>
>
> >> This still gives me the following:
>
> >> Could not find the included template /farcry/projects/tedcms/
> >> customadmin/project/customadmin/tedcms/Courses/tedCourses.cfm.
> >> Note: If you wish to use an absolute template path (e.g. TEMPLATE="/
> >> mypath/index.cfm") with CFINCLUDE then you must create a mapping for
> >> the path using the ColdFusion Administrator. Using relative paths
> >> (e.g. TEMPLATE="index.cfm" or TEMPLATE="../index.cfm") does not
> >> require the creation of any special mappings. It is therefore
> >> recommended that you use relative paths with CFINCLUDE whenever
> >> possible.
>
> >> The error occurred in D:\WebSites\Farcry\core\admin\admin
> >> \customadmin.cfm: line 33
>
> >> 31 : <cfelse>
> >> 32 :    <!--- load admin from the project --->
> >> 33 :    <cfmodule template="/farcry/projects/
> >> #application.applicationname#/customadmin/#URL.module#">
> >> 34 : </cfif>
> >> 35 :
>
> >> Resources:
>
> >>     * Check the ColdFusion documentation to verify that you are using
> >> the correct syntax.
> >>     * Search the Knowledge Base to find a solution to your problem.
>
> >> Browser         Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3)
> >> Gecko/20070309 Firefox/2.0.0.3
> >> Remote Address          127.0.0.1
> >> Referrer        
> >> http://localhost/farcry/content/sidebar.cfm?sec=custom1&SUB=custom1a
> >> Date/Time       04-Apr-07 08:47 AM
> >> Stack Trace
> >> at cfcustomadmin2ecfm10580512.runPage(D:\WebSites\Farcry\core\admin
> >> \admin\customadmin.cfm:33)
>
> >> coldfusion.tagext.lang.IncludeTag$NoSuchIncludeTemplateException:
> >> Could not find the included template /farcry/projects/tedcms/
> >> customadmin//project/customadmin/tedcms/tedCourses/tedCourses.cfm.
> >>         at coldfusion.tagext.lang.ModuleTag.setTemplate(ModuleTag.java:166)
> >>         at cfcustomadmin2ecfm10580512.runPage(D:\WebSites\Farcry\core\admin
> >> \admin\customadmin.cfm:33)
> >>         at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
> >>         at 
> >> coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
> >>         at 
> >> coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
> >>         at 
> >> coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:
> >> 225)
> >>         at
> >> coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:
> >> 51)
> >>         at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
> >>         at 
> >> coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
> >>         at
> >> coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:
> >> 28)
> >>         at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
> >>         at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
> >>         at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:
> >> 22)
> >>         at
> >> coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:
> >> 115)
> >>         at coldfusion.CfmServlet.service(CfmServlet.java:107)
> >>         at
> >> coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:
> >> 78)
> >>         at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
> >>         at 
> >> jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
> >>         at
> >> jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:
> >> 257)
> >>         at
> >> jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:
> >> 541)
> >>         at
> >> jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:
> >> 204)
> >>         at jrunx.scheduler.ThreadPool
> >> $DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
> >>         at jrunx.scheduler.ThreadPool
> >> $ThreadThrottle.invokeRunnable(ThreadPool.java:426)
> >>         at jrunx.scheduler.ThreadPool
> >> $UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
> >>         at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
>
> >> Can you think of something that i am doing wrong?
>
> >> Thanks,
>
> >> On Apr 3, 10:05 pm, Jake Churchill <[EMAIL PROTECTED]> wrote:
>
> >>> in my experience, if you are using custom admin, you call it like this:
> >>> /admin/customadmin.cfm?module=relative_path
>
> >>> RonY wrote:
>
> >>>> Hi Guys,
>
> >>>> It seems as Farcry4 seems to dislike alot of core <cfincludes>: Here
> >>>> is an example error:
>
> >>>> Could not find the included template /farcry/projects/<app_name>/
> >>>> customadmin/tedCourses/tedCourses.cfm.
>
> >>>> I also got some include errors when add to the plp using the in the
> >>>> _dmHtml/edit.cfm.
>
> >>>> I have got my mapping in coldfusion linking to the farcry folder.
>
> >>>> Am i missing something here?
>
> >>>> Thanks


--~--~---------~--~----~------------~-------~--~----~
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