bartvdploeg1
Forum Replies Created
-
I think I’ve placed the code in the wrong file. Is it meant to be in the theme functions.php or the classes/em-event.php file? It is now in the theme functions.php.
I tried both without effect. In other themes I get the same error.
No, they don’t have to login to submit.
That solution doesn’t seem to work. I changed the
user_name field to em-location-data-region without effect.function em_validate($result, $EM_Event){ if (!is_user_logged_in() && $_REQUEST['em-location-data-region'] == ''){ $EM_Event->add_error('Provincie is vereist...'); $result = false; } return $result; } add_filter('em_event_validate','em_validate', 1, 2);Do you, or someone else know, how I can get a drop-down list as described above?
I contacted the theme developer, i’m still waiting for an answer. I ”fixed” the other fields also with CSS.
I added in my theme CSS:
.inside.event-form-submitter p { display: block !important; } .event-extra-details { display:inline-block !important; } #event_image { display:inline-block !important; } #event-image { display:inline-block !important; }It’s maybe not the best solution, but it works..
Thanx, that worked for the mail input! There a still a few blocked things in the submission form (I just realised that).
– the category selection
– the upload button for images
– a custom attribute fieldProbably that’s also the CSS? How can I show them on the submission form?
It’s the email input that’s missing yes, sorry for that. I Don’t use the booking mode, I disabled the function in the administration panel.
Maybe I don’t understand you, but do you see the mailform also?
I don’t know much about CSS. Can you help me with that (or someone else)?
The CSS file of my theme:
The form is showing correctly when i switch to the default theme. There are also a few more things to see, the upload button and an attribute form. I tried to disable all the other plugins, that didn’t fix the issue.
Hi, I contacted my webhoster about this question and they resolved the problem. I am using a Windows host. As requested I made an iirf.ini file with the code:
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^/.*$ /index.php [L,QSA]In wp-config.php I added the following:
define('EM_DISABLE_PERMALINKS',true);That was all for me, now it’s working.
It isn’t the whole website but are only the Events Manager pages. Other pages and other plugins are still working with the changed (Postname) permalinks.
Thanx, that worked for me!
Forum: Themes and Templates
In reply to: Problem with breaks in postsThanks man! That was the solution! Everything looks fine finally 😉