Accessing data returned from json call

2015-03-06 Thread Torrent Girl
Hello I have the following json call: script $.ajax({ url:data.cfc?method=getData ,dataType:json ,success: function( cfdata ){ data= $.standardiseCfQueryJSON( cfdata ); // do something with the data return data; } });

Re: Accessing data returned from json call

2015-03-06 Thread Torrent Girl
]); $(#911num).val(result.DATA[0][6]); } }); You are taking a Query and putting it in a struct. I would either leave it a query (as Above) or put it in an array HTH, Rob On Fri, 6 Mar 2015 at 10:20 Torrent Girl moniqueb...@gmail.com wrote

Re: Creating columns that aren't included in a query result

2014-12-11 Thread Torrent Girl
If you implement the query syntax I sent earlier you will have a 0 in the disagree column. Ok thanks I will try that. ~| Order the Adobe Coldfusion Anthology now!

Re: Creating columns that aren't included in a query result

2014-12-11 Thread Torrent Girl
Jon, there is only one table. There isn't one table for the responses and one for the questions. I could be wrong, but it seems like you might be making it harder than it needs to be from the query side, if you are looking for totals of responses by question. You might be able to just

Re: Creating columns that aren't included in a query result

2014-12-11 Thread Torrent Girl
William, your suggestion is what I went with it initially: Here is my code: cfoutput cfloop index=i list=#variables.list1# cfif listFind(variables.list2, i) td align=centercfoutput#getimprovedCompetence.TOTALIMPROVEDCOMPETENCE#/cfoutput/td cfelse td align=center0/td /cfif /cfloop /cfoutput

Re: Creating columns that aren't included in a query result

2014-12-11 Thread Torrent Girl
I get the following error on Jon's example: Msg 207, Level 16, State 1, Line 2 Invalid column name 'disagree'. Disagree is not a column. It's the value. Yes, using Steve’s example query as a foundation. I assumed you were using a relational model with separate questions/answer tables but

Re: Creating columns that aren't included in a query result

2014-12-11 Thread Torrent Girl
Oh sorry I missed that :) Please see my last response. In your situation you should use Steve’s example. My SQL example was just that - an example. It doesn’t reflect your actual column names. Jon On Dec 11, 2014, at 8:50 AM, Torrent Girl moniqueb...@gmail.com wrote

Re: Creating columns that aren't included in a query result

2014-12-11 Thread Torrent Girl
Thanks Steve! Here is my final query that worked: select increasedKnowledge, Sum(case increasedKnowledge WHEN 'agree' then 1 else 0 end) as 'agree', Sum(case increasedKnowledge WHEN 'disagree' then 1 else 0 end) as 'disagree', Sum(case increasedKnowledge WHEN 'Neither Agree nor Disagree'

Re: Creating columns that aren't included in a query result

2014-12-11 Thread Torrent Girl
Steve now my output is off. How do I handle that? (I wish I could attach images to my posts) Your task shouldn't be to handle values that were not returned from the query. You need to think of a way to make sure they are returned. You should be able to accomplish that by using case

Re: Creating columns that aren't included in a query result

2014-12-11 Thread Torrent Girl
where you can take screenshots and post online and send a link. Why not use one of those ? On Thu, Dec 11, 2014 at 3:13 PM, Torrent Girl moniqueb...@gmail.com wrote: ~| Order the Adobe Coldfusion Anthology now! http

Re: Creating columns that aren't included in a query result

2014-12-11 Thread Torrent Girl
Ah! Thanks That did it. Here is the final output http://2.bp.blogspot.com/-oKsNq87XFTA/VInEGGQsv1I/DzE/wY-FE_hTcIg/s1600/finalOutput.png Thanks so much to all of you! Since you’re handling all of the the counts in the case statements, you don’t need to select the

Creating columns that aren't included in a query result

2014-12-10 Thread Torrent Girl
I am hoping I can explain this correctly. I have a table which houses responses to a survey. The columns can have any of the following values: Agree,Disagree,Neither Agree nor Disagree,Strongly Agree,Strongly Disagree I have a table with the headers equal to all of the values above. I have a

Re: Creating columns that aren't included in a query result

2014-12-10 Thread Torrent Girl
Not quite. The value returned in a COUNT of the number of each response (sorry I should have said that earlier. So, it no one answered disagree it is not returned, but in the loop I want it represented as 0. If I understand correctly Select response1 from [table] The resulting Query can

Re: Creating columns that aren't included in a query result

2014-12-10 Thread Torrent Girl
Sorry let me try that again...what I meant was Not quite. The value returned is a COUNT of the number of each response (sorry I should have said that earlier. So, if no one answered disagree it is not returned, but in the loop I want it represented as 0. :) If I understand

Re: Creating columns that aren't included in a query result

2014-12-10 Thread Torrent Girl
the following was tested on MySQL and I’m sure there’s an SQL ninja that could probably find a better way to aggregate the sub-select. HTH, Jon On Dec 10, 2014, at 7:32 PM, Torrent Girl moniqueb...@gmail.com wrote: Sorry let me try that again...what I meant was Not quite

Re: Creating columns that aren't included in a query result

2014-12-10 Thread Torrent Girl
Jon can I do this even though disagree, etc. are columns but actual values? I could be wrong, but it seems like you might be making it harder than it needs to be from the query side, if you are looking for totals of responses by question. You might be able to just use a GROUP BY clause

Re: Creating columns that aren't included in a query result

2014-12-10 Thread Torrent Girl
can you show us the actualy query, as a query shouldn't return nothing, it should return 0 if the count is 0 The only instance where you should get nothing is if there are no rows of data returned On Thu, Dec 11, 2014 at 12:23 AM, Torrent Girl moniqueb...@gmail.com wrote: Here is my query

Re: Creating columns that aren't included in a query result

2014-12-10 Thread Torrent Girl
I am looking for how many people answered disagree etc. BUT, if no one answered disagree I want to be able to put a 0 in the disagree column. The problem is if no one answered disgree I have to fake it which is where I am stuck.

Re: Dynamic queries within a loop

2014-05-06 Thread Torrent Girl
I am not understanding the variables part? Do I create a local var? Can you give me the exact syntax? Every variable scope in CF can be treated as a structure. So, if you do this: cfset myname = Bob it's equivalent to doing this: cfset variables.myname = Bob and this: cfset

Re: Dynamic queries within a loop

2014-04-18 Thread Torrent Girl
Perhaps you do a cfset above the second proc cfset request.procname = course i Apply ceuPref.strCme Then reference that in the tag cfprocresult name=#request.procname# the thing that's popping out to me is your in params cfprocparam type=In cfsqltype=CF_SQL_DATE

Re: Dynamic queries within a loop

2014-04-18 Thread Torrent Girl
This actually worked for me: #evaluate(getCourse i .CREDITDESIGNATIONTO)# but of course everyone will tell me not to use evaluate. How can I rewrite this properly? ~| Order the Adobe Coldfusion Anthology now!

Re: Dynamic queries within a loop

2014-04-18 Thread Torrent Girl
errrŠ Variables[getCourse I].CREDITDESIGNATIONTO One of those bad boys. On 4/18/14, 10:28 AM, Bobby bo...@acoderslife.com wrote: Thanks ~| Order the Adobe Coldfusion Anthology now!

Re: Dynamic queries within a loop

2014-04-18 Thread Torrent Girl
errrŠ Variables[getCourse I].CREDITDESIGNATIONTO One of those bad boys. On 4/18/14, 10:28 AM, Bobby bo...@acoderslife.com wrote: Hi Bobby I am not understanding the variables part? Do I create a local var? Can you give me the exact syntax?

Dynamic queries within a loop

2014-04-17 Thread Torrent Girl
Hello, I have an issue that I am hoping you all can help me with. I have a loop, in which I need to call a coldfusion query that is dynamic. I then need to call another query, based on the first query and output the results dynamically. I am stuck on this. Here is my loop and queries:

Re: Frustrated and on a deadline please assist

2013-11-19 Thread Torrent Girl
or what you see as the browser source when you navigate directly to it? If so, are you using JQuery’s native . getJSON() method? That should give you an immediately workable JS array. HTH, Jon On Nov 19, 2013, at 12:36 AM, Torrent Girl moniqueb...@gmail.com wrote: This is what

Re: Frustrated and on a deadline please assist

2013-11-19 Thread Torrent Girl
Total shot in the dark, but do you have cf debugging switched on? I've found that it interferes with Ajax calls in the past. On 19 November 2013 13:09, Steve 'Cutter' Blades cold.fus...@cutterscrossing.com wrote: Ok I got it to work!! I added: returnformat=plain to my method call

Re: Frustrated and on a deadline please assist

2013-11-18 Thread Torrent Girl
/2013 9:05 PM, Torrent Girl wrote: Ok now I am passing in the argument as term and I am getting the correct response. That is progress. BUT, no records are being shown on the page. Thanks I will try that. ~| Order

Re: Frustrated and on a deadline please assist

2013-11-18 Thread Torrent Girl
Does your CF return an array ? Jquery autocomplete is driven by an array as far as I know. You should have returntype=array access=remote in your CFC This is a complete CFC that works for me: cffunction name = GetProductNames returntype=array access=remote cfargument

Re: Frustrated and on a deadline please assist

2013-11-18 Thread Torrent Girl
I put my json response in at http://jsonlint.com/ and this is what I got: Parse error on line 1: //\/\/[\Miami Area ^ Expecting '{', '[' I tried adding the serialization to my code and it still isn't working: !--- Build result array --- cfloop query=data cfset ArrayAppend(result,

Re: Frustrated and on a deadline please assist

2013-11-18 Thread Torrent Girl
This is what my response looks like: //\/\/[\Miami Area Geriatric Education Center\,\Miami Children's Hospital\,\Miami Research Associates\,\Miami University (Oxford, Ohio)\,\Miami Valley Hospital\,\Miami, FL-546\,\University of Miami\\\/Jackson Health System\]

Frustrated and on a deadline please assist

2013-11-17 Thread Torrent Girl
I am trying to do something as a simple CFC JSON call and can't get this to work. I have been wrestling with this for over a week. Here is my code: script type=text/javascript src=http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js;/script script type=text/javascript $(function() {

Re: Frustrated and on a deadline please assist

2013-11-17 Thread Torrent Girl
Hi TG, Do you have 'access=“remote”’ in your function declaration? What is Firebug showing you, the return looks like from the AJAX call? Jon On Nov 17, 2013, at 6:32 PM, Torrent Girl moniqueb...@gmail.com wrote: I am trying to do something as a simple CFC JSON call

Re: Frustrated and on a deadline please assist

2013-11-17 Thread Torrent Girl
Are the cfc and cfm files in the same web directory? Using Firebug for Firefox is quite useful for debugging javascript. That might be a good start to ensure the script is running. It will also show any errors. Byron Mann Lead Engineer Architect HostMySite.com On Nov 17, 2013 6:33 PM, Torrent

Re: Frustrated and on a deadline please assist

2013-11-17 Thread Torrent Girl
Hi TG, Do you have 'access=“remote”’ in your function declaration? What is Firebug showing you, the return looks like from the AJAX call? Jon On Nov 17, 2013, at 6:32 PM, Torrent Girl moniqueb...@gmail.com wrote: I am trying to do something as a simple CFC JSON call

Re: Frustrated and on a deadline please assist

2013-11-17 Thread Torrent Girl
HostMySite.com On Nov 17, 2013 6:33 PM, Torrent Girl moniqueb...@gmail.com wrote: Thanks I updated it and it still doesn't work, I DO see a response in firebug but it brings back all of the records and not the ones that i searched on. But when I browse the cfc it works the way that I need

Re: Frustrated and on a deadline please assist

2013-11-17 Thread Torrent Girl
HostMySite.com On Nov 17, 2013 6:33 PM, Torrent Girl moniqueb...@gmail.com wrote: I get a response back so there isn't an error in calling the CFC. But the responses don't show up in the browser and the responses aren't filtered by my search. It returns all of the records

Re: Frustrated and on a deadline please assist

2013-11-17 Thread Torrent Girl
Ok when I browse this url: /contentfiles/ajaxlookup.cfc?method=getInstitutionsreturnformat=jsonterm=Miami I get ALL records back (See last url var - term=miami But when I browser this url: /contentfiles/ajaxlookup.cfc?method=getInstitutionsreturnformat=jsonsearchPhrase=Miami I get just the

Re: Frustrated and on a deadline please assist

2013-11-17 Thread Torrent Girl
Ok now I am passing in the argument as term and I am getting the correct response. That is progress. BUT, no records are being shown on the page. ~| Order the Adobe Coldfusion Anthology now!

json - check username

2013-08-28 Thread Torrent Girl
Hello I am trying this simple json code http://ja.mesbrown.com/2009/10/coldfusion-and-jquery-using-ajax-to-call-a-cfc-and-return-json/ and no matter where I put my CFC, I get the following message. Any thoughts? ReferenceError: $ is not defined $.getJSON(validate.cfc, {

test

2013-08-28 Thread Torrent Girl
test ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356592

PDFDocException error

2013-08-12 Thread Torrent Girl
Hello all. Anyone ever see this error when creating PDFS (CF9)? Cause: PDFDocException Created on Sep 12, 2006 Opetation could not be completed. ~| Order the Adobe Coldfusion Anthology now!

1900/01/01

2013-08-08 Thread Torrent Girl
Anyone know why 1900/01/01 would show up in a column when a record is updated? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Timeouts connecting to database from my local installation

2013-08-06 Thread Torrent Girl
I have constant timeouts when trying to connect my local CF installation and the DEV database. Is there anything I can do in the code and/or admin to maximize my connection? ~| Order the Adobe Coldfusion Anthology now!

Re: Timeouts connecting to database from my local installation

2013-08-06 Thread Torrent Girl
Set your dsn to msintain connections but if they are constantly timing out it is more likely s problem with your queries or the db. Russ Michaels www.michaels.me.uk cfmldeveloper.com cflive.net cfsearch.com On 6 Aug 2013 18:28, Torrent Girl moniqueb...@gmail.com wrote: Thanks Russ I will try

Re: Timeouts connecting to database from my local installation

2013-08-06 Thread Torrent Girl
Make sure it's not resolution issues... sometimes inconsistent DNS or the use of VPN's can cause issues with connecting. Use a hosts entry or an IP address to eliminate DNS as an issue. I have constant timeouts when trying to connect my local CF installation and the DEV database. Is there

Re: Timeouts connecting to database from my local installation

2013-08-06 Thread Torrent Girl
Set your dsn to msintain connections but if they are constantly timing out it is more likely s problem with your queries or the db. Russ Michaels www.michaels.me.uk cfmldeveloper.com cflive.net cfsearch.com On 6 Aug 2013 18:28, Torrent Girl moniqueb...@gmail.com wrote: Maintain connections

Error Handling Not Working on CF 9

2013-08-03 Thread Torrent Girl
Hello All. I have a site that I am setting up error handling on using CFERROR. While the error code works properly on my local installation, on the production server, it doesn't process the cferror function so the user doesn't see the error.cfm page. What they see is this: 500 - Internal

test

2013-08-03 Thread Torrent Girl
my last post didn't show ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: Adding Salt and Password Hash to existing acocunts

2013-04-10 Thread Torrent Girl
your hashing in CF at all before sending to the database). You can do as many iterations of the salt as you want I suppose. If I was going to hash multiple times, I'd salt them all. On 3/11/13 9:05 AM, Torrent Girl moniqueb...@gmail.com wrote: SHA512

Re: Adding Salt and Password Hash to existing acocunts

2013-04-03 Thread Torrent Girl
Torrent Girl wrote: Did you have a problem with timeouts or out of memory errors? I have quite a bit of records A loop like that shouldn't have any issues. Now, with that said I haven't used generateSecretKey() for generating salt. Wouldn't surprise me a bit

Re: Adding Salt and Password Hash to existing acocunts

2013-03-12 Thread Torrent Girl
as you want I suppose. If I was going to hash multiple times, I'd salt them all. On 3/11/13 9:05 AM, Torrent Girl moniqueb...@gmail.com wrote: SHA512 Thanks. Is there any benefit to using SHA512 over anything else? ~| Order

Re: Adding Salt and Password Hash to existing acocunts

2013-03-11 Thread Torrent Girl
Password expirations would definitely be the way I would have gone with this. If I didn't have that option id probably just hash them all with a single update statement in SQL Server rather than involving CF at all. update userTable set passwordColumn =

Re: Adding Salt and Password Hash to existing acocunts

2013-03-09 Thread Torrent Girl
Did you have a problem with timeouts or out of memory errors? I have quite a bit of records You have a couple of options. First, you could simply increase the timeout for the script using the appropriate CF command. cfsetting enabletimeout=some larger number goes here Second, you could

Re: Adding Salt and Password Hash to existing acocunts

2013-03-09 Thread Torrent Girl
Torrent Girl moniqueb...@gmail.com wrote: Did you have a problem with timeouts or out of memory errors? I have quite a bit of records This is why I suggested that you pre-expire everyone and have them update their credentials on next log in. It spreads out the load and you

Re: Adding Salt and Password Hash to existing acocunts

2013-03-07 Thread Torrent Girl
Here you go. Cfquery name=GetUserPasswords select memberid, password from users /cfquery cfoutput#getUserPasswords.RecordCount#/cfoutput!---Just to see how many we have --- Cfset salt = ''/ cfset newpassword = ''/ Cfset count = 0/ cfloop query=GetUserPasswords cfset salt =

Re: Adding Salt and Password Hash to existing acocunts

2013-03-07 Thread Torrent Girl
Here you go. Cfquery name=GetUserPasswords select memberid, password from users /cfquery cfoutput#getUserPasswords.RecordCount#/cfoutput!---Just to see how many we have --- Cfset salt = ''/ cfset newpassword = ''/ Cfset count = 0/ cfloop query=GetUserPasswords cfset salt =

Re: Adding Salt and Password Hash to existing acocunts

2013-03-06 Thread Torrent Girl
all users through the salting processing page. I can find the code if you are interested. Rob On 2013-03-05 7:15 AM, Torrent Girl moniqueb...@gmail.com wrote: Rob that would be GREAT. Thank you ~| Order the Adobe

Adding Salt and Password Hash to existing acocunts

2013-03-05 Thread Torrent Girl
Hello all I am implementing salt/password hash to an application that is being redeveloped. Adding salt/hash to newly created accounts is going well but of course there are hundreds of existing accounts. What would be the best practice for adding salt/hash to all of the existing records?

How would you optimize this SQL?

2013-02-20 Thread Torrent Girl
Hello all I was told that the following sql is taking too long to run but the person doing load testing: SELECT @intCourseCompletions=(SELECT COUNT(intMemberStageID) as completions FROM tblMemberStages WHERE bitCompleted=1) It is a stored proc. Any suggestions on how I can optimize it for

Re: How would you optimize this SQL?

2013-02-20 Thread Torrent Girl
: Torrent Girl [mailto:moniqueb...@gmail.com] Sent: Wednesday, February 20, 2013 11:07 AM To: cf-talk Subject: How would you optimize this SQL? Thank you. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe

CFLOCATION and urlencodedformat

2013-01-23 Thread Torrent Girl
Hello all I am trying to do the following: cfset var1 = this is a test cflocation url=index.cfm?variable=#urlEncodedFormat(var1)# When I output var1 on the page, it is encoded, but when I pass the var using cflocation it isn't. Any suggestions? Thank you

Re: CFLOCATION and urlencodedformat

2013-01-23 Thread Torrent Girl
Yep try this cfset var1 = this is a test cfset relocate = index.cfm?variable=#urlEncodedFormat(var1)# / cflocation url=relocate That should work, especially if this is suffering the same problem as cfsavecontent and a few other tags and functions. -- Regards, Andrew Scott WebSite:

Re: CFLOCATION and urlencodedformat

2013-01-23 Thread Torrent Girl
Dumb question - what are you seeing in the browser? When you output #url.variable# what do you see? On Wed, Jan 23, 2013 at 10:22 AM, Torrent Girl moniqueb...@gmail.comwrote: When I output the var on the page I see the encoded version: index.cfm?variable=this%20is%20a%20test when

Re: CFLOCATION and urlencodedformat

2013-01-23 Thread Torrent Girl
but when I pass the var using cflocation it isn't. Where, specifically? In the browser's URL/location bar? Or when you cfoutput#url.variable#/cfoutput? (If the latter, that's the way it's supposed to work.) On Wed, Jan 23, 2013 at 10:22 AM, Torrent Girl moniqueb...@gmail.comwrote: When I

Re: CFLOCATION and urlencodedformat

2013-01-23 Thread Torrent Girl
When I output the var on the page I see the encoded version: index.cfm?variable=this%20is%20a%20test Eh? You wouldn't see index.cfm, etc. Seriously, like, do this: cfoutput#url.variable#/cfoutput Do you see this is a test or this%20etc On Wed, Jan 23, 2013 at 10:38 AM, Torrent Girl moniqueb

Re: CFLOCATION and urlencodedformat

2013-01-23 Thread Torrent Girl
%20a%20test ...and, on page2.cfm, if you do this: cfoutput#url.variable#/cfoutput ...that should produce: this is a test If you do exactly that (and nothing else) and it's not behaving as I've described than something truly bizarre is going on. On Wed, Jan 23, 2013 at 10:40 AM, Torrent Girl

Re: CFLOCATION and urlencodedformat

2013-01-23 Thread Torrent Girl
%20a%20test ...and, on page2.cfm, if you do this: cfoutput#url.variable#/cfoutput ...that should produce: this is a test If you do exactly that (and nothing else) and it's not behaving as I've described than something truly bizarre is going on. On Wed, Jan 23, 2013 at 10:40 AM, Torrent Girl

Re: logging in as user with admin account

2013-01-23 Thread Torrent Girl
Expanding on what Russ said, we've got a mimic feature that takes a logged in session user (session.user variable), moves it (session. originaluser) and then logs in the admin as the requested user to mimic. So there is a new session.user and the admin's own session. originaluser. We

Re: CF 9 Scheduled Task Not Sending Emails

2012-12-23 Thread Torrent Girl
Is there an application.cfm for cfc that is preventing the file from running? Like some websites I setup a login/password code in the application. cfm page. No page will run unless that code is happy that someone is logged in. Do I need a username and password on the task? I see a

CF 9 Scheduled Task Not Sending Emails

2012-12-20 Thread Torrent Girl
Hi All I have a scheduled task that runs with no problem. It is set up to send an email. The email is not being sent. Any suggestions? TIA ~| Order the Adobe Coldfusion Anthology now!

Re: CF 9 Scheduled Task Not Sending Emails

2012-12-20 Thread Torrent Girl
If you browse the task manually does an error appear on the screen, or anything in the logs to indicate this. Look in the undil folder and see if any are there and match the dates with the logs and see what turns up. But it might be just as simple as running the page manually and seeing what

Showing diffent toolbars in ckeditor based on roles

2012-10-10 Thread Torrent Girl
Has anyone figured out how to show a different toolbar in ckeditor based on a variable? I want to do this: cfif session.role = Admin textarea class=ckeditor toolbar=Full name=englishText#englishText#/textarea cfelse textarea class=ckeditor toolbar=Basic name=englishText#englishText#/textarea

Re: Showing diffent toolbars in ckeditor based on roles

2012-10-10 Thread Torrent Girl
I can;t see any reason why that wouldn't work. do both those toolbars display normally without your if/else ? It won't :( Here is what is in my config.js file config.toolbar_Full = [ { name: 'document', items : [

Re: Showing diffent toolbars in ckeditor based on roles

2012-10-10 Thread Torrent Girl
I can;t see any reason why that wouldn't work. do both those toolbars display normally without your if/else ? This may be a stupid question but can I add coldfusion code within the config.js file like so? cfif session.user.roleID EQ 1 config.toolbar = Full; cfelse config.toolbar =

Re: Showing diffent toolbars in ckeditor based on roles

2012-10-10 Thread Torrent Girl
no because it is a JS file so will never be processed by coldfusion. however if you make it a CFM file instead then it will be, but you will need to make sure there are no HASHES in the file or they will throw errors. You will also need to change anything that includes that to use the new

Re: Showing diffent toolbars in ckeditor based on roles

2012-10-10 Thread Torrent Girl
no because it is a JS file so will never be processed by coldfusion. however if you make it a CFM file instead then it will be, but you will need to make sure there are no HASHES in the file or they will throw errors. You will also need to change anything that includes that to use the

Re: Showing diffent toolbars in ckeditor based on roles

2012-10-10 Thread Torrent Girl
I found the solution!!! YAY!! http://nils.realeyesmedia.com/?p=126 You have to put the script to replace the toolbar after the text area (???) Here is my final: textarea id=englishText class=ckeditor name=englishText#englishText#/textarea cfif session.user.roleID EQ 3 script

Re: Dynamic Variable

2012-09-12 Thread Torrent Girl
I presume you have the dynamic part in another variable, in which case you I do. I'll try that. Thank you. But wait. won't this give me a value of '1A'? it's been a while since this post but thanks Russ that worked. ~|

Re: logging in as user with admin account

2012-07-25 Thread Torrent Girl
you really need to store the admin session in different variables to avoid that problem. try using session.user and session.admin for example. Ah! I think this may work...will try it. Tanks ~| Order the Adobe Coldfusion

logging in as user with admin account

2012-07-24 Thread Torrent Girl
Hi All. I am working on an app that needs to allow an admin to log in as a user but keep his/her session active. Any suggestions? I tried to force a different browser but from my research that is impossible. Also, I am not using URL params but the user info is set in session.

Re: logging in as user with admin account

2012-07-24 Thread Torrent Girl
You could just have a link to auto post the user login details to the login page. Or you just manually create the user session so he appears as logged in for that user. Regards Russ Michaels On Jul 24, 2012 7:31 PM, Torrent Girl moniqueb...@gmail.com wrote: Russ I am passing the users login

Dynamic Variable

2012-07-03 Thread Torrent Girl
hi All. I have an application that creates an array based on a few variables. The application enters the contents of the array into a DB by looping over the array. My issue is that I need the array name in the loop to be dynamic based on another var I have set. EX: cfset moduleGroup = 1A

Re: Dynamic Variable

2012-07-03 Thread Torrent Girl
I presume you have the dynamic part in another variable, in which case you could do this. cfloop array=#evaluate(session.ceuAppModules#othervariable#)# index=i I do. I'll try that. Thank you. But wait. won't this give me a value of '1A'?

Re: anyone using ckeditor? I will PAY you for your help!

2012-01-12 Thread Torrent Girl
Dean when I add the script code to my file, it's grayed out and Dreamweaver gives me a script error alert. I am adding it to the top of my editortest.cfm page I got this to work. I am calling CKEditor as such. script type=text/javascript charset=utf-8 //![CDATA[

Re: anyone using ckeditor? I will PAY you for your help!

2012-01-12 Thread Torrent Girl
to do - close tags. have you tried adding config.removePlugins = 'htmldataprocessor'; ? it is not 'recommended', as it will stop validating/fixing invalid html code, but may do the trick in your case. have not tried it, though myself... Azadi On Thu, Jan 12, 2012 at 03:37, Torrent Girl

Re: anyone using ckeditor? I will PAY you for your help!

2012-01-12 Thread Torrent Girl
Ok I added ending tags to cfinvoke and cfinclude and that seemed to help a bit. My cfloops are still out of place. It places them under the first cfoutput tag like so: cfoutput cfloop query=founders /cfloop cfloop query=advisors /cfloop cfloop query=developers /cfloop There is code that is

Re: anyone using ckeditor? I will PAY you for your help!

2012-01-12 Thread Torrent Girl
Ok so I added the protected.source code and that worked! (???) I had that before and it didn't work. Maybe I had it on the wrong config file. There are two. config.protectedSource.push( /\?[\s\S]*?\?/g ); config.protectedSource.push(/[^]*(h1([^]+)\/h1)/g);

Re: anyone using ckeditor? I will PAY you for your help!

2012-01-12 Thread Torrent Girl
So the editor is no longer displacing my tags. BUT it is adding closing cfinvoke and cfincludes to the bottom of the page. All of the tags are closed like so / Any ideas? Hi All I have had a year long headache with ckeditor and it changing my CF code. I got around the issue for a

Re: anyone using ckeditor? I will PAY you for your help!

2012-01-12 Thread Torrent Girl
Ok I finally worked out all of the kinks FOR NOW. Here is my link to the editor file (include on the page that I am using to edit the content) script type=text/javascript src=../ckeditor/ckeditor/ckeditor.js/script The CONFIG file that I added my customizations to is:

Re: anyone using ckeditor? I will PAY you for your help!

2012-01-11 Thread Torrent Girl
Hi there. We've had the same experience as others. We use it for HTML editing but haven't tried it for CF code. My assumption has always been that it would not accept scripting language directly, but that may be wrong. If you are frustrated about it changing around your HTML or not following

Re: anyone using ckeditor? I will PAY you for your help!

2012-01-11 Thread Torrent Girl
(http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR. config.html#.protectedSource). This allows you to use regular expressions to specify which tags should not be affected by the editor. On Tue, Jan 10, 2012 at 7:51 PM, Torrent Girl moniqueb...@gmail.com wrote: Hi All I have had

Re: anyone using ckeditor? I will PAY you for your help!

2012-01-11 Thread Torrent Girl
I have a few cfloops within one cfoutput tag. It changes it to this: cfloop query=founders cfoutput /cfoutput/cfloopcfloop query=advisors cfoutput /cfoutput/cfloopcfloop query=developers cfoutput /cfoutput/cfloop When you say change it to edit mode what do you mean? Do you mean hit View

Re: anyone using ckeditor? I will PAY you for your help!

2012-01-11 Thread Torrent Girl
, Jan 10, 2012 at 7:51 PM, Torrent Girl moniqueb...@gmail.com wrote: Hi All I have had a year long headache with ckeditor and it changing my CF code. I got around the issue for a while by using a straight text area to enter code in the DB. Now other users will be using the system

Re: anyone using ckeditor? I will PAY you for your help!

2012-01-11 Thread Torrent Girl
9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month On Wed, Jan 11, 2012 at 11:51 AM, Torrent Girl moniqueb...@gmail.comwrote: ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology

Re: anyone using ckeditor? I will PAY you for your help!

2012-01-11 Thread Torrent Girl
Here is the line in the core/config.js file where the protected tags are defined: /** * List of regular expressions to be executed on input HTML, * indicating HTML source code that when matched, must strongnot/strong be available in the WYSIWYG * mode for

Re: anyone using ckeditor? I will PAY you for your help!

2012-01-11 Thread Torrent Girl
, Torrent Girl wrote: When you say change it to edit mode what do you mean? Do you mean hit View Source? If so that is what I am doing and where I see the code distorted. He means the editor must be set to HTML mode in order to enter and change text that contains HTML. When in that mode

Re: anyone using ckeditor? I will PAY you for your help!

2012-01-11 Thread Torrent Girl
Thank you. But once again, the proper syntax is not included. I added the following and it doesn't work. I'm sure I have the wrong context tho script type=\text/javascript\ CKEDITOR.replace( '#content.englishText#', { on : { instanceReady : function( ev ) {

anyone using ckeditor? I will PAY you for your help!

2012-01-10 Thread Torrent Girl
Hi All I have had a year long headache with ckeditor and it changing my CF code. I got around the issue for a while by using a straight text area to enter code in the DB. Now other users will be using the system and I need to get the text editor to work. I STILL have not been able to figure

Re: MS Word Formatted text in DB not displaying correctly on output

2011-11-15 Thread Torrent Girl
You may also need to link in the original style sheet. At 01:05 PM 11/10/2011, you wrote: hmmm...let me try that. ~| Order the Adobe Coldfusion Anthology now!

MS Word Formatted text in DB not displaying correctly on output

2011-11-10 Thread Torrent Girl
Hi All. I have a column that I am retrieving from a SQL 08 database that contains lots of word formatting. here is how the dump looks: ph2SUPPLIER: Scott Specialty Gases/h2 table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='mso-cellspacing:0in;mso-padding-alt:0in 0in 0in

  1   2   3   4   >