Butch Roy

Forum Replies Created

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • in reply to: Registering a custom view #944596
    Butch Roy
    Participant

    OK I think I figured this one out. I followed your advice and forgot about all the old Agenda view plugin stuff, and basically wrapped all the view registration code (and other stuff) into a class and when from there. And lo and behold, my view shows up on the backend. Thanks!

    in reply to: Registering a custom view #944582
    Butch Roy
    Participant

    Yup, I was aware that the tutorial was expired, but the Agenda option shows up in the backend once installed, so I figured that would be a good place to start.

    What I’m trying to do is build a customized week view. I initially started with the Pro week view, but it got to the point where I was undoing so much of it that making my own made more sense. (Though I will be using some of the existing Pro week view code)

    So all I’m trying to do right now is to have my view show up as an option on the backend.

    in reply to: Agenda View tutorial? #939207
    Butch Roy
    Participant

    Whoops, I just saw this question has already been answered. It would be awesome if you guys updated that tutorial, though 🙂

    in reply to: Adding AJAX to Week view #926285
    Butch Roy
    Participant

    Cool, that helps. Another question: can I create a custom class file in that folder without it being erased during an upgrade?

    Also, where is the Ajax code for the Previous Week/Next Week actions in the Week view?

    in reply to: JS file handles #923005
    Butch Roy
    Participant

    That will do, thanks!

    Although, a full list of handles and their associated files that lives in the Knowledge Base would be extremely helpful, I think…

    in reply to: tribe_events_week_is_current_today() not returning true #909336
    Butch Roy
    Participant

    Thanks so much for looking into this; glad I could help! No frustration on my end; like I said, I just ended up writing my own function 🙂

    in reply to: tribe_events_week_is_current_today() not returning true #907621
    Butch Roy
    Participant

    In the meantime, I wrote my own custom function that did the same thing:
    http://pastebin.com/tfJnKbRG
    So that’s why the classes are showing up on my site now. Before I plugged my own function in, they weren’t showing up, so tribe_events_week_is_current_today() was still returning false.

    in reply to: Displaying number of events in a day #906307
    Butch Roy
    Participant

    An excellent start, thank you. So if I set up my function like this:
    http://pastebin.com/827mg9aa
    How can I pass it the current day in a while loop (specifically for a Week view)?

    in reply to: tribe_events_week_is_current_today() not returning true #905542
    Butch Roy
    Participant

    The var_dump still returns a FALSE boolean wherever I put it. I tried inside the if statement, outside of it, outside of the while loop, etc.

    My timezone is set to Central, which is correct.

    I deactivated all of my other plugins, and still get the same result.

    in reply to: Modifying meta boxes #905527
    Butch Roy
    Participant

    OK. Using CSS to hide the stuff I don’t want seems to be the solution here. Thank you.

    in reply to: Custom template tags #905340
    Butch Roy
    Participant

    OK if I were to copy the Week template tags file (specifically public/template-tags/week.php) where would I put it in the “tribe-events” folder in my theme?

    Can I declare new template tag functions in my theme’s “functions.php” file?

    in reply to: Modifying meta boxes #905161
    Butch Roy
    Participant

    Yes, the fields on the backend:

    View post on imgur.com

    in reply to: tribe_events_week_is_current_today() not returning true #905159
    Butch Roy
    Participant

    Nope, I am modifying files placed into my theme, as directed in the Themers Guide.

    Yes I have tried removing the “=== true”, I just put it back in for readability.

    Here’s a link to the calendar (its a bit of a mess, sorry):
    http://hugestage.bsmallbeck.com/events/

    So what you are saying is that tribe_events_week_is_current_today() doesn’t just return a boolean?

    in reply to: Modifying meta boxes #904276
    Butch Roy
    Participant

    I meant on the back end. How can I remove the stuff from the “Events” meta box when I am adding a new event?

Viewing 14 posts - 1 through 14 (of 14 total)