{"id":1124,"date":"2018-05-25T16:41:46","date_gmt":"2018-05-25T20:41:46","guid":{"rendered":"http:\/\/e-registernow.com\/support\/?p=1124"},"modified":"2018-05-25T16:41:46","modified_gmt":"2018-05-25T20:41:46","slug":"template-for-floor-plan","status":"publish","type":"post","link":"https:\/\/e-registernow.com\/support\/template-for-floor-plan\/","title":{"rendered":"Template for Floor Plan"},"content":{"rendered":"<p>In order to use this floor plan function, follow the step2 below. (Sample: M3270)<\/p>\n<p>&nbsp;<\/p>\n<ol>\n<li>Preferences &gt; Step1 Page &gt; \u00a0Display Events as \u201cFloor plan\u201d<\/li>\n<li>Put the variable\u00a0<strong>%%step1_form_selectbox%%<\/strong> on step1 template<\/li>\n<li>Styling the event selector by CSS<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>%%step1_form_selectbox%% generates the following html codes.<\/p>\n<p>&lt;div class=&#8221;Step1TFP&#8221; id=&#8221;Step1TFP&#8221;&gt;<br \/>\n&lt;div class=&#8221;FP_event&#8221; id=&#8221;ecode001&#8243; eid=&#8221;500000531178642&#8243;&gt;<br \/>\n&lt;div class=&#8221;FP_selector&#8221;&gt;<br \/>\nStep1 Selector comes here*<br \/>\n&lt;\/div&gt;<br \/>\n&lt;div class=&#8221;FP_ecode&#8221;&gt;001&lt;\/div&gt;<br \/>\n&lt;div class=&#8221;FP_spotleft&#8221;&gt;0&lt;\/div&gt;<br \/>\n&lt;\/div&gt;<br \/>\n&lt;\/div&gt;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>*Step1 Selector<\/strong><\/p>\n<ul>\n<li>SelectBox<br \/>\n&lt;select class=&#8221;step1_matrix_select&#8221; name=&#8221;ExE500000521415975[0]&#8221;&gt;<br \/>\n&lt;option selected=&#8221;selected&#8221; value=&#8221;0&#8243;&gt;0&lt;\/option&gt;<br \/>\n&lt;option value=&#8221;1&#8243;&gt;1&lt;\/option&gt;<br \/>\n&lt;\/select&gt;<\/li>\n<li>Checkbox<br \/>\n&lt;input class=&#8221;step1_matrix_check&#8221; name=&#8221;ExE500000521415980[0]&#8221; type=&#8221;checkbox&#8221; value=&#8221;1&#8243; \/&gt;<\/li>\n<li>Radio Button<br \/>\n&lt;input class=&#8221;step1_matrix_radio&#8221; name=&#8221;RadioGrp_[0]&#8221; type=&#8221;radio&#8221; value=&#8221;ExE500000521421439[0]&#8221; \/&gt;<\/li>\n<li>Sold out<br \/>\n&lt;div class=&#8221;FP_soldout&#8221;&gt;&lt;\/div&gt;<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>Sample Code<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1135\" data-permalink=\"https:\/\/e-registernow.com\/support\/template-for-floor-plan\/floorplan1\/\" data-orig-file=\"https:\/\/i0.wp.com\/e-registernow.com\/support\/wp-content\/uploads\/2018\/05\/FloorPlan1.png?fit=815%2C507&amp;ssl=1\" data-orig-size=\"815,507\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"FloorPlan1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/e-registernow.com\/support\/wp-content\/uploads\/2018\/05\/FloorPlan1.png?fit=815%2C507&amp;ssl=1\" class=\"alignnone size-full wp-image-1135\" src=\"https:\/\/i0.wp.com\/e-registernow.com\/support\/wp-content\/uploads\/2018\/05\/FloorPlan1.png?resize=815%2C507&#038;ssl=1\" alt=\"\" width=\"815\" height=\"507\" srcset=\"https:\/\/i0.wp.com\/e-registernow.com\/support\/wp-content\/uploads\/2018\/05\/FloorPlan1.png?w=815&amp;ssl=1 815w, https:\/\/i0.wp.com\/e-registernow.com\/support\/wp-content\/uploads\/2018\/05\/FloorPlan1.png?resize=300%2C187&amp;ssl=1 300w, https:\/\/i0.wp.com\/e-registernow.com\/support\/wp-content\/uploads\/2018\/05\/FloorPlan1.png?resize=768%2C478&amp;ssl=1 768w\" sizes=\"auto, (max-width: 815px) 100vw, 815px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>With CSS, the html code rendered like the image below.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1136\" data-permalink=\"https:\/\/e-registernow.com\/support\/template-for-floor-plan\/floorplan2\/\" data-orig-file=\"https:\/\/i0.wp.com\/e-registernow.com\/support\/wp-content\/uploads\/2018\/05\/FloorPlan2.png?fit=194%2C70&amp;ssl=1\" data-orig-size=\"194,70\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"FloorPlan2\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/e-registernow.com\/support\/wp-content\/uploads\/2018\/05\/FloorPlan2.png?fit=194%2C70&amp;ssl=1\" class=\"alignnone size-full wp-image-1136\" src=\"https:\/\/i0.wp.com\/e-registernow.com\/support\/wp-content\/uploads\/2018\/05\/FloorPlan2.png?resize=194%2C70&#038;ssl=1\" alt=\"\" width=\"194\" height=\"70\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Note:<\/p>\n<p>Does not work with Matrix labels, Overlap events<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In order to use this floor plan function, follow the step2 below. (Sample: M3270) &nbsp; Preferences &gt; Step1 Page &gt; \u00a0Display Events as \u201cFloor plan\u201d Put the variable\u00a0%%step1_form_selectbox%% on step1 template Styling the event selector by CSS &nbsp; %%step1_form_selectbox%% generates the following html codes. &lt;div class=&#8221;Step1TFP&#8221; id=&#8221;Step1TFP&#8221;&gt; &lt;div class=&#8221;FP_event&#8221; id=&#8221;ecode001&#8243; eid=&#8221;500000531178642&#8243;&gt; &lt;div class=&#8221;FP_selector&#8221;&gt; Step1 Selector [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[271],"tags":[],"class_list":{"0":"post-1124","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-step-1","7":"entry","8":"has-post-thumbnail"},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7kUZg-i8","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/posts\/1124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/comments?post=1124"}],"version-history":[{"count":6,"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/posts\/1124\/revisions"}],"predecessor-version":[{"id":1141,"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/posts\/1124\/revisions\/1141"}],"wp:attachment":[{"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/media?parent=1124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/categories?post=1124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/e-registernow.com\/support\/wp-json\/wp\/v2\/tags?post=1124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}