• Resolved romanwisz

    (@romanwisz)


    Hello, So first of all thanks to Franky for what seems to be a very useful, thoughtful and extensive plugin and documentation.
    I am quite new to wordpress and still struggling with many things so forgive me if the question is dumb.

    I think I have figured out a little bit of the backend side of EME, at least enough to create events and display them on a wordpress page.
    Now I am trying to understand how to create a form on that page so that users can create and add basic events to the page. I installed Events made easy frontend submit and insterted the code on the page but it seems my database isn’t configured and I have no idea where to start with that. If you could point me to the right documentation that would be awesome.
    The website is meant to be a simple website for my family to organize holidays in the summer house, so basically, for every member to be able to input the dates at which they plan to come just to have an overview of how many people will be there and when.

    Many Thanks in advance.

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Franky

    (@liedekef)

    I’m not sure I understand what you mean with “my database isn’t configured”. EMEFS uses the regular EME database tables, nothing extra.
    For EMEFS settings: go in your wordpress Settings menu and select the submenu “EME Frontend Submit”.
    For EMEFS doc: read the FAQ at https://wordpress.org/plugins/events-made-easy-frontend-submit/#description

    Thread Starter romanwisz

    (@romanwisz)

    Thank you that was super helpful, I managed to create the frontend form and to generate events from it.

    Now I am looking into two things that I cannot figure out :
    1- Remove some fields from the frontend form (all information about the location, URL, email body, and if possible description and category) basically I just need the event name, start day and end day (hours aren’t necessary).
    I understand this can maybe be made from the command lines EMEFS::field(‘xxx’)
    But I’m not sure where to type this command line (I tried on the wordpress page directly, but didn’t work) should that happen in the form.php file ?

    2- how to display the list of events with only the events names, and not the dates OR with the events names and the dates including end date.

    Thank you again,
    Roman

    Plugin Author Franky

    (@liedekef)

    1: read the first FAQ answer “How/where do I change the form layout?”
    2: Read up on the EME usage: https://www.e-dynamics.be/wordpress/category/documentation/3-installation-and-usage/ ==> use [eme_events] on a normal wp page with custom created template that contains the layout you want per event.
    See https://www.e-dynamics.be/wordpress/category/documentation/6-shortcodes/eme_events/ and for the placeholders you can use in the templates for events: https://www.e-dynamics.be/wordpress/category/documentation/7-placeholders/7-2-events/

    Thread Starter romanwisz

    (@romanwisz)

    Thank you very much, may I suggest adding this to the FAQ :
    In order to modify the form appearing by default on the frontend submission, you need to edit (or replace) the form.php file located in
    wp-content/plugins/events-made-easy-frontend-submit/templates/ ( <= this directory wasn’t in the FAQ)

    In spite of my non existent php skills, I managed to delete the parts that I didn’t need and now the frontend form looks the way I wanted it. forgive my poor skills I think I’m on the right track. I now would like to edit the event list template. I have read the documentation but am still unable to figure out where this template file is located… any hint ?
    The documentation is quite extensive and seems very well made but as a constructive comment I think it is out of reach for many people who have very little coding skills (in spite of having two engineering degrees here). Nonetheless I highly appreciate the gift you are making the community with this plugin.

    Plugin Author Franky

    (@liedekef)

    Hi,
    the faq (first entry) explains the location of the form.php file, but since you’re new in wp you’r falling into the trap of many others: you’re changing something inside the plugin dir. This is not recommended, as upon the next plugin update, you’ll lose your changes.
    I’ve added this to the first FAQ entry:

          If you want to change the layout (the default most probably won't suit you), copy this file in e.g. WP UPLOAD DIR/events-made-easy-frontend-submit/ and change the content there.
          Don't change the default file in the templates subdir, it will get overwritten upon the next plugin update.

    Concerning your second question: EME works with templates, but those are not files but content you create in the “Templates” submeny of EME itself. Once you’ve created the template, you can then take the template id and use that as a parameter for [eme_events]. E.g.: [eme_events template_id=3] . The doc on eme_events contains all info on the parameters and examples too.

    Thread Starter romanwisz

    (@romanwisz)

    1- Thank you, I think the reason I went there is that I found nothing in any of the other directories that were described in the FAQ. I was able to find some folders named ‘Events made Easy’, but no folders named ‘Events made Easy frontend submit’ so I started looking everywhere and found this folder there in the plugin directory.
    One thing that I might have missed is where the WP UPLOAD DIR is… I assumed that was the root of my WordPress folder, but then again no trace of a folder named ‘events-made-easy-frontend-submit’ there…

    2- Thank you, this helps me understand better, I think I will manage this part now

    Thread Starter romanwisz

    (@romanwisz)

    P.S : the directory called wp content/uploads also doesn’t contain a folder named ‘events made easy frontend submit’

    Thread Starter romanwisz

    (@romanwisz)

    So I assume it is safe to copy the form.php file that was in the plugin directory into ./wp-content/themes/your-current-theme/events-made-easy/ right ?

    Thread Starter romanwisz

    (@romanwisz)

    nevermind there is no such folder as ‘events made easy’ in /wp-content/themes/your-current-theme/
    So it’s really a mystery

    Thread Starter romanwisz

    (@romanwisz)

    Oh I think I get it, I have to create the directory myself…

    Plugin Author Franky

    (@liedekef)

    Indeed 🙂

    Thread Starter romanwisz

    (@romanwisz)

    Thank you, thanks to your explanations, this is a huge success !

    Do you know if there is a way for users to delete an event they created directly from the frontend page ?

    Plugin Author Franky

    (@liedekef)

    That is only possible from the backend. I try to avoid duplicating every backend functionality to the frontend …

    Thread Starter romanwisz

    (@romanwisz)

    That’s probably not a bad idea… once again thanks for the help !

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Frontend database config’ is closed to new replies.