Move event below time in calendar view

Home Forums Calendar Products Events Calendar PRO Move event below time in calendar view

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #965384
    cesua
    Participant

    Hi,

    Is there a way to move the Event name below the time of the event in Month view?

    Better yet, is there a way to add the price of the event next to the time of the event in month view?

    Thanks.

    #965514
    Barry
    Member

    Hi @cesua,

    Please do check out our Themer’s Guide in the first instance: this has lots of good info on safe ways to customize our views and is a great starting point.

    Is there a way to move the Event name below the time of the event in Month view?

    Comprehensive instructions on customizing the month view tooltips can actually be found within the views/month/single-event.php template itself – please read that initially and from there you will be interested in altering the views/month/tooltip.php template.

    Better yet, is there a way to add the price of the event next to the time of the event in month view?

    So the same basic steps would apply here – you might also make use of our tribe_get_cost() template tag 🙂

    #965748
    cesua
    Participant

    I was able to add the cost using the tribe_get_cost() tag, so that’s a little progress. Is there a way to add text so that it doesn’t simply show “7:00pm 10eventname”, but instead show something like “7:00pm $10 – eventname”?

    And again, is there a way to make sure the event name is listed under the time in the month view? (Couldn’t find that in the Theme Guide.

    Thanks!

    #965863
    Barry
    Member

    Hi there 🙂

    I was able to add the cost using the tribe_get_cost() tag, so that’s a little progress. Is there a way to add text so that it doesn’t simply show “7:00pm 10eventname”, but instead show something like “7:00pm $10 – eventname”?

    Just about anything is possible – what if you simply inject the dollar symbol before the cost and add a hyphen between that and the event name placeholder in your template override?

    And again, is there a way to make sure the event name is listed under the time in the month view? (Couldn’t find that in the Theme Guide.

    Could you share (via Pastebin or Gist, rather than posting directly in the forum) your current template override code for month/tooltip.php? Since you’ve already made some customizations, by the sounds of things, I don’t want to give you misleading advice.

    Basically though – taking the default tooltip.php template as an example – you would move:

    <h4 class="entry-title summary">[[=title]]</h4>

    So that it is underneath the date info generated by this block:

    <div class="duration">
    	<abbr class="tribe-events-abbr updated published dtstart">[[=startTime]] </abbr>
    	[[ if(endTime.length) { ]]
    	-<abbr class="tribe-events-abbr dtend"> [[=endTime]]</abbr>
    	[[ } ]]
    </div>

    You might also need to re order what does and doesn’t lie within the tribe-events-event-body div, but that should give you the general idea 🙂

    #968915
    Barry
    Member

    Hi!

    It’s been a while so I’m going to go ahead and close this topic.

    • Need help with anything else? Go right ahead and post a new topic, one of the team will be only too happy to help
    • Still need help with this issue and need to re-open it? Again, please simply create a new topic and link to this one to provide the team with some context
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Move event below time in calendar view’ is closed to new replies.