Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • I finally preferred to present event lists.
    This solves the problem (while avoiding it) and has the great advantage to have a good presentation on small screens.

    But this bug is easy to reproduce :
    – create two events categories;
    – create page 1 and present full calendar for events of category 1 (with the shortcode [em-full-calendar categories=..])
    – create page 2 and present full calendar for events of category 2 (with the shortcode [em-full-calendar categories=..])
    and you should observe the bug.

    While modifying page 1, the 2 pages show the calendar of category 1.
    While modifying page 2, the 2 pages show the calendar of category 2.

    It looks like a session problem or a javascript variable update that fails.

    Many thanks for this plugin.
    Hope you will find the bug and kill it ??

    Kisses,

    Zabelle

    Same problem.

    Here are my configuration parameters :
    WP 4.2.4 with a child theme of twenty fourteen and last version of following extensions :
    – easy photo album
    – event maker
    – rich text excerpt
    – table of content
    – WPFront user role editor

    Have you some plugins in common ?

    Zabelle

    Thread Starter zabelle_motte

    (@zabelle_motte)

    I give question and answer.
    This is a resolved post.

    Zabelle

    Thread Starter zabelle_motte

    (@zabelle_motte)

    When creating a new post, you have these default fields :
    – title
    – content
    – extract
    – author
    – date
    – comments
    – …
    And the “content” field is a big text field with full text editor.

    When defining a new event, preferences enable to define the associated fields that are :
    – title
    – extract
    – beginning date
    – finishing date
    – author
    – comment
    – …
    But no long text “content” filed may be associated to an event.

    I need such long description for an event …
    If it exists, please let me show how to activate it …

    Zabelle

    Thread Starter zabelle_motte

    (@zabelle_motte)

    Yes, editor is enabled but events do not present a content fiels such as posts. Where are the events stored ? In a specific tableor in the post table ?

    Thanks in advance for help.

    Zabelle

    Thread Starter zabelle_motte

    (@zabelle_motte)

    Hello,

    While waiting for your response, I have been finding one intermediary solution while installing the extension “Rich text excerpts” and activating this only for event excerpts …

    Beter than nothing ??

    Zabelle

    Same problem with WP3.9.2 and last EPA version.

    Seems to come from bad interpretation of render_style_block() function in EPA_Renderer.php.

    Thanks in advance for help about your wonderful plugin ??

    Zabelle

    Thread Starter zabelle_motte

    (@zabelle_motte)

    It could be interresting to integrate this option in a next version …

    Many thanks for your plugin and best developments !

    Kisses

    Zabelle

    Thread Starter zabelle_motte

    (@zabelle_motte)

    So, my problem is solved !

    Zabelle

    Thread Starter zabelle_motte

    (@zabelle_motte)

    Hello,

    I have been passing few evenings scratching my head and I finally succeeded presenting the time and title of event as a tooltip in the calendar widget.

    I edited the file events-maker/includes/widgets.php and replaced the following portion of code in the private function display_calendar :

    if($real_day === TRUE)
    				{
    					$html .= (in_array($day, $events) ? '<a href="'.esc_url(em_get_event_date_link($date[0], $month + 1, $day)).'">'.$day.'</a>' : $day);
    					$day++;
    				}

    by this portion of code :

    if($real_day === TRUE)
    				{
    
    	$list_events_title="";
            $mymonth=$month+1;
    	$myday=$day;
    	if (strlen($mymonth)==1) $mymonth='0'.$mymonth;
    	if (strlen($myday)==1) $myday='0'.$myday;
    	$mydate=$date[0]."/".$mymonth."/".$myday;
    	$myevents=em_get_events(array('event_ondate'=>$mydate) );
    	$ii=0;
    	foreach ( $myevents as $postt )
    	{
            	if ($ii>0) $list_events_title.='<br /> ';
    	        $tempid=$postt->ID;
    	        $temptitle=$postt->post_title;
    	        if (em_is_all_day($tempid))
                        $list_events_title.='?'.$temptitle;
    		else
             	{
    	            $temptime=em_get_the_start($tempid, 'time');
    	            $temptime= str_replace(' ','',$temptime);
    	            $list_events_title.='?'.$temptime.': '.$temptitle;
                    }
    	        $ii=$ii+1;
    	}
    	$html .= (in_array($day, $events) ? '<a class="info" href="'.esc_url(em_get_event_date_link($date[0], $month + 1, $day)).'">'.$day.'<span>'.$list_events_title.'</span></a>' : $day);
    
    					$day++;
    				}

    It is perhaps possible to make it much simpler, but it works !

    You also have to add these styles in your template style.css file :

    a.info{
    position:relative;
    z-index:24;
    color:#000;
    text-decoration:none
    }
    
    a.info:hover{
    z-index:25;
    background-color:#FFF
    }
    
    a.info span{
    display: none
    }
    
    a.info:hover span{
    display:block;
    position:absolute;
    top:2em;
    width:15em;
    border:1px solid #000;
    background-color:#FFF;
    color:#000;
    text-align: justify;
    font-weight:none;
    padding:5px;
    }

    Zabelle

    Thread Starter zabelle_motte

    (@zabelle_motte)

    Resolved

    Thread Starter zabelle_motte

    (@zabelle_motte)

    Found the solution !
    The difficulty comes from the fact that the plugin css enters the document after the global css. So that the only way to personalize the printing css for the plugin is to edit its style.php file and adding these lines at the end :

    @media print {
             .GTTabs {display:none;border:0 none;}
    	.GTTabs li a {display:none;border:0 none;}
    	.GTTabs li.GTTabs_curr a {display:none;border:0 none;}
    	.GTTabs_titles{display:block !important;border-bottom:1px solid;}
    	.GTTabs_divs {display:block !important;}
    }

    Thanks a lot for this simple tabs plugin !

    Zabelle

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