modify the event-list-widget

Home Forums Calendar Products Events Calendar PRO modify the event-list-widget

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #761457
    knausevino
    Participant

    Hello,
    I have a lot of recurring Events and I want the Events-List_Widget only to show the data I can fill in at the edit/event section, but not the Line where it says:

    | Recurring Event | (See all)

    So instead of, for Example:
    “Event 001”
    “27.Oktober @ 12:00 – 14:00”
    “|Recurring Event (See all)”
    “My personal Data from the Edit/Event-Section”
    i want it to be like:
    “Event 001”
    “27.Oktober @ 12:00 – 14:00”
    “My personal Data from the Edit/Event-Section”
    I guess it’s easy by adding a function to the functions.php – but I cant write that. Can you help? Thank you.

    #762050
    Brook
    Participant

    Howdy knausevino,

    That should be very easy to accomplish. Paste the following at the top of your theme’s functions.php file, underneath the first line “<?php”. If your theme does not have a functions.php file, go to your theme folder, create a new text document file called “functions.php”, and paste this text in the first line of the file “<?php”. On line 2 or 3, paste this:
    TribeEventsPro::instance()->disable_recurring_info_tooltip();
    Does that make sense? Will that work for you? Please let me know. Cheers!

    – Brook

    #762093
    Brook
    Participant

    Following up on my last post, I forgot that will disable the recurring info sitewide, even on the event details pages. If you simply want to hide it from the widget alone, some CSS will be more appropriate. Add this to one of your (child) theme’s CSS files:

    . tribe-events-adv-list-widget .recurringinfo{ display:none; }

    – Brook

    #762102
    knausevino
    Participant

    Thanks for the CSS- thats good. But, the first two lines you gave me, they have the effect, that both, the line:

    | recurring | (See all)

    !!!and!!!

    my personal data
    are hidden. But I want only the first line to disapear. Thank you.

    #762251
    Brook
    Participant

    Ahh. That’s odd. At any rate, if you use the code from my second comment I think it is both more applicable and should restore your data. Just delete the code from my first one. Make sense?

    – Brook

    #763280
    knausevino
    Participant

    Well, the code in the css-file does the same as the other one. But only the list-widget is ment in the second one and not the event-detail-page (as you expected- of course) But still it deletes to much. If I understand it right, the recurringinfo/tooltip ist “puzzeld together” in the general.php in the-events-calender/public/templatetags with both informations. So probably I would have to change it there (well actually in a copy in (theme/tribe-events/public/templatetags/gerneral.php (right?)), but as I said, I don’t know how to write css… I hardly can guess what it’s saying when I read it. It is like – let’s say – french to me. I get some words but wouldn’t be able to write or speak a complete sentence. However, thank you for trying solving my problem, maybe well find a way. Thanks,
    Kevin

    #794129
    Brook
    Participant

    Howdy again Kevin,

    I was just running through old topics closing them out. Before I closed this I wanted to confirm that you were able to get it going. When we last talked it sounded like you were still working on it. How did ti go? If you still need assistance perhaps you can post a link to the site? If you prefer to make it a private reply no one else will see the link. Please let me know. Thanks!

    – Brook

    #809157
    Brook
    Participant

    Since this topic has gone for a spell without a response I am going to archive it. If you do need anything else please feel free to open a new topic. Cheers!

    – Brook

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘modify the event-list-widget’ is closed to new replies.