Graeme

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 20 total)
  • Author
    Posts
  • in reply to: Change "Recurring Event " label text #1053224
    Graeme
    Participant

    Thanks for the speedy response George.

    Your help was spot on, was able to make the correct change.

    For anyone wishing to do this, the key was the string being passed wasn’t just simply “Recurring Event”, but rather “Recurring %s”.

    So change this section on the snippet linked above.

    $custom_text = array(
    ‘Recurring %s’ => ‘Multi Day Event’,
    ‘Related %s’ => ‘Similar %s’,
    );

    in reply to: URL additional field displays HTML instead of link #1006847
    Graeme
    Participant

    Hi guys – I’m having what I think is a similar problem – one that is quite urgent.

    Check this out: http://midlothiansciencefestival.com/event/unbelievable-the-science-of-the-paranormal-at-dalkeith-library/

    Look at the Other fields (I have hidden the “other” label but they are at the right of the details box. You can see the URL field (which is an Additional Field of type URL with plain text of the url entered in the event as value).

    It looks like the value of the field is being being returned incorrectly (some extra double quotes). I can see that additional-fields.php controls the display of the additional fields, but it simply returns the values as stored int he db. Looks like a storing issue?

    Any other info you need, please let me know.

    Thanks
    Graeme.

    in reply to: Mini Cal – Month of Next Event – the_widget() #684474
    Graeme
    Participant

    Thanks Brook. I’ll give that a try tomorrow, looks encouraging though.

    in reply to: Mini Cal – Month of Next Event – the_widget() #681995
    Graeme
    Participant

    Hi ocama – I think that sounds like a different issue, perhaps you should open a forum discussion for that if not already? Looks to be an ajax issue to me (sure I read another thread here today with a very similar issue)

    Graeme
    Participant

    functions.php is generally in the root of your theme, not the plugin e.g.
    wp-content/themes/[theme name]/functions.php

    Just place the code Barry link above in the functions.php file anywhere between the opening and closing php tags.


    If you are going to start editing your theme’s files, I suggest you use a child them – which is super simple to create, see this: http://codex.wordpress.org/Child_Themes. You can then create a new functions.php in the child theme folder and edit it. This will ensure any changes are not overwritten when you update your theme.

    Note: a child theme functions.php is IN ADDITION to the parent theme functions.php, so no need to copy the contents of the parent functions.php – just create a new one.

    Graeme
    Participant

    Spot on Barry, works a treat – does exact what I need.

    Thanks a lot for your help.

    in reply to: Setting Calendar to one month #59417
    Graeme
    Participant

    Stick it in the theme’s functions.php, but you need to include all the code Barry placed on pastbin, not just that function call.

    Good luck

    in reply to: Feeling a Little Dense But… #59393
    Graeme
    Participant

    functions.php is generally in the root of your theme, not the plugin e.g.

    wp-content/themes/[theme name]/functions.php

    If you are going to start editing your theme’s files, I suggest you use a child them – which is super simple to create, see this: http://codex.wordpress.org/Child_Themes. You can then create a new functions.php in the child theme folder and edit it. This will ensure any changes are not overwritten when you update your theme.

    Note: a child theme functions.php is IN ADDITION to the parent theme functions.php, so no need to copy the contents of the parent functions.php – just create a new one.

    in reply to: Setting Calendar to one month #59392
    Graeme
    Participant

    Simon – a solution for you has been suggested here: https://theeventscalendar.com/support/forums/topic/mini-calendar-display-month-of-next-upcoming-event/

    It works fine for me mate, so good luck.

    To pass a specific month (rather than just next upcoming event month), just edit the last line call the function with a date param, so:

    FROM:

    new Tribe_Advance_Minical();

    TO:

    new Tribe_Advance_Minical(‘2013-10’);

    Good luck.

    Graeme
    Participant

    P.P.S. I also got it working to a target month via passing $target_date through to the Tribe_Advance_Minical() function – it worked perfectly. Thought you might like to know as this is a good idea too.

    Graeme
    Participant

    P.S. I should mention that I’m using a child theme, and so have placed this in the child themes functions.php – it shouldn’t make a difference, but just thought I’d mention it.

    Graeme
    Participant

    Thanks for this.

    It works, but not 100%. The mini cal is defaulting to the month that contains the next upcoming event, which is great. However, the list of events that appears below the calendar is not updating – it appears blank until I click the day of the month that contains an event, then it appears.

    When the calendar works normally, even when a user does not click the day of the month the list below still shows the next (5 – as that is what I have selected in the widget settings) events starting from the beginning of the month.

    But I’m delighted with what you’ve done, thanks. If you can sort it so the month start up shows the upcoming events in the list that would be great, but not a huge worry if you can’t.

    You should consider rolling this out as an option on the widget (or settings page to also impact the main month calendar too) as I’m sure others would like to have this functionality.

    Top job, thanks.

    Graeme
    Participant

    Thanks Barry, don’t worry about the delay, I appreciate you guys are busy just now.

    in reply to: Setting Calendar to one month #59334
    Graeme
    Participant

    Thanks Rob.

    in reply to: Setting Calendar to one month #59241
    Graeme
    Participant

    Hi Simom / Rob – I have a similar request, relating specifically to the min calendar (you can see my post here: https://theeventscalendar.com/support/forums/topic/mini-calendar-display-month-of-next-upcoming-event/)

    I’m happy with hacking the plugin files (I can restore what I need after an upgrade), but could just use a gentle nudge in the right direction. Any suggestions Rob?

    Thanks,
    Graeme.

Viewing 15 posts - 1 through 15 (of 20 total)