Menu icon Foundation

Developer

My Posts








My Comments

Brian Tan commented on Brian Tan's post 9 months

Hi Derek,
I set up a simple gulpfile.js, generate inky htmls with stylesheet "foundation-emails.css" from inky dist folder.
var gulp = require('gulp'),
inky = require('inky'),
inlineCss = require('gulp-inline-css');

gulp.task('default', function() {
return gulp.src('./*.html')
.pipe(inky())
.pipe(inlineCss())
.pipe(gulp.dest('build/'));
});

Run gulp, then just send the htmls in build folder via phpMailer gmail_xoauth api.
Thanks for your help.

Brian Tan commented on Brian Tan's post 9 months

Thanks for the reply. I'll check it out. I guess I could try to run  gulp from php too.

Brian Tan commented on Benjamin Morel's post 11 months

Are you using foundation 5?
Did you try opening with JavaScript?
$('#ajax-modal').load('/script1').foundation('reveal', 'open');
$('#ajax-modal').load('/script2').foundation('reveal', 'open');

Brian Tan commented on Benjamin Morel's post 11 months

Are you using foundation 5?
Did you try opening with JavaScript?
$('#ajax-modal').load('/script1').foundation('reveal', 'open');
$('#ajax-modal').load('/script2').foundation('reveal', 'open');

Brian Tan commented on Petr Holusa's post 11 months

Try adding novalidate in your form element.
 

Brian Tan commented on Shoaib Iqbal's post 11 months

Spams overwhelming legit posts during weekends. No moderator on weekend duty?

Brian Tan commented on Shoaib Iqbal's post 11 months

There should be a "flag spam" feature. Say 3 flags from members and it is marked as spam and removed.

Brian Tan commented on Tim 's post 11 months

Paste your complete code here please.

Brian Tan commented on Jeremy York's post 11 months

You can use more comprehensive .ajax syntax or .get or .post  Eg.
 
$.get('modal.php?id=1', function(data) {
$('#termuser').html(data).foundation('open');
});

Brian Tan commented on Joshua Smith's post 11 months

How about this.
 
src/pages/test.php
---

layout: testlayout

....
src/layouts/testlayout.php
Symlink testlayout.php to testlayout.html (for panini)
I can then vi testlayout.php with php syntax highlight. Similar setup for partials.
when built, src/pages/test.php would be flattened to dist/test.php
Should work with default layout too.

Posts Followed




  • 6
    Replies
  • Abide doesn't work with example code

    By Tim

    abide

    To find out how Abide works, I copied the example form and the js code given in http://foundation.zurb.com/sites/docs/abide.html to my webpage. However, on my site the form won't do any validation, so there are no error messages showing up. Do I need... (continued)

    Last Reply by Tim 11 months ago


  • 1
    Reply
  • Help with passing data to modal

    By Jeremy York

    reveal

    All,   I have this modal setup below that is working perfectly for a static page: //call the modal <a data-open="termuser" class="button">Complete</a> //empty modal div <div id="termuser" class="reveal" data-reveal></div&... (continued)

    Last Reply by Brian Tan 11 months ago





  • 1
    Reply
  • Change Orbit animation speed v6+

    By Ste Cro

    animation speedobit

    Hi there,   I have recently started using Foundation 6 and have noticed a few changes. This are working great but as far as the documentation is concerned i cannot find a way to change the animation speed (not the pause) of the slides on screen. I... (continued)

    Last Reply by Brian Tan about 1 year ago


  • 2
    Replies
  • Accordion + Ajax

    By Antonio Riccardi

    accordionAJAX

    Hi guys, I need to load accordion structure from an AJAX call. Well I can create it but 'obviously' it doesn't work. I suppose it's beacuse accordion needs to restarted the point I didn't understan how! Sorry for the dumb question,I'm just a beginner!  

    Last Reply by Rafi Benkual 9 months ago


Following

    No Content

Followers

My Posts

My Comments

You commented on Brian Tan's post 9 months

Hi Derek,
I set up a simple gulpfile.js, generate inky htmls with stylesheet "foundation-emails.css" from inky dist folder.
var gulp = require('gulp'),
inky = require('inky'),
inlineCss = require('gulp-inline-css');

gulp.task('default', function() {
return gulp.src('./*.html')
.pipe(inky())
.pipe(inlineCss())
.pipe(gulp.dest('build/'));
});

Run gulp, then just send the htmls in build folder via phpMailer gmail_xoauth api.
Thanks for your help.

You commented on Brian Tan's post 9 months

Thanks for the reply. I'll check it out. I guess I could try to run  gulp from php too.

You commented on Benjamin Morel's post 11 months

Are you using foundation 5?
Did you try opening with JavaScript?
$('#ajax-modal').load('/script1').foundation('reveal', 'open');
$('#ajax-modal').load('/script2').foundation('reveal', 'open');

You commented on Benjamin Morel's post 11 months

Are you using foundation 5?
Did you try opening with JavaScript?
$('#ajax-modal').load('/script1').foundation('reveal', 'open');
$('#ajax-modal').load('/script2').foundation('reveal', 'open');

You commented on Petr Holusa's post 11 months

Try adding novalidate in your form element.
 

You commented on Shoaib Iqbal's post 11 months

Spams overwhelming legit posts during weekends. No moderator on weekend duty?

You commented on Shoaib Iqbal's post 11 months

There should be a "flag spam" feature. Say 3 flags from members and it is marked as spam and removed.

You commented on Tim 's post 11 months

Paste your complete code here please.

You commented on Jeremy York's post 11 months

You can use more comprehensive .ajax syntax or .get or .post  Eg.
 
$.get('modal.php?id=1', function(data) {
$('#termuser').html(data).foundation('open');
});

You commented on Joshua Smith's post 11 months

How about this.
 
src/pages/test.php
---

layout: testlayout

....
src/layouts/testlayout.php
Symlink testlayout.php to testlayout.html (for panini)
I can then vi testlayout.php with php syntax highlight. Similar setup for partials.
when built, src/pages/test.php would be flattened to dist/test.php
Should work with default layout too.

Posts Followed

Following

  • No Content

Followers