juts noticed your code has
    ftTemplateSnippetWebskinPrefix="insertSnippet"

so your filename needs to start with insertSnippet
eg insertSnippet_NewsLink.cfm


2009/7/20 Phil Kemp <philipbk...@gmail.com>

>
>
> AJ,
>
> I tried that, but I still can't link to a dmNews object!
>
> I have a News item in the Associated Media list, and when I click on
> Insert/edit Link in the Rich Text Editor, it usually has the drop down list
> "Link List" - this is what's missing when I link to a dmNews object. It
> appears fine when I try to link to another type, it's just News it doesn't
> work for.
>
>
>
> AJ Mercer wrote:
> >
> > probably use project\webskin\dmNews
> >
> > filename does not matter, as long as it starts with insertHTML_ (defined
> > in
> > type class ftTemplateWebskinPrefixList)
> >
> > insertHTML_newsLink.cfm
> > <cfsetting enablecfoutputonly="true" />
> > <cfoutput> #application.url.conjurer#?objectid=#stobj.objectid#
> > #stobj.title# </cfoutput>
> > <cfsetting enablecfoutputonly="false" />
> >
> > all the properties from dmNews will be loaded into stObj
> > so displaywhatever you like from there
> > wrapped in any HTML you like
> >
>
> --
> View this message in context:
> http://www.nabble.com/Can%27t-link-to-a-news-item-tp24568497s621p24569286.html
> Sent from the FarCry - Dev mailing list archive at Nabble.com.
>
>
> >
>


-- 
AJ Mercer
Web Log: http://webonix.net

--~--~---------~--~----~------------~-------~--~----~
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: farcry-dev@googlegroups.com
To unsubscribe, email: farcry-dev+unsubscr...@googlegroups.com
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
-~----------~----~----~----~------~----~------~--~---

Reply via email to