Says alot about asp don't it?
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
I've wanted to make a post like this as well.
need the same kinda solution.
Will
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to
What's the simplest way to maintain simple formatted text in a db, without
using tinyMCE, FCKeditor, or typing html into the textarea? When I say simple,
I mean I just want to show line breaks, carriage returns, etc. Not worried
about boldness, tables, etc.
I just tried using
Store it in the database just as it was typed. Don?t format it.
When you output it, use...
#replace(var, '#chr(13)##chr(10)#', 'br /', 'all')#
Thangya dude
me
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of
Thanks dan! Checkin it out.
Will
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
Ok, this is annoying.
I'm testing my store app within another site, on a shared server, using a
shared SSL.
The root is luckydogvolleyball. The subfolder is Store -
luckydogvolleyball/Store
The domain for the SSL is: https://www1024.ssldomain.com/luckydogvolleyball
The site works fine when
Ok, this is annoying.
When you use /store, you're instructing the web server to retrieve a
document from http://www1024.ssldomain.com/store, because luckydogvolleyball
is a directory below the webroot in this case. I assume you want
/luckydogvolleyball/store/ instead. Use a relative link to
I just noticed on our site, if you submit an authorize.net transaction with a
bogus expiration date, the transaction is still approved.
Just got off IM with a auth.net rep. Anybody ever run into this?
Thanks,
Will
Will Tomlinson: Ok, I'm running some sample transactions thru our site
I think Jon might've nailed it. It's like the processor isn't validating it -
not authorize.net
I have an idea - maybe I'll submit one thru the virtual terminal. Bogus exp.
date. If it accepts that, then I KNOW it's the processor.
Thanks much,
Will
Well looke here! I went into the virtual terminal on auth.net. Gave it a
good number, bogus exp date and voila!
Transaction 1234061718 has been successfully ACCEPTED by the system.
This SUCKS!
Will
~|
Introducing the
I'd offer a link, but this site hasn't been unleashed and I don't want google
picking it up yet.
Ok, I've been using css to show a gallery of products. Works much better than
using cf for funky tr inserts n such.
I'm having a problem on this on tho. I want the image and text to be centered.
Well heck! It looks right in IE, not FF. lol!
Ok, bet a text-align:center will work for the img {} .
Will
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by
Ok I got it!
I just added a fixed width to the gallery li items. This forces it to only go
so wide. The text wraps nicely I think.
#suggestedproductsgallery li {
float:left;
margin-right:18px;
margin-bottom:10px;
font-size:70%;
color:#33;
text-align:center;
width: 90px;
}
Thanks,
Will
Just looking at it and you got there before me. Good job!
Thanks! I even sat thru your float preso at cfunited. There were like, 74 rules
for floating. By the time you hit #3, my head hurt. lol!
Thanks again for the info. It's hard rememberin all that stuff.
Will
Hilarious!!
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/quarterly
Excellent job Ray! This is gonna prove to be really useful!
Thanks,
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228684
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription:
Just wanted to wish Michael D. a HAPPY BIRTHDAY!
It was yesterday, but better late than never, right?
Hope you get lotsa cool stuff dude!
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229420
Archives:
First way. Hands down. Though I'd probably use CFCONTENT instead of
CFSET. Or even CFXML, if you need an XML doc, rather than a string.
And if you're on 7, you can just use xmlParse() with a doc.
Will
~|
Message:
I am slowing making the change over to CSS layouts but I noticed when I use
CSS layouts I cannot view my CF debugging because it is overlapped with the
CSS layout. How do others deal with CF debugging and CSS?
yeah I ran into the same problem. Just another reason I dislike css layouts
right
And nested table based layouts don't??? :)
No, they don't, not like CSS. I build a css layout, and gotta start hackin'
crap all over the place to make it work in a few different browsers? Then it
won't show up at all in MAC IE? And it all validates? Screw that!
I'll keep usin' tables or a
U have never built a css layout Will so how can you say this?
Built the coldfusion gear site from scratch, all css layout. Even built the
product rows just like table rows, all in css. Things got screwy afterwhile so
now it's a table layout. And hey, it displays correctly!
I know you have
no u didnt lol
U tried for like 30 minutes then gave up because I wouldnt help u
anymore lol and put tables in instead
ahhh... those tables worked beautifully!
~|
Message:
heck the last 2 sites i did looked perfect in mac ie without any
tweaks at all, I don't know how you'd know since you don't have a mac.
No, I don't remember you whining like a little baby cause your css wouldn't
work right. You said oh I got it! Still broke! Menus, layout, everything. Don't
In talking with the disruptured one, he pointed out a statement that I think he
took wrong. And I probably wrote wrong.
When I said CSS isn't there yet, I didn't mean CSS sucks, or CSS itself isn't
there yet. I mean CSS support isn't there yet, mainly in IE. It really pissed
me off to make
Trying to conditionally check my checkboxes depending on the db field being 0
or 1, but it errors.
cfinput type=checkbox
label=Ships to PO boxes
name=shipoptionshiptopobox
value=1
cfif getshipoptions.shipoptionshiptopobox EQ 1 checked=yes/cfif
The error:
Invalid token
Thanks ade! Works sweet!
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229607
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Yep, that's what she means :-)
I'm readin' thru this thread, and it's like 10% of the folks that read your
post actually READ it.
:)
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230172
Archives:
SQL can do it in a coupld of databases I think in sql server its @@rowcount?
Bobby,
Could you offer an example for dave? He mostly uses Access.
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230180
Archives:
For some reason, the CACHEDWITHIN/CACHEDAFTER attributes cannot be used with
queries that contain CFQUERYPARAMs. This is kind of a bummer.
It can be done according to Mark Kruger. He blogged the technique here:
Never used CFE myself so I can't do a side by side. DW, especially DW8, is
pretty sweet though.
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230667
Archives:
SWEET!
Thanks dude!
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231332
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
I can't wait til Rabidimage.cfc comes out! heeheehee!
:)
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231348
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription:
I don't know if this will help, but I'm doin the same kinda thing with an
update form.
The trick is just hardcoding a flag letting you know it's an option. Then loop
over the fieldnames and grab them. I setup an example here a while back:
I have a query that's returning too many shipoptionID's. Query analyzer shows 4
popping up.
Almost like I need another AND thistable.thispkfield = thattable.thispkfield.
What am I missing here?
SELECT tblShipOptionCountries_rel.shipoptionID,
tblShipOptionCountries_rel.ISOID,
Without spending a large amount of time looking at your sql, have to
tried grouping a field by doing a GroupBy?
I think I got it figured out aaron. The problem wasn't the query. It was just
running twice! heeheheee
Thanks,
WIll
Maybe it's just the fact that it's in an email, but that is one chunk of
SQL! Why don't you use table alias' to shorten it some?
I've just never liked the way they look. They kinda mix me up.
Will
~|
Message:
Jeasus man! I'm gonna show you something, it'll take me about an hour to
rewrite your query though!! Bare with me...
1. I might bear with ya dude, but I aint gonna BARE with you. Check with dave
for that one. lol!
2. Oh yeah, the query is lookin' sweet now! Ok, I'll start tryin' to use
SQL Server - I had a situation where I needed to make sure a field was NULL. So
I used WHERE the field = NULL. It didn't return any records, but it should've.
So I changed it to WHERE thefield IS NULL, and it works fine.
Why is this? What's the difference between = NULL and IS NULL?
Thanks,
And yes Will, I got the advil cause of u!
I'm just hoping these emails you're posting 10 times apiece are all fake, cause
they're gonna get scooped up by the harvesters. LOL!!
:)
~|
Message:
I been using cfmodule for my page layouts but am making my current
project with customtags am curious what your opinions are on each and
why you'd pick one over the other.
Layout.cfc - showHeader(), showLeftMenu(), showFooter()
Works sweet!
Screw custom tags! :)
Will
You are aware, I hope, that when you use cfmodule, you are using
custom tags.
Ray, I seriously doubt it! LOL!!
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232082
Archives:
Due to a really nasty security risk I've just discovered, my chat room
is no longer available I'm off to the AJAX list!
Let me know when your security risk (the disruptor) has been resolved, and I'll
join the chat room again. That thing is so cool!
Thanks Rick,
Will
Anyone have a decent contract for web development?
I had a bunch and of course can't find them now and I told my attorney
not to worry about it cause I had some.
I have one if you want somethin' to work with. It covers alot of ground.
And don't be attackin' me on this! You know I've gotcha
Hey,
I'm using cfcontent in a method that just delivers files. I pass in an argument
which is a filename. But my code just downloads a word doc as a cfm file, and
it names it index.cfm page. It won't download the requested file AS the file
and with the correct filename. I know I'm using
Ok, I figured out part of it.
I added this :
cfheader name=Content-Disposition value=inline;
filename=#ARGUMENTS.filename#
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232778
Archives:
Got it worked out I think. I want to always force a download.
cffunction name=downloadFile access=public output=false
cfargument name=filename required=yes type=string
cfset fullpath = ExpandPath(UploadedFiles) \ #ARGUMENTS.filename#
cfif FileExists(#fullpath#)
cfheader
Outputting data to the browser from within a CFC is BLASPHEMY!
Someone, please make him stop!
Ohhh .. .but it's so FUN!!
:)
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232822
Archives:
Oops! I forgot to var fullpath. Got it fixed!
:)
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232826
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription:
Found this here:
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/indexa12.htm
Verity searches are case-sensitive only when the search term is entered in
mixed case. For example, a search for zeus finds zeus, Zeus, or ZEUS; however,
a search for Zeus finds only Zeus.
To have your
I was asked to build a simple file upload app that allows admins to add/delete
users. Once in the DB, the users can upload files to the server. They can
direct the upload to one or more admins. Upon upload, notification emails are
sent to admins. Admins can then login to view the uploaded
I'm outputting a shipping option form from a cfc. The display table depends on
a few things and it causes me to have to output the form in two different
places.
This works but I didnt know if someone has a better alt.
cffunction
cfargument.
cfset var shipoptionform =
Will, is that a typo? You're outputting from a CFC! BLASPHEMY! :-)
ohhh yeah, and I LOVE it! heeheheee
Rick already gave me a black eye for using cfcontent in a cfc. :)
I asked about it and was given permission from an oo ninja master, whose name
shall go unmentioned. :)
Will
Having multiple problems with CT right now. Missing custom tag paths, missing
db's, missing verity collections. I've been with CT for a few years, and it
seems like since they were acquired by a larger company, things've gotten a bit
screwy. Support has gotten worse. It's cheap though!
Check
oh doh!!! lol
I was only seeing the check in check out parts on the end lol
k, im going to bed after that haha
I shall show restraint and remain silent.
:)
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233455
I'm in your RabidAJAXChat...
where are ya dude?
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233486
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription:
And it's definitely rabid tonight. Keeps refreshing whenever I send in some
text.
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233487
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription:
I ain't got all night. lol! It's past my bedtime.
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233490
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription:
I noticed =) I think ther's some kinda of javascript error.. gimme a
few minutes =)
This is the only chat room I've ever seen where you hafta enter your messages
via your login name. lol!!
I've been using these as logins tonight:
Hey Guys!
Wow, this is a cool chat room!
Rick, when will
Dave,
I have a separate question here. Let's say I have a session.cart cfc, and a
session.checkout cfc.
I send the session.cart object into session.checkout object so it can be used
for whatever during checkout.
Ok, if the qty of something changes in the 1st cart object, is it reflected in
But you might want to rethink your objects in any case. Checking out seems
more like a method - something you do - than an object - something that has
its own methods and data.
Ok, gotcha ... that's what I hoped would be the case.
I'll re-think this thing. Thanks for the info!
Will
Dave,
I have cart.cfc, shopper.cfc, etc..
Would checkout() go in shopper.cfc? The shopper is the one checking out.
Thanks,
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233598
Archives:
The way I try to answer these sorts of questions for myself is to ask how
things would work in real life.
ok, I think this is where I'm gettin' screwed up a bit. I'm thinking how would
it work in real life? You'd have your cart full of items, roll it up to the
checkout counter (an object), the
Ok, somebody set me straight on how things work. I'm building a cartservice
object that'll handle much of the cart logic.
Thanks,
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233617
Archives:
I've always had trouble with these myself. Using x-forms now, and noticed the
validation works fine with cfselect.
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233710
Archives:
Hi guys,
I am just getting my head around stored procedures in SQL Server. One of
the things I am trying to understand is when I should be using them.
I can't stand them myself. Used them in an application just for
*hits'n'giggles, then needed to go back and make a few changes later. It was
Heck, I'm having problems with Google showing old, outdated information about
my client's site. We changed the domain name, revamped the site, which improved
rankings. Then google went back to showing the old site. It bounces back and
forth from week to week.
If someone built a google that
One more thing...
Me and my client worked hard to add incoming links since that's so important to
google. We probably have about 10-15 content-relevant links. But NONE show up!
It's been a few months and google still shows 0 links pointing to our site.
Will
Using Access (not me, a client has to use it!)...
I have a tblStates. I need a few different tables to be related to it. A local
agency is in a state. A contributor is in a state, a state coordinator is in a
state, etc.
When I join tblStates in a query it blows up. I get no records returned.
Perhaps post an example of the SQL that doesn't work
Thanks James. I have all my stuff closed down right now, hitting the bed.
I did come up with an idea. Right now tblStates has a stateID for the PK. I
always like using ID's for PK's. If I drop stateID and let stateAbbr be the PK,
it gets
cfsqltype=cf_sql_numeric list=yes
Heck, I ran into this the other day, goin' back thru making sure everything was
queryparam'd. I hit an IN with a list and thought, ut oh... so I left out the
queryparam.
But'cha just answered it for me. Thanks! :)
Will
can ignore this .. sorted it .. thanks
Well some of us would liketa know how ya sorted it Jen. :)
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234192
Archives:
Where are your local vars for cols and XMLResult? heehee...
:)
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234206
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription:
What Will was talking about was the var keyword. These two variables
are now in the VARIABLES scope and will be preserved between method
calls.
Hey, I get jumped whenever I don't var everyfrigginthing. Just figured I'd
return the favor. I even did it softly ... and STILL got jumped! :)
Will
That'll teach ya to be vague eh ;-)
ohhh so it's *MY* fault ... I see how this works now. :)
Where's dave the disruptured when I need'em!
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234296
Archives:
If it indeed does have that app, then I shall be picking it up tomorrow.
I've been toying with the idea of making one just for the experience,
and wouldn't mind the pointers if Ben's handing 'em out!
It's meant to be a basic example - a good place to get started. I was able to
use it as a
and 10 months later, we haven't yet scene any of these bigger
better things..
~Dave the disruptor~
. and 10 months later, your spelling hasn't improved at all. :)
The bigger and better things just keep getting bigger and better.
Will
actually, i was really glad on that project that I did start over :)
I think you need a new name... dave the machine gun poster sounds good to me.
You post messages faster than you get your cf error messages - that's fast!
There'll be posts from you at 5:41AM,5:42AM,5:43AM,5:44AM,5:45AM
BTW this is NOT going to be RabidGalleon ;) I'll be offering all my
enhancements back to the community.
SUUURE! :)
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235085
Archives:
Can anyone point me to a reasonably priced attorney that will deal
with people buying my cf_ezcart, then selling it as their own, even
using going so far as using my html source for the features page.
I wouldn't doubt it if Ray Horn was the ringleader on this!
It's actually kinda sick.
I'd
In my cart app, I have to setup a url that the paypal checkout uses to return
to my site. I'm testing on my crystaltech server which doesn't use J2EE session
variables. If you hit a page without the urltoken, it's a new session, which
isn't good in this case. Currently, I'm doin' this:
cfset
SESSION.URLTOKEN contains the jsessionid on a J2EE sessions enabled
server, so it will work anyway.
Ahhh.. I gotcha!
Thanks James!
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235610
Archives:
Mike,
I'm doing the same thing except I used a select menu to make things easier on
myself. I have a tblpaymentOptions I can query. Then use that query in the
select query attribute.
I run my cfif's up above the form and set a variable called payoptionchecked or
some such name. It'd = yes or
Thanks Michael, that works! I'm talking about using the new CFMX7
CFFORM structures. In fact I'm using the XML forms.
X-Forms rock don't they? I've been usin'em for everything lately. Nice'n'clean.
Glad you got it worked out. I'm not good nuff to do all that iif and de stuff
yet. :)
Totally kewl dude! XForms kick a$$!
:)
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235738
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription:
~Dave - formerly known as the disruptor~
. Now and from here on out, known as The Worm
:)
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243901
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
I have an absolute positioned div and my errors
o... so you *DO* have errors
:)
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243902
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
DW8 rules! If it's a resource hog I haven't noticed. I got lotsa resources. :)
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243903
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription:
Can you do 3 select inputs (month / date / year)?
I've found that to be one of the easier ways to ensure a date in a valid
format.
uhh... duh... Thanks charlie. That sounds like a good plan. :)
Will
~|
Message:
You can try this instead:
http://www.olimpo.ch/tmt/tag/datepicker/
Thanks Massimo. I'll have a look at this.
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243945
Archives:
and here...
http://www.thecaniac.com
(GO CANES, GAME 7 COMING UP MONDAY NIGHT!)
I don't really follow hockey but... are these dudes chokin'? They better win
this thing!
Will
~|
Message:
I have no idea about that product, but this is a cracking site:
http://gotoandlearn.com/
Ade
Sweet link ade! preeesh!
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244066
Archives:
I know I'm getting older, but what in the world does
preeesh! mean?
Rick
It's short for I appreciate it.
Prsh dude! Catch'ya on the flip side! :)
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244068
hell, I dunno
dave the worm lyons
And there's the quote of the week! :)
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244086
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription:
I have a query that returns a single row of summary info:
YTD sales, MTD sates, forcastMTD, forcastYTD, and so forth. Anyone
know how i can represent data in a cfgraph using these kind of values?.
I'm doin the exact same thing with a bar chart. You have to manually plot the
chart with
I had someone ask me for ideas on an IPO (input/process/output) for a
webmaster. It'll help shape an IT program at the local community college.
I came up with some input such as:
Client interviews
User Interviews
Data
Source Files
Process would be Web tools or whatever you use to process the
I do the same thing john said a history table.
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244709
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription:
In access, I run a query to get a valueList() from a text field. I use that
list to populate a 2nd query like this
.
WHERE thefield IN ('#thelist#')
This returns nothing because it's formatted like this:
IN ('ITN,CIS,CSC')
Then I tried setting a blank list, looped over the valuelist
listQualify() and preserveSingleQuotes()
cfqueryparam for good measure :)
Charlie, could you give me a quickie example?
Thanks much!
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244721
Archives:
This is all great info guys! Thanks!
Will
~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244728
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription:
Will, try thelist = quotedvaluelist(yourquery.fieldname) instead. That'll
create a list 'item1','item2' which can be used in your 2nd where
clause.
One thing that was strange is, the list I created did indeed have the single
quotes when I dumped it.
But when it showed up in the SQL, it
801 - 900 of 1735 matches
Mail list logo