Thanks Fixed now thanks for all the help :)
Cheers Mark On 8/10/05, Gary Menzel <[EMAIL PROTECTED]> wrote: > I think you may have gotten a few wires crossed. > > My suggestion was to store the GUID into the config variable and then use > this in your code (instead of hardwiring it). > > The idea was not to store the content in the config variable - but to get > that out every time you want to use it (with the code you have created). > > Make sense ? > > > Regards, > Gary > > > > On 8/10/05, Mark Wheeler <[EMAIL PROTECTED]> wrote: > > > > Hi > > > > Thanks for that, I seem to have got this working so > > > > <cfimport taglib="/farcry/fourq/tags/" prefix="q4"> > > <q4:contentobjectget > objectid="9DBECCCD-B7EE-57B7-8CC52392713C263C" > > r_stobject="stNav"> > > <cfscript> > > stConfig = structNew(); > > stConfig.content = stNav.BODY; > > </cfscript> > > > > to display <cfdump > var="#APPLICATION.config.ResearchContacts.CONTENT#"> > > > > As the utility is updated it does not up date the application scope > > even if I updateapp, to do this I need to go to custom config in Admin > > and "Restore Default" for the changes to be made in the application > > scope, is there a way to get around this? > > > > Thanks > > MW > > > > On 8/9/05, Gary Menzel <[EMAIL PROTECTED] > wrote: > > > You need to call the FarCry API and make it get the content for you. > > > > > > Use something like the FourQ "contentObjectGet" method (digging in the > code > > > for how this is used will give you a better understanding of how some > parts > > > of FarCry work). > > > > > > The data comes back in a structure, which you then pull out the parts > you > > > need - like the body or the teaser, etc. What is in the structure > differs > > > from type to type. So use CFDUMP to have a look at what is in there and > get > > > out what you need. > > > > > > Regards, > > > Gary > > > > > > > > > On 8/9/05, Mark Wheeler <[EMAIL PROTECTED]> wrote: > > > > > > > > Ok, so this may seem like a simple question (my appologies) how do I > > > > reference the html content directly, I know that within a page I would > > > > reference the GUID with eg. #application.navid.Disclaimer# but I would > > > > only need the html part of this, in this case, lets say I added a > > > > title or teaser as well to the utility. > > > > > > > > Regards > > > > Mark W > > > > > > > > On 8/9/05, Gary Menzel < [EMAIL PROTECTED]> wrote: > > > > > Use the 2nd option then. Create a dmHTML obejct in the Utility tree > > > > > somewhere, grab it's GUID, put that in your config variable (so you > can > > > find > > > > > it again) - or use an ALIAS on the Nav item that you store the > dmHTML > > > object > > > > > under. Puttin the GUID into your own config item is like having a > an > > > Alias > > > > > for the dmHTML versus the Nav item. > > > > > > > > > > But, if you are sending HTML emails, why not just use the FarCry > > > template > > > > > concept and include your headers and footers for the HTML that way? > > > > > > > > > > Gary > > > > > > > > > > > > > > > On 8/9/05, Mark Wheeler < [EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Yes, I have been playing with the custom config files, and they > work > > > > > > to a point, looking at the detail of my specification it would be > > > > > > great to add html content withing the config variables so that the > > > > > > disclaimer can be edited in soeditor then the xml is updated with > the > > > > > > html code of that info (config table in the db). > > > > > > > > > > > > Chrs > > > > > > MW > > > > > > > > > > > > On 8/9/05, Mark Wheeler <[EMAIL PROTECTED]> wrote: > > > > > > > Hi > > > > > > > > > > > > > > I have a number of pages on my site that require a standard > > > disclaimer > > > > > > > and other information, is there a way that I can create this > > > > > > > information in farcry to be saved globally or application scope > to > > > be > > > > > > > referenced within plpedit pages as an example we have some notes > > > that > > > > > > > are created from html content and file uploads etc and these > notes, > > > > > > > once generated are sent by email with the content inserted into > the > > > > > > > email, as a default these emails contain disclaimers, to save > time I > > > > > > > do not want to have to create or cut and paste the disclaimer > into > > > the > > > > > > > note creation tools but would rather grab this info from the > > > > > > > application scope or whatever is required. > > > > > > > > > > > > > > Using FarCry: b220, FourQ: b122 > > > > > > > > > > > > > > Thanks > > > > > > > Mark W > > > > > > > > > > > > > > --- > > > > > > > You are currently subscribed to farcry-dev as: > [EMAIL PROTECTED] > > > > > > > To unsubscribe send a blank email to > > > > > [EMAIL PROTECTED] > > > > > > > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > > > > > > > > > > > > > > > > > > --- > > > > > > You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] > > > > > > To unsubscribe send a blank email to > > > > > [EMAIL PROTECTED] > > > > > > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > > > > > > > > > > > > > > > --- You are currently subscribed to farcry-dev as: > [EMAIL PROTECTED] To > > > > > unsubscribe send a blank email to > > > > > [EMAIL PROTECTED] Aussie > > > > > Macromedia Developers: http://lists.daemon.com.au/ > > > > > > > > --- > > > > You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] > > > > To unsubscribe send a blank email to > > > [EMAIL PROTECTED] > > > > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > > > > > > > > > --- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To > > > unsubscribe send a blank email to > > > [EMAIL PROTECTED] Aussie > > > Macromedia Developers: http://lists.daemon.com.au/ > > > > --- > > You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] > > To unsubscribe send a blank email to > [EMAIL PROTECTED] > > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > > > --- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To > unsubscribe send a blank email to > [EMAIL PROTECTED] Aussie > Macromedia Developers: http://lists.daemon.com.au/ --- You are currently subscribed to farcry-dev as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
