Menu icon Foundation

Designer | Canada

My Posts



  • 1
    Reply
  • Adding jquery to Foundation 6.4

    By NoreagoCan

    6.4jquery

    I'm learning jquery so I can add custom code to my site. I'm struggling to figure out where it needs to go and how to make it work. I'm not finding information on this.    My steps:  1.  The HTML <body> <h2>This is a... (continued)

    Last Reply by Michal Pandyra about 2 months ago




My Comments

NoreagoCan commented on NoreagoCan's post 4 days

anyone?

NoreagoCan commented on alan farrow's post 7 days

You need a mail function. There are no Foundation secrets to this. You can google for basic mail function tutorials. I've attached a simple PHP function with a form.
 
<?php
//if "email" variable is filled out, send email
if (isset($_REQUEST['email'])) {

//Email information
$admin_email = "someone@example.com";
$email = $_REQUEST['email'];
$subject = $_REQUEST['subject'];
$comment = $_REQUEST['comment'];

//send email
mail($admin_email, "$subject", $comment, "From:" . $email);

//Email response
echo "Thank you for contacting us!";
}

//if "email" variable is not filled out, display the form
else {
?>

<form method="post">
Email: <input name="email" type="text" /><br />
Subject: <input name="subject" type="text" /><br />
Message:<br />
<textarea name="comment" rows="15" cols="40"></textarea><br />
<input type="submit" value="Submit" />
</form>

<?php
}
?>

NoreagoCan commented on NoreagoCan's post 2 months

Thanks Rafi. yeah posted the bug there also and got that answer. The short term fix that SassNinja posted works great.. Thanks for following up.

NoreagoCan commented on Santiago Valdes's post 12 months

Ive also run into a problem where both "npm start" and "foundation watch" wont run. It worked up until a couple days ago. 
 
http://prntscr.com/cqdfua
 
 I have...
 
- Uninstalled Node.js
-uninstalled foundation
- deleted the npm folder in appdata
- uninstalled ruby
- reinstalled everything according to foundation sass instructions.
 
I dont know what else to do. please help
 

NoreagoCan commented on Tonybyte's post 12 months

for deleting directories with long file names the easiest way that i found .... was installing rimraf
npm install rimraf
 then going to the parent directory and simply type rimraf (and the directory name) super fast super simple

Posts Followed


  • 1
    Reply
  • Using different sized images in Orbit

    By Mark Z

    Orbitgallery

    Hi, I am trying to use Orbit to create a photography gallery. I have managed to get the Orbit slider working and am using the bullets as thumbnails that change the main image when clicked on without a problem. The issue I am having is that as the photogr... (continued)

    Last Reply by Mark Z about 2 months ago


  • 6
    Replies
  • Node.js not working

    By Santiago Valdes

    npmerrorgit

    Hello, everything was working OK when all of a sudden I can't start "npm start" or "npm run build", I get this error: 0 info it worked if it ends with ok 1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe', 1 verbose cli 'C:\\Users\\Santiago\\AppDa... (continued)

    Last Reply by NoreagoCan 12 months ago


  • 35
    Replies
  • Foundation 6 filenames too long

    By Tonybyte

    filenames

    I upgraded to Foundation 6 sites (SASS). If I sync folders, move anything, or try to delete folders, I keep getting Windows 7 problems of "filenames are too long" in the "node_modules" folder. I've rarely had this issue in the past with anything. To d... (continued)

    Last Reply by Tonybyte 6 months ago


Following

    No Content

Followers

My Posts

My Comments

You commented on NoreagoCan's post 4 days

anyone?

You commented on alan farrow's post 7 days

You need a mail function. There are no Foundation secrets to this. You can google for basic mail function tutorials. I've attached a simple PHP function with a form.
 
<?php
//if "email" variable is filled out, send email
if (isset($_REQUEST['email'])) {

//Email information
$admin_email = "someone@example.com";
$email = $_REQUEST['email'];
$subject = $_REQUEST['subject'];
$comment = $_REQUEST['comment'];

//send email
mail($admin_email, "$subject", $comment, "From:" . $email);

//Email response
echo "Thank you for contacting us!";
}

//if "email" variable is not filled out, display the form
else {
?>

<form method="post">
Email: <input name="email" type="text" /><br />
Subject: <input name="subject" type="text" /><br />
Message:<br />
<textarea name="comment" rows="15" cols="40"></textarea><br />
<input type="submit" value="Submit" />
</form>

<?php
}
?>

You commented on NoreagoCan's post 2 months

Thanks Rafi. yeah posted the bug there also and got that answer. The short term fix that SassNinja posted works great.. Thanks for following up.

You commented on Santiago Valdes's post 12 months

Ive also run into a problem where both "npm start" and "foundation watch" wont run. It worked up until a couple days ago. 
 
http://prntscr.com/cqdfua
 
 I have...
 
- Uninstalled Node.js
-uninstalled foundation
- deleted the npm folder in appdata
- uninstalled ruby
- reinstalled everything according to foundation sass instructions.
 
I dont know what else to do. please help
 

You commented on Tonybyte's post 12 months

for deleting directories with long file names the easiest way that i found .... was installing rimraf
npm install rimraf
 then going to the parent directory and simply type rimraf (and the directory name) super fast super simple

Posts Followed




Following

  • No Content

Followers

  • No Content