Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Rayz66

  1. Rayz66

    Going to Learn PHP. . .Any Tips?

    Oh yes .... :-) I had to implement a search engine on a customer's site. Never done anything like it before. From the time it took me to read Ben Forta's chapter on searching, to having a search engine AND scheduled indexer up and running; about two hours. I don't even want to think about how...
  2. Rayz66

    CFMODULE and images

    Mmmm .. that didn't work, but it gave me an idea for a fix. I just set a variable <cfset base="#CGI.SERVER_NAME#:#CGI.SERVER_PORT#/site"> Then I set a html base ref in the template. <cfoutput><base href="#base#"></cfoutput> Bit of a hack, but it seems to work OK ....
  3. Rayz66

    CFMODULE and images

    Ok. The site is arranged like this [root] Application.cfm documentview.cfm [images] [model] test.cfm [templates] template.cfm The template is basically just putting the HTML around some content <cfif thisTag.executionMode is "end"> <html> <head>...
  4. Rayz66

    CFMODULE and images

    Hopefully the last question for a while ... :-) Okay. I'm using a cfm file as a kind of layout template, which I call from another CFM file. <cfset test= "test page"/> <cfmodule template="templates/template.cfm"> <cfoutput>Hello! #test#</cfoutput> </cfmodule> Which works OK. But here's the...
  5. Rayz66

    Outer joins in MSAccess

    Well, I typed in the code again to get hold an example for you, and it worked! I must've had some kind of syntax error in my first attempt; the error message threw me though. Thanks for your help.
  6. Rayz66

    Outer joins in MSAccess

    Hi there. I have this query, which I'm going to use for a Group output. <cfquery name="allContents" datasource="#request.DSN#"> SELECT contentType.id, contentType.typeOfContent, contentType.orderOfType, contentType.active, contentType.showHeading, content.id, content.title...
  7. Rayz66

    MVC and ColdFusion: Best practices

    Simple, yet ingenious Thanks!
  8. Rayz66

    MVC and ColdFusion: Best practices

    Hi there. Flushed with success after my first CF website went live; I'm going to have a crack at another one. Now I'm looking at adopting a MVC approach (which, until I read Ben Forta's book, I didn't realise was possible). I'm going to have a controller page (like documentController.cfm)...
  9. Rayz66

    Proposal - Coldfusion vs JSP

    I love cold fusion but its got some bugginess that had I known about before I started builing my latest applications, I would have tried another language." What kind of bugs?
  10. Rayz66

    Bundling CF with an application for sale.

    Hi there! Sorry I didn't your message a bit earlier, but I think the next release of CF will have what you're looking for: http://www.macromedia.com/software/coldfusion/blackstone/#sys_ad "With ColdFusion MX, you can already deploy ColdFusion as a Java archive (EAR or WAR file) and then...
  11. Rayz66

    Baffled by ColdFusion date handling

    >> Don't know if this will help, but if you're running MX you may can use the SetLocale function. << Right!! That may be what I'm looking for! Thanks!
  12. Rayz66

    Baffled by ColdFusion date handling

    >> Unless the design folk are just being annoying because they want to be, its quite doable... << I couldn't possibly comment on the reasoning behind the designers .... :-/ I like the three box option, but we also have a thirdp party widget that allows for easy date entry; it needs a single...
  13. Rayz66

    Baffled by ColdFusion date handling

    Yes, making the date look like EU, was not too tricky, the problem was getting ColdFusion to recognise EU formats when processing the date for the database. If CF sees 08/10/2004 Then it assumes that this is 10th of August, when I really wanted it to be 8th of October. However, when it sees...
  14. Rayz66

    Baffled by ColdFusion date handling

    Aah! So it is something to do with the way ColdFusion handles the dates .... very strange. I guess it's a legacy thing. Thanks for the help, can't use the three text box solution unfortunately (the design folk won't hear of it), but at least I know I'm looking at a CF quirk rather than a bug in...
  15. Rayz66

    Baffled by ColdFusion date handling

    Hi there ... :-) I have a form which has a field for entering a date. Now the date has to be in European format, but I can't figure out how to tell ColdFusion that the date is European when I submit the form to the database. I'm using CFINSERT/CFUPDATE, and as far as I can tell, ColdFusion...

Part and Inventory Search

Back
Top