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 Chriss Miller 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 grtfercho

  1. grtfercho

    Cold Fusion has MVC?

    There are multiple frameworks out there Some were already mentioned, Fusebox, Mach II are probably the most well known. Model-Glue is the one I chose and started working with, pretty easy to pickup. I'm detailing my experiences with the framework here May not be much, but the research I've...
  2. grtfercho

    Testing CFMail on a Development Machine

    We use Spoolmail by Ray Camden. http://spoolmail.riaforge.org/ If you are in development and you only need to test if emails are going out, then give this a try. Basically, you can use CFMAIL but because you really don't have a mail server to connect CF will keep emails in the spool...
  3. grtfercho

    Prevent db update on page reload

    This right here is your problem. "page1 submits to page2 and page2 updates the database and displays some information." You are updating the Database and displaying the page with the same template. You have to separate both, Processing is one thing and displaying the info another. Also when...
  4. grtfercho

    Need Help mixing Javascript ans Coldfusion

    You say the code works so I don't really understand what the problem is. One thing I noticed is that by doing the CFinclude with the JS code in it you are sending alllllll that JS code every single time, not really the best user experience. Try this. <script...
  5. grtfercho

    Dreamweaver Regular Expressions Guru Needed

    On the search box #Val(\(.*\))# on the replace box <cfqueryparam value="#Val$1#" cfsqltype="cf_sql_numeric"> I guess you forgot the closing parenthesis on the initial post. good luck grtfercho çB^]\.. "Imagination is more important than Knowledge" A. Einstein...
  6. grtfercho

    Odd or Even?

    just do a <cfif ImageCount mod 2> your code here cfelse> your code here </cfif> grtfercho çB^]\.. "Imagination is more important than Knowledge" A. Einstein ----------------------------------------------- www.llajta.com
  7. grtfercho

    What does the (+) operator in a condition mean

    select emp.name,dept.Name from employees emp, departments dept where dept.dept_id(+)=emp.dept_id Basically show me all the employeenames and their respective departments AND also show me the employees that don't have a department assigned. Think of the (+) as show me all but if you don't find...
  8. grtfercho

    2 websites on same server

    http://livedocs.macromedia.com/coldfusion/6/Installing_CFMX_for_J2EE/using6.htm As far as multiple sites, sure you can run a thousand applications and have the webserver map to the specific folder where your application files reside. grtfercho çB^]\.. "Imagination is more important than...
  9. grtfercho

    cffile action=&quot;read&quot;

    Funny... Just yesterday I was handed a small project where I use CFFTP and get a file from a remote server. Once the file is in our servers I have to read the first three columns specified in it. I was going to use the Approach from the book "Advanced Coldfusion MX App. Development" by Forta...
  10. grtfercho

    DIS-Allow Multiple Logins, same username / Password

    This is just one way of doing it. Have a small JScript running on their pages, the Javascript starts a timer, after 19 minutes shows a message and calls a page in the server (letting you know they went away).In that page remove the user name from the list or just call the logout page.... I...
  11. grtfercho

    Regexp for search engine

    I know!!! ;) I just want to know that it cannot be done in one regexp. Is more of a challenge now... Thanks. grtfercho çB^]\.. "Imagination is more important than Knowledge" A. Einstein ----------------------------------------------- www.llajta.com
  12. grtfercho

    Regexp for search engine

    Normally I do good with RegExp, but this time I'm kinda stucked. I'll use the pipe (|) as begin/end delimiter. User enters a string like |"google search" syntax verity| boss wants that string to be transformed into |"google search" AND syntax AND verity| Basically create ONE ( and only...
  13. grtfercho

    Comments on storing cart info in db??

    On the abandoned carts: What a great way to see what's driving your clients away. You can actually rebuild their experience by just going to the pages where they added the products. You may find a couple of places where you can streamline the process and have more sales and less of those...
  14. grtfercho

    Regular Expression help

    so according to the regexp this is completely valid ....---MY-name---HE-..-rE...-- prrm333 : Do you have any other constraint in the field? Can they enter as many periods or dashes as they want? If you don't have something already defined, then I think you should come up with some kind of...
  15. grtfercho

    How to Elegantly Combine two scrolling JS effects...

    Please, please, kill this from your pages.... <embed src="mp3/franksledge.mp3" autostart="true" hidden="true"></embed> It makes them slow and I really don't want to download the mp3 file on every single page. plus it triggers security alerts here at work and the network guys are never happy...

Part and Inventory Search

Back
Top