{"id":1051306,"date":"2016-01-06T09:40:23","date_gmt":"2016-01-06T17:40:23","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-organizer-fields-php-not-showing\/"},"modified":"2016-01-07T15:35:58","modified_gmt":"2016-01-07T23:35:58","slug":"changes-to-organizer-fields-php-not-showing","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-organizer-fields-php-not-showing\/","title":{"rendered":"Changes to organizer-fields.php not showing"},"content":{"rendered":"<p>Hello &#8211; <\/p>\n<p>I am trying to remove the Organizer Website field from my Add Events form. <\/p>\n<p>The modifications I have made below are not showing on my page. The form is behind a login so I can not share it here. Pls see image at <a href=\"http:\/\/imgur.com\/iSQ1Sy1\">http:\/\/imgur.com\/iSQ1Sy1<\/a> <\/p>\n<p>Can you tell me what I have missed?<\/p>\n<p>Thanks!<\/p>\n<p><strong>My Process<\/strong><\/p>\n<p>I have set up new folders in my theme as follows:<\/p>\n<p>theme name<br \/>\n.tribe-events<br \/>\n..community<br \/>\n&gt;&gt;&gt;edit-event.php<br \/>\n&gt;&gt;&gt;edit-organizer.php<br \/>\n&#8230;modules<br \/>\n&gt;&gt;&gt;&gt;organizer.php<br \/>\n&gt;&gt;&gt;&gt;organizer-fields.php<\/p>\n<p>edit-organizer.php calls :<br \/>\n\t&lt;?php tribe_get_template_part( &#8216;community\/modules\/<strong>organizer-fields<\/strong>&#8216; ); ?&gt;<\/p>\n<p>I have removed the &lt;tr&gt; that holds the OrganizerWebsite from <strong>organizer-fields.php<\/strong>:<\/p>\n<pre><code>&lt;tr class=&quot;organizer&quot;&gt;\n\t\t\t&lt;td&gt;\n\t\t\t\t&lt;label for=&quot;OrganizerWebsite&quot;&gt;&lt;?php esc_html_e( &#039;Website&#039;, &#039;tribe-events-community&#039; ); ?&gt;:&lt;\/label&gt;\n\t\t\t&lt;\/td&gt;\n\t\t\t&lt;td&gt;\n\t\t\t\t&lt;input type=&quot;text&quot; id=&quot;OrganizerWebsite&quot; name=&quot;organizer[Website]&quot; size=&quot;25&quot; value=&quot;&lt;?php echo esc_attr( $organizer_website ); ?&gt;&quot; \/&gt;\n\t\t\t&lt;\/td&gt;\n\t\t&lt;\/tr&gt;<\/code><\/pre>\n<p>I have also edited my functions.php file to make the fields in the Organizer section required:<\/p>\n<pre><code>\/** Define required field in Add Events form  *\/\nadd_filter( &#039;tribe_events_community_required_fields&#039;, &#039;my_community_required_fields&#039;, 10, 1 );\n \nfunction my_community_required_fields( $fields ) {\n    $fields = array(\n        &#039;post_title&#039;,\n        &#039;post_content&#039;,\n        &#039;organizer&#039;,\n    ); \n    return $fields;\n}<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-1051306","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Changes to organizer-fields.php not showing -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-organizer-fields-php-not-showing\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Changes to organizer-fields.php not showing -\" \/>\n<meta property=\"og:description\" content=\"Hello &#8211; I am trying to remove the Organizer Website field from my Add Events form. The modifications I have made below are not showing on my page. The form is behind a login so I can not share it here. Pls see image at http:\/\/imgur.com\/iSQ1Sy1 Can you tell me what I have missed? Thanks! [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-organizer-fields-php-not-showing\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-01-07T23:35:58+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-organizer-fields-php-not-showing\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-organizer-fields-php-not-showing\/\",\"name\":\"Changes to organizer-fields.php not showing -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-01-06T17:40:23+00:00\",\"dateModified\":\"2016-01-07T23:35:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-organizer-fields-php-not-showing\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-organizer-fields-php-not-showing\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-organizer-fields-php-not-showing\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Community Events\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/community-events\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Changes to organizer-fields.php not showing\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Changes to organizer-fields.php not showing -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-organizer-fields-php-not-showing\/","og_locale":"en_US","og_type":"article","og_title":"Changes to organizer-fields.php not showing -","og_description":"Hello &#8211; I am trying to remove the Organizer Website field from my Add Events form. The modifications I have made below are not showing on my page. The form is behind a login so I can not share it here. Pls see image at http:\/\/imgur.com\/iSQ1Sy1 Can you tell me what I have missed? Thanks! [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-organizer-fields-php-not-showing\/","article_modified_time":"2016-01-07T23:35:58+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-organizer-fields-php-not-showing\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-organizer-fields-php-not-showing\/","name":"Changes to organizer-fields.php not showing -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-01-06T17:40:23+00:00","dateModified":"2016-01-07T23:35:58+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-organizer-fields-php-not-showing\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-organizer-fields-php-not-showing\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/changes-to-organizer-fields-php-not-showing\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Community Events","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/community-events\/"},{"@type":"ListItem","position":5,"name":"Changes to organizer-fields.php not showing"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1051306","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1051306\/revisions"}],"predecessor-version":[{"id":1051538,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1051306\/revisions\/1051538"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1051306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}