• Resolved rjafrate

    (@rjafrate)


    The ‘out of the box’ calendar display format was different for me than it is on your demo page, with regard to the nav functions. I have made some changes to the rsvpmaker_display.php file so that the same functions and current calendar month are displayed on the same line. I intend to replace the nav text with buttons and modify refine the CSS styling of the calendar itself. I am using a custom CSS file as explained in the documentation and all is well.

    I read about using the rsvpmaker_custom.php file to override functions in rsvpmaker_plugable.php but does this also apply to the changes I have made in the rsvpmaker_display.php file? What is the proper way of making these modifications, so that they survive any updates?

    I appreciate any advice you can pass along.
    Rick

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter rjafrate

    (@rjafrate)

    [edit]
    “so that the same functions” = “so that the navigation functions”
    [/edit]

    Plugin Author davidfcarr

    (@davidfcarr)

    If you’re sophisticated enough to modify the source file, I would suggest a better approach would to customizing with less risk of your customizations breaking upon upgrade would be to create your own plugin (or use the rsvpmaker_custom.php approach) to implement your own shortcode to register the calendar the way you want.

    So instead of using the pluggable functions approach, adopt whatever useful elements you find in the existing shortcode functions and implement your own with your own function name and shortcode tag name.

    You might also look at the list of functions for developers I updated recently. For example, you can call get_future_events() to fetch an array of events and use it to build your own custom display of those events.

    If you do something cool, I’d love to see it.

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

The topic ‘Calendar Display Format’ is closed to new replies.