zsolemolina
Forum Replies Created
-
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Weekly calendarIt’s not solved..but anyway, I leave this project. thanks for trying!
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Weekly calendarPlease…no one expert in calendars here ? ??
Maybe, Marcus can help me to find the way to customize my calendar like my picture (currently working with customized calendar-full.php) but unable no handle a week view.
https://www.zapatosrojos.net/weekly-calendar.pngutilibre,
Now u r talking about WP general things. I recommends u, post this thread in other forum or see WP codex docs.
In “Publish” box widget.
Good idea agelonwl!
As I told u… make a post immediately published in the default calendar widget in the post editor.
Try to ADD the second code , just below your code like I describe:
function theme_register_widgets() { if (!is_blog_installed()) return; register_widget('TD_Widget_Categories'); register_widget('td_adWidget'); register_widget('td_postWidget'); register_widget('td_tabbedWidget'); } add_action('widgets_init', 'theme_register_widgets');
And the code could be something like this:
function YOURTHEMENAME_widgets_init() { register_sidebar( array( 'name' => 'Sidebar', 'before_widget' => '<aside id="%1$s" class="widget %2$s">', 'after_widget' => '</aside><!-- .widget -->', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>' ) ); } add_action( 'widgets_init', 'YOURTHEMENAME_widgets_init' );
Notice that “YOURTHEMENAME” must be replaced with the name of your theme.
good luck!
OK.
You can add manually add the funcion to register sidebars. later, u’ll see the Widget Admin , at the right your sidebars. But u must notice, that u’ll be modifying the theme.
If it’s possible change the theme to other that contains the sidebar register function yet.There is a way explained in the documentation.
https://wp-events-plugin.com/documentation/event-attributes/But personally, I’m using a taxonomy manager that gives u the possibility to add some fields to events.
netforest, yes, it’s possible.. but u need to work in the single event page, just commenting the code where date is shown.
eg:
<!–
Date(s) – #j #M #Y #@_{ \u\n\t\i\l j M Y}
Time (24h Format) – #_24HSTARTTIME – #_24HENDTIME
Time (12h Format) – #_12HSTARTTIME – #_12HENDTIME
–>steff0,
use the “scope” option in your list events, like this
[events_list scope=”tomorrow” country=”US”]<p>#_EVENTLINK will take place at #_LOCATIONLINK on #_EVENTDATES at #_EVENTTIMES</p>[/events_list]more info at: https://wp-events-plugin.com/documentation/event-search-attributes/
Or make a post immediately published in the default calendar widget in the post editor.
utilibre,
probably your theme doesn’t have a registered sidebar. This is a kind of declaration in your main functions.php file’ s theme.
You must see if there is something like this:`function zresponsive_widgets_init() {
register_sidebar(
array(
‘name’ => ‘Sidebar’,
‘before_widget’ => ‘<aside id=”%1$s” class=”widget %2$s”>’,
‘after_widget’ => ‘</aside><!– .widget –>’,
‘before_title’ => ‘<h3 class=”widget-title”>’,
‘after_title’ => ‘</h3>’
)
);
register_sidebar(
array(
‘name’ => ‘Footer’,
‘before_widget’ => ‘<aside id=”%1$s” class=”widget %2$s”>’,
‘after_widget’ => ‘</aside><!– .widget –>’,
‘before_title’ => ‘<h3 class=”widget-title”>’,
‘after_title’ => ‘</h3>’
)
);
}`If not, post your functions.php code here.
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Calendar StyleHi artifaktCom,
Yes, there is a way: modifying with the file /includes/css/events_manager.cssgood luck!
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Weekly calendarIt’s just customized as I comment in my last post, there is how looks: https://www.zapatosrojos.net/weekly-calendar.png
But the trouble is that I can’t handle it as a calendar, because I not getting the weeks..just the full calendar.. This is my custom code of calendar-full.php
U’ll see that i’m not using the days name hader…so, I don’t know hoy to control a weekly view
<?php /* * This file contains the HTML generated for full calendars. You can copy this file to yourthemefolder/plugins/events/templates and modify it in an upgrade-safe manner. * * There are two variables made available to you: * * $calendar - contains an array of information regarding the calendar and is used to generate the content * $args - the arguments passed to EM_Calendar::output() * * Note that leaving the class names for the previous/next links will keep the AJAX navigation working. */ $cal_count = count($calendar['cells']); //to prevent an extra tr $col_count = $tot_count = 1; //this counts collumns in the $calendar_array['cells'] array $col_max = count($calendar['row_headers']); //each time this collumn number is reached, we create a new collumn, the number of cells should divide evenly by the number of row_headers ?> <div class="fullcalendar"> <div class="mleft"></div> <div class="cortina-left"><div class="prev"></div></div> <div class="cortina-right"><div class="next" ></div></div> <div class="ev_head"> <div class="ev_prev"><a href="<?php echo $calendar['links']['previous_url']; ?>"> < < </a></div> <div class="ev_month"><?php echo ucfirst(date_i18n('M Y', $calendar['month_start'])); ?></div> <div class="ev_next"><a href="<?php echo $calendar['links']['next_url']; ?>" >> ></a></div> <div class="fullmonth"><span id="right"> < SEMANA ANTERIOR</span> | <span id="left">SEMANA SIGUIENTE > </span> MES COMPLETO</div> </div> <div class="all_card"> <div id="top_card"><div class="card_open_top">Abrir</div></div> <div class="card_container"> <div id="card"> <div class="initCard"> <span class="cardTitle"> HOY ES EL DIA!</span><br /> <span class="cardText">NO DEJES TU SEMANA EN BLANCO<br /> <STRONG>A?ade tus eventos!!</STRONG></span> </div> <div class="card_down-l"> <div class="to_send">Enviar</div> <div class="to_print">Imprimir</div> <div class="open-close"> <div class="card_close">Cerrar</div> <div class="card_open">Abrir</div> </div> </div> <div id="container"> <div class="scroll-pane"> </div> </div> <div class="card_down-ll"> <div class="to_send">Enviar</div> <div class="to_print">Imprimir</div> <div class="open-close"> <div class="card_close">Cerrar</div> <div class="card_open">Abrir</div> </div> </div> </div> </div> </div> <div class="carousel" data-transition="slide"> <?php echo implode($calendar['row_headers']); ?> <?php foreach($calendar['cells'] as $date => $cell_data ){ $class = ( !empty($cell_data['events']) && count($cell_data['events']) > 0 ) ? 'eventful':'eventless'; if(!empty($cell_data['type'])){ $class .= "-".$cell_data['type']; } ?> <div class="<?php echo $class; ?>"> <div class="ev_content"> <div class="ev_overlay"></div> <?php if( !empty($cell_data['events']) && count($cell_data['events']) > 0 ): ?> <div class="ev_day"> <?php echo date('j',$cell_data['date']); ?> </div> <?php $cell_events = array(); if( get_option('dbem_display_calendar_events_limit') ){ $count = 0; foreach($cell_data['events'] as $cell_event){ $cell_events[] = $cell_event; $count++; if($count > get_option('dbem_display_calendar_events_limit')) break; } }else{ $cell_events = $cell_data['events']; } ?> <?php echo EM_Events::output($cell_events,array('format'=>get_option('dbem_full_calendar_event_format'))); ?> <?php if( count($cell_events) > get_option('dbem_display_calendar_events_limit',3) && get_option('dbem_display_calendar_events_limit_msg') != '' ): ?> <div class="ev_link"> <a href="<?php echo esc_url($cell_data['link']); ?>"> <?php echo get_option('dbem_display_calendar_events_limit_msg'); ?></a> </div> <?php endif; ?> <?php else:?> <div class="ev_day"> <?php echo date('j',$cell_data['date']); ?></div> <?php endif; ?> </div> <div class="ev_content_over"><div class="ev_link"> <a href="<?php echo esc_url($cell_data['link']); ?>"><?php echo get_option('dbem_display_calendar_events_limit_msg'); ?></a> </div> </div> </div> <?php $tot_count ++; } ?> </div> </div>
[No bumping. If it’s that urgent, consider hiring someone.]
Try directly in the admin page like the following screenshot:
https://www.zapatosrojos.net/2013-02-06.pngmust works!