ironandsteel

Forum Replies Created

Viewing 10 posts - 16 through 25 (of 25 total)
  • Author
    Posts
  • in reply to: Images showing up Large #76041
    ironandsteel
    Participant

    I had the same problem- I fixed it in a style override:
    .tribe-events-list .tribe-events-event-image img {
    height: auto;
    margin: 0;
    padding: 0;
    width: auto;
    }

    The width WAS 100% which was blowing up images and making them look bad.

    ironandsteel
    Participant

    Barry- I tried making my own widget and got pretty far (it was discussed in this forum) but I never could figure out how to specify what template file to use.
    Regarding your 2nd idea- I don’t know where I would use this code.
    I did finally figure out my answer- all I needed to know was this: the title of the widget is drawn in plugins/the-events-calendar/lib/widget-list-class.php on line 113. I didn’t realize that the free version of your plugin played a role in the list widget. Is there something that explains the relationship of the free version and the pro version?

    ironandsteel
    Participant

    To clarify my last paragraph- in order to use the same widget in two different roles (a list of upcoming events & a “next event only” widget), I simply test for the value of the widget title, and if it is “Next Event”, then I customize the view to display to entire event details. This is not really related to the question on this thread- I just wanted to explain what I was doing in the code.

    ironandsteel
    Participant

    Kelly- what I want to do is extremely simple: I want to have control over what appears at the top of the list events widget- like be able to put whatever html there that I want. Specifically, I want to put a graphic there that is a link. I just have not been able to figure out what code draws the widget itself. I can put some text at the top of the file, and it gets repeated for every event. I just want to see how to print “hello world” at the top of the widget. In my override I have the line “I want html this to only appear once, at the top” at the top of the file, yet it appears with every event.
    Here is a pastebin of my list-widget.php override.
    http://pastebin.com/Qn45pWWH
    It is very brain dead what I’m doing, but it works. If the title for the widget is set to “Next Event”, then I display the_content(). I use this on the home page of the site to display the next upcoming event.
    Thanks for helping!

    ironandsteel
    Participant

    Great response- thanks!

    ironandsteel
    Participant

    Kelly- i want to bump this question. There MUST be a simple way to display the next upcoming event and all its details in a page. I can’t be the first person to want to do this. When you go to the home page, we want to see what the next thing coming up is.
    Isn’t there a short code that does this?
    Thanks!

    ironandsteel
    Participant

    I found out where to change the code so tickets that you add from inside the event default to visible. I edited:
    /wp-content/plugins/wootickets/classes/class-wootickets.php

    line 284 is:
    update_post_meta( $ticket->ID, ‘_visibility’, ‘hidden’ );

    You change the ‘hidden’ to ‘visible’. Other possible values are ‘search’ or ‘catalog’.

    I hope this helps. BTW, I don’t understand why these are hidden by default? This would be handy to be settable in settings.

    ironandsteel
    Participant

    Actually, the list widget will not do it. I need to display all of the event info- just as though you went to the single event page. Maybe I’ll look at the list widget code and see if I can figure out what’s going on.
    Thanks.

    ironandsteel
    Participant

    I will investigate- but isn’t there a shortcode I can insert into the page that will show the latest event? If I can make the widget appear along with some hand-entered html for the home page, that will work. I’m kinda new to wordpress, but a very experienced php/javascript etc developer. Thanks!

    ironandsteel
    Participant

    Kelly- thanks for that answer- I hadn’t noticed that catalog setting. However, in order to make this as easy as possible for my client, I want to make this default to “Catalog/search” rather than hidden. I am going to grep “hidden” and try to find where this is set in the ticket plugin, but maybe you can help me locate it. Thanks!

Viewing 10 posts - 16 through 25 (of 25 total)