Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Sergey Mochalov
@proweb
I'm looking for way to bild frontend form with repeater group
any existing free form plugins cant do it
or i cant find it
as I now CMB2 can work on frontend
and has repeater
as group repeat
wright Justin?
Justin Sternberg
@jtsternberg
that's right. you may want to look through these snippets: https://github.com/WebDevStudios/CMB2-Snippet-Library/tree/master/front-end
Sergey Mochalov
@proweb
I need something similar to http://www.eurodsp.ru/calculator/
if click on plus
dinamicaly creates new subform
will try recreate it on CMB2
thanks for link Justin
Justin Sternberg
@jtsternberg
:thumbsup:
madvic
@madvik
Hi, I want to know the different options of a function: new_cmb2_box(), but nothing in the documentation : https://cmb2.io/api/function-new_cmb2_box.html
It is possible to add a link in the documentaiton for all options.
Ian Barker
@iantbarker
I'm trying to display different metaboxes on different page templates but can't get it to work
Justin Sternberg
@jtsternberg
you're right, the metabox options need better documentation. The docs are a wiki, so feel free to update them as you see fit and ping me to review
Ian Barker
@iantbarker
The issue seems to be that I have a set of metaboxes that I want displayed on every page/post, but I can't keep those metaboxes and then add new ones on different templates
Justin Sternberg
@jtsternberg
Sure you can
You can use the show_on_cb box property to determine if/when a box should show
Ian Barker
@iantbarker
Like this?
    'show_on'      => array( 'key' => 'page-template', 'value' => 'page-specials.php' ),
madvic
@madvik
@jtsternberg Thanks
Ian Barker
@iantbarker
@jtsternberg I thought Page Template show_on filter would accomplish this but breaks everything
@jtsternberg By break, I mean no metaboxes appear
Justin Sternberg
@jtsternberg
@iantbarker I'm not sure, maybe open an issue on Github and @tw2113 might be able to look at it with you. Be sure to include your entire config code.
Ian Barker
@iantbarker
Ok thanks
Justin Sternberg
@jtsternberg
@madvik thanks a ton! looks solid. I'll update a few things.
@madvik why is some of it commented out?
Justin Sternberg
@jtsternberg
oh, i see your comment. and you're right. I'll move it there.
Justin Sternberg
@jtsternberg
@madvik thanks again for your help. I've updated it and renamed: https://github.com/WebDevStudios/CMB2/wiki/Box-Properties
Ian Barker
@iantbarker
@jtsternberg I added an issue on Github. Thanks.
Justin Sternberg
@jtsternberg
@iantbarker responded. the docs should be pretty clear, but feel free to ping me here not.
Justin Sternberg
@jtsternberg
-sameroom open
Sameroom
@sameroom-bot
<Sameroom> Your code is AJUES
Justin Sternberg
@jtsternberg
-sameroom portal
Sameroom
@sameroom-bot
<Sameroom> Your Portal URL is https://sameroom.io/LcOBqUqM -- you can send the URL to someone on a different team to share this room. Note: you can connect more than two teams this way.
<Sameroom> I've connected 1 new room #gitter (CMB2) on Slack. See map
[JT Sternberg, CMB2] test
Justin Sternberg
@jtsternberg
test
Sameroom
@sameroom-bot
<Sameroom> I've connected 1 new room _#webdevstudios_cmb2 (CMB2)_ on Slack. See map
Justin Sternberg
@jtsternberg
test
Justin Sternberg
@jtsternberg
[Chris Reynolds, CMB2] @jt so does gitter feed into here directly?
Justin Sternberg
@jtsternberg
@jazzsequence yes
mehdihfz
@mehdihfz
Hi, Please help me because I change the date of the lunar to solar