Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Ronald Huereca
@ronalfy
@sc0ttkclark let me figure out the JS and it's all yours
what's your git username?
Scott Kingsley Clark
@sc0ttkclark
sc0ttkclark
we're on gitter, usernames are the same as github
Ronald Huereca
@ronalfy
okay
any ideas how to initialize JS for a time picker?
Ronald Huereca
@ronalfy
nm, almost there
Ronald Huereca
@ronalfy
@sc0ttkclark I had to givee up.. my brain is fried.. couldn't figure out text timer or radio.. I'll try again some other day :D
Scott Kingsley Clark
@sc0ttkclark
sounds good, i'll take a look
everything you have is in git right? can you list out the field types you haven't confirmed as working yet?
@ronalfy ^^
Ronald Huereca
@ronalfy
@sc0ttkclark sure..
let me do a push and
@sc0ttkclark I added you as a contributor
@sc0ttkclark here in the customizer branch tell you what I've tried. I stopped at radio.
Ronald Huereca
@ronalfy
I was working on the radio last. Gave up for the time being.
Ronald Huereca
@ronalfy
I'm at the point in my dev brain where it'll be easier creating custom customizer controls/outputs for some of these.
Ronald Huereca
@ronalfy
@sc0ttkclark got radio button to work. On some of these controls, we just have to manually output. Maybe get @jtsternberg to clean up.
Scott Kingsley Clark
@sc0ttkclark
ok cool
Ronald Huereca
@ronalfy
@sc0ttkclark https://github.com/ronalfy/CMB2/tree/customizer has code and output tests
Manual outputting seems the way to go here for a lot of these
I'll try to get the rest tomorrow or this weekend sometime. But super excited.
Scott Kingsley Clark
@sc0ttkclark
cool, looks like we're nearly there
Ronald Huereca
@ronalfy
Logging off. Good night.
Scott Kingsley Clark
@sc0ttkclark
night
Ronald Huereca
@ronalfy
Yeah, need to figure out the timer thing.
Have to load the scripts using customizer enqueue since the body is in an iframe.
Ronald Huereca
@ronalfy
@sc0ttkclark could you take a peek at something? I need your brain.
My boss has given me one more day to work on this. I asked for two originally, but we're so close.
Scott Kingsley Clark
@sc0ttkclark
sure
AWESOME!
@ronalfy use my brain
Ronald Huereca
@ronalfy
@sc0ttkclark I can't get the timer options to work at all. I got the scripts in there, no errors. I can literally take the HTML generated and paste it into the front end with the same scripts, and it works. Sample code in my readme. https://github.com/ronalfy/cmb2/tree/customizer
Scott Kingsley Clark
@sc0ttkclark
where's your code to enqueue?
oh i see now
Ronald Huereca
@ronalfy
it's in bootstrap. I had to run it at a low priority
to get customizer to work properly
I'm going to work on the multi-check tools. But have at it. The timer just doesn't appear.
Ronald Huereca
@ronalfy
Yeah, that's what I used
the scripts are all in there properly
Just nothing displays.
Scott Kingsley Clark
@sc0ttkclark
hmm, so script loads to page, but you can't get it to actually work on the time field itself?
Ronald Huereca
@ronalfy
yah if I load the scripts on the front
I'm honestly going to do a pull request after I this multicheck to work and I can shelve the time pieces for later.
Ronald Huereca
@ronalfy
@sc0ttkclark here ya go WebDevStudios/CMB2#468
if you look at CMB-Customizer, it has all the required and mapping needed