• Resolved juanmirs89

    (@juanmirs89)


    I have a Calendar view on an administrator sub-website where I would like to display more information than just the time of the appointment, this way the worker can know who is coming at what time and what does he need, not just an occupied slot.

    I am using this code:

    `[ea_full_calendar worker=”1″ default_view=”basicDay”]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Nikola Loncar

    (@loncar)

    Hi @juanmirs89 you can get more info by clicking on event. Just need to turn that option on and create a template for it inside EA Settings > Customize > FullCalendar page

    Best regards,
    Nikola

    Thread Starter juanmirs89

    (@juanmirs89)

    @loncar

    Thank you very much… I don’t know how I missed that feature.
    Isn’t there any option to display The Name of the Client instead of the Time, before clicking it and opening a popup, Specially on the day view, which does have a lot of extra space for that extra info. wouldn’t like to have my employees to check all the events to find the one that they are currently attending, especially when there’s a delay and we are not following strictly the schedule?
    Thanks

    Juan

    • This reply was modified 4 years, 1 month ago by juanmirs89.
    Plugin Author Nikola Loncar

    (@loncar)

    Hi @juanmirs89 there is short code attribute called title_field there you should put slug value from custom field that you want to show. For example if field is called name then just name etc

    Best regards,
    Nikola

    Thread Starter juanmirs89

    (@juanmirs89)

    Thanks @loncar
    I can call the worker the service and the location, only displaying the ID by using
    title_field="service"

    I have tried to use this other one but doesn’t show what I want
    title_field="service_name"

    This is the line I have on the page to show the calendar, not showing the service name:
    [ea_full_calendar default_view="basicDay" display_event_end="1" title_field="service_name"] - Juan.

    I have tried to find all the info I can get from the pop using this on the popup code:
    {= __CONTEXT__ | raw}

    // All fields
    
    ----- __CONTEXT__ -----
    array (
      'id' => 23,
      'hash' => 'xxxxxxxxx',
      'event' => 
      array (
        'id' => '23',
        'location' => '1',
        'service' => '2',
        'worker' => '2',
        'name' => NULL,
        'email' => NULL,
        'phone' => NULL,
        'date' => '2020-10-15',
        'start' => '11:10:00',
        'end' => '11:15:00',
        'end_date' => '2020-10-15',
        'description' => NULL,
        'status' => 'confirmed',
        'user' => NULL,
        'created' => '2020-10-12 20:24:06',
        'price' => '0.00',
        'ip' => NULL,
        'session' => NULL,
        'service_name' => 'Traumatología',
        'service_duration' => '5',
        'service_price' => '0.00',
        'worker_name' => 'Alejandro ',
        'worker_email' => '[email protected]',
        'worker_phone' => '',
        'location_name' => 'xxxxxxxx',
        'location_address' => 'xxxxxxxx',
        'location_location' => 'xxxxxxxxx',
        'correo-electronico' => '[email protected]',
        'nombre' => 'Pepito',
        'telefono' => '654243',
        'comentarios' => 'esto es un comentario de lo que quiero hoy',
        'aseguradora' => 'xxxxx',
        'apellidos' => 'grillo',
      ),
      'user' => 
      WP_User::__set_state(array(
         'data' => 
        stdClass::__set_state(array(
           'ID' => '1',
           'user_login' => 'xxxxx',
           'user_pass' => 'xxxxxxxxxxxxxxx',
           'user_nicename' => 'juanmi',
           'user_email' => '[email protected]',
           'user_url' => '',
           'user_registered' => '2020-10-12 14:42:44',
           'user_activation_key' => '',
           'user_status' => '0',
           'display_name' => 'xxxxxxx',
        )),
         'ID' => 1,
         'caps' => 
        array (
          'administrator' => xxxxx,
        ),
         'cap_key' => 'wp_capabilities',
         'roles' => 
        array (
          0 => 'xxxxx',
        ),
         'allcaps' => 
        array (
          'switch_themes' => true,
          'edit_themes' => true,
          'activate_plugins' => true,
          'edit_plugins' => true,
          'edit_users' => true,
          'edit_files' => true,
          'manage_options' => true,
          'moderate_comments' => true,
          'manage_categories' => true,
          'manage_links' => true,
          'upload_files' => true,
          'import' => true,
          'unfiltered_html' => true,
          'edit_posts' => true,
          'edit_others_posts' => true,
          'edit_published_posts' => true,
          'publish_posts' => true,
          'edit_pages' => true,
          'read' => true,
          'level_10' => true,
          'level_9' => true,
          'level_8' => true,
          'level_7' => true,
          'level_6' => true,
          'level_5' => true,
          'level_4' => true,
          'level_3' => true,
          'level_2' => true,
          'level_1' => true,
          'level_0' => true,
          'edit_others_pages' => true,
          'edit_published_pages' => true,
          'publish_pages' => true,
          'delete_pages' => true,
          'delete_others_pages' => true,
          'delete_published_pages' => true,
          'delete_posts' => true,
          'delete_others_posts' => true,
          'delete_published_posts' => true,
          'delete_private_posts' => true,
          'edit_private_posts' => true,
          'read_private_posts' => true,
          'delete_private_pages' => true,
          'edit_private_pages' => true,
          'read_private_pages' => true,
          'delete_users' => true,
          'create_users' => true,
          'unfiltered_upload' => true,
          'edit_dashboard' => true,
          'update_plugins' => true,
          'delete_plugins' => true,
          'install_plugins' => true,
          'update_themes' => true,
          'install_themes' => true,
          'update_core' => true,
          'list_users' => true,
          'remove_users' => true,
          'promote_users' => true,
          'edit_theme_options' => true,
          'delete_themes' => true,
          'export' => true,
          'administrator' => true,
        ),
         'filter' => NULL,
         'site_id' => 1,
      )),
      'is_admin' => false,
      'is_logged_in' => true,
      'language' => 'es_ES',
    )
    ----- / __CONTEXT__ -----

    I would like to get “Pepito” or “Grillo” on the title of the event in the calendar

    • This reply was modified 4 years, 1 month ago by juanmirs89.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Place Name and more info on calendar view’ is closed to new replies.