Grec

Forum Replies Created

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • Grec
    Member

    Never mind … I tried again and it worked this time. Not sure what hung it up before.

    in reply to: Single Event Standard Information Pushed to Left #30050
    Grec
    Member

    I don’t know what Samantha’s looked like before but what she has now is the same look I have for single events.

    http://www.montclairmetaphysical.com/event/animal-healing-class/

    In my case I have two narrow columns on either side so my central area isn’t as wide as hers. Hence not using the right 1/3 really jams things up and makes the meta area longer.

    in reply to: Single Event Standard Information Pushed to Left #29946
    Grec
    Member

    Just an FYI… The above change to my theme’s style.css file didn’t work. Any ideas?

    in reply to: Widget Date Format #29941
    Grec
    Member

    Thanks Barry! Worked like a charm.

    in reply to: Single Event Standard Information Pushed to Left #29939
    Grec
    Member

    Berry: Thanks. I’m assuming the CSS element I need to change is the columns class. Testing this by adding the following to my theme’s style.css file.

    #tribe-events-event-meta .column {
    float:left;
    width:45%;
    padding:0 4% 0 0;
    text-align:left;
    margin:0;
    }

    Still waiting for changes to take effect due to caching issues.

    Also instead of adding it to the theme’s style.css file it would be nice if there was a separate css file (say one I could put in the event’s folder we need to create to override templates and functions). That way if we update our theme, the changes still remain intact. Has anyone done this? What are the recommended ways to do this?

    in reply to: Widget Date Format #29578
    Grec
    Member

    Figure my previous question out in this great. Just make a copy of /wp-content/plugins/events-calendar-pro/views/events-advanced-list-load-widget-display.php and place it into an ‘events’ folder in your active theme.

    Still need to get the month format issue correct though.

    in reply to: Widget Date Format #29577
    Grec
    Member

    Also any thoughts on creating an override file for this so I don’t have to redo the changes after each upgrade?

    in reply to: Control Data in iCal Feed #29576
    Grec
    Member

    Andy: Do you happen to know a way I can use use my theme’s properties so I don’t have to update the EVP code after each upgrade for the following items.

    Widget – Separate Date and Time

    Bullets in Advanced Widget

    I’ve seen some mentions of an override files but I need to get caught up on that.

    in reply to: Control Data in iCal Feed #29575
    Grec
    Member

    Looks like it’s doing what I wanted… Thanks Andy! For everyone else wanting to do the same thing, the following is the code I used. It’s a slight modification of Andy’s function and follow-up suggestions. Specifically, I needed to include “DESCRIPTION” right before the get_permalink function.

    function tribe_ical_modify_event( $item, $eventPost ) {
    $searchValue = “DESCRIPTION”;
    $fl_array = preg_grep(‘/^’ . “$searchValue” . ‘.*/’, $item);
    $key = array_values($fl_array);
    $keynum = key($fl_array);
    $mod = “DESCRIPTION:Please visit for more information: ” .get_permalink( $eventPost->ID );
    unset($item[$keynum]);
    $item[] = $mod;
    return $item;
    }

    in reply to: Control Data in iCal Feed #29573
    Grec
    Member

    So does you original function just limit the DESCRIPTION to 1000 characters? Just checking… Been a while since I coded.

    in reply to: Widget Date Format #29567
    Grec
    Member

    Sorry internal website… In the Events List Advanced Widget the date simply reads as “Dec 15, 2012” instead of with the month spelled out (e.g., December 15, 2012). As noted above I followed the directions at https://theeventscalendar.com/support/forums/topic/widget-separate-date-and-time/, where you suggested swapping:

    echo tribe_get_start_date( $post->ID, $start );

    with

    echo tribe_get_start_date( $post->ID, false, ‘M’ );
    echo tribe_get_start_date( $post->ID, false, ‘d’ );
    echo tribe_get_start_date( $post->ID, false, ‘Y’ );
    echo tribe_get_start_date( $post->ID, false, ‘g:ia’ );

    Since I didn’t want the “time” I just left out the last line. Of course the “M” format you suggested in the first line above displays the shortened month instead of the spelled out version (e.g., Dec instead of December). I am looking to have the spelled out version.

    Thanks for you assistance…

    in reply to: Control Data in iCal Feed #29557
    Grec
    Member

    Thanks for the reference… Sorry for being a n00b … but here do I add this? Also I’d like to include a description but I’d like it to just be a link to the event in the calendar instead. Any suggestions there?

    in reply to: Bullets in Advanced Widget #29555
    Grec
    Member

    Thanks for responding… Looks like it just started working. I guess the old style sheet was stuck in my cache or something. Again, thanks for your response!

Viewing 13 posts - 1 through 13 (of 13 total)