Jump to content

Adam

Moderators
  • Content Count

    5,717
  • Joined

  • Last visited

  • Days Won

    6

Adam last won the day on October 20 2013

Adam had the most liked content!

Community Reputation

73 Excellent

About Adam

  • Rank
    Prolific Member
  • Birthday 07/24/1989

Profile Information

  • Gender
    Male
  • Location
    Sheffield / UK

Recent Profile Visitors

13,135 profile views
  1. Gulp runs in the node environment, so you can just use node's module loader to import the data within arrayfile, then export it as an array for your Gulp script to import. arrayfile.js: module.exports = { somefile: require('./somefile'), someotherfile: require('./someotherfile') }; gulpfile.js: var data = require('./arrayfile'); console.log(data.somefile); console.log(data.someotherfile); You could export an array from arrayfile.js (the name of which obviously doesn't make much sense when you export an object), however having named properties to access a different file's data feels a little more elegant, and is better for readability.
  2. This isn't valid syntax: CKEDITOR.instances."editor2"(...) You'll get an error thrown for an unexpected string there. Assuming editor2 is a property of instances, then you can just use this: CKEDITOR.instances.editor2(...)
  3. While I wouldn't agree that it looks totally different in every browser, I wouldn't say that I like the look of it. The colours don't work together, the images look bad quality, everything just seems unorganised. If you're hoping to get work from this website I would seriously invest a bit of time into learning a bit about design, or just go with something simple.
  4. Why over 3112? Strikes me as an odd number to limit it to.
  5. By "moved to another table" I presume you just mean normalised? It really depends on what kind of functionality you're going to provide. If it's just a basic send mail wrapper then you probably don't need to worry, given it will be sent in the CC header in exactly that format. If however you want to provide a more advanced address book, and/or provide some kind of filtering of sent mails, then I would probably normalise the data. Normalising the data complicates the code of course, so unless you have the need to do it I wouldn't bother -- KISS.
  6. After saving the data in the database, you need to retrieve the last inserted ID, and then redirect the user to another URL with that ID passed as some kind of parameter. This other URL will then run a script that fetches the information back from the database using the ID passed in the URL, and then display it in some kind of template. Individually they're all relatively simple things to do; just google them separately, and put the pieces together.
  7. Given the scale of the current crisis, I could be willing to help free of charge, but would need to know more about your charity and whether it's likely to do any good (no offence).
  8. Can't believe you registered just to post that. CodeIgniter sounds perfect for you.
  9. Just out of curiousity, where does the name Labradoodle-360 come from? Whilst in the midst of a 360 degree spin did you discover your talent for breeding unusual dog hybrids?
  10. That's just what my friends call me..
  11. Could you change mine to "<<Adam_69_Bad_Boi_Wrecking_Ball>>" please? Heh.. no "Adam89" please, since Adam is taken
  12. You could just use PuTTY to access the server's VI(M?) editor (assuming it's Linux). That's real easy to transport, heck it's even available as an iPhone app now!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.