Community events edit the delete button in "my events"

Home Forums Calendar Products Events Calendar PRO Community events edit the delete button in "my events"

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20427
    Jesse
    Member

    For the edit button you have:
    echo $this->getEditButton( $e, ‘Editar’, ‘ |’, ‘ ‘ );

    But for the delete button there seems no way to alter the markup or labeling for the button…
    echo $this->getDeleteButton( $e );

    How can I change the text/markup for the delete button?

    thanks!

    #20464
    Jonah
    Participant

    Hi Jesse,

    It looks like we don’t offer much of an option to change the label or markup for this now but one thing you could try is editing my-events.php (place a copy in an ‘events/community’ folder in your theme) and replace the:

    echo $this->getDeleteButton( $e );

    …with the actual getDeleteButton() function code. I don’t know how well that will actually work but give it a try. You could also do it via jQuery.

    I’ll create a ticket to allow more flexibility over this in the future.

    Cheers,
    Jonah

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Community events edit the delete button in "my events"’ is closed to new replies.