Change order of items in tribe bar.

Home Forums Calendar Products Events Calendar PRO Change order of items in tribe bar.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1084190
    themightyasok
    Participant

    Hi,
    id like to change the order of the items in the tribe search bar.

    Id like search, then location, then date…not the current date, search, location.

    I might even want to change that again to a different order at some point. Im sure its possible, but it dynamically builds these in the tribe bar as far as i can see…

    Ive taken a look at the editing tribe bar primer and see nothing at all to do with this issue. Can you please point me in the right direction?

    Thanks

    #1084740
    Geoff B.
    Member

    Good morning Stuart and welcome back!

    Thank you for reaching out to us.
    I would love to help you with this topic.

    You might want to read our Themer’s guide if you haven’t already.

    To make a long story short, you will need to make your own version of every view where the bar shows (week, day, month, photo, etc..)

    Let me know if that helps.

    Have a great day!

    Geoff B.

     

    #1086176
    themightyasok
    Participant

    Hi,
    it doesn’t help.

    I know your themers guide really well – ive been using the events cal for years and have modified many things. However, the fields i am talking about are built in the tribe bar file – so how would me making a new view in each file help? Should i not be somehow making this change in the tribe bar file?

    To state again…i want the fields in the tribe bar to change from:

    Date > Search > Location…

    to

    Search, Date, Location

    I am specifically talking about his code:

    
    <?php foreach ( $filters as $filter ) : ?>
    <div class="<?php echo esc_attr( $filter['name'] ) ?>-filter">
    <label class="label-<?php echo esc_attr( $filter['name'] ) ?>" for="<?php echo esc_attr( $filter['name'] ) ?>"><?php echo $filter['caption'] ?></label>
    <?php echo $filter['html'] ?>
    </div>
    <?php endforeach; ?>

    This loops around the different filters then outputs them in the tribe bar. I want to change the order of that.

    Thanks

    Stu

    #1086403
    Geoff B.
    Member

    Good afternoon Stuart,

    I am sorry my last reply was not useful to you.
    You are 100% right. I apologize for going to fast on this one. My bad.

    Let me try to be more helpful  and address this properly this time around.

    There are a couple of ways to accomplish what you are looking to do.

    My personal preference would be to unset the existing filters first and the reset them in the desired sequence.

    I believe the following knowledbase article will guide you properly through this: https://theeventscalendar.com/knowledgebase/understanding-the-tribe-events-bar/

    Let me know if that helps.

    Have a great day!

    Geoff B.

    #1092927
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Change order of items in tribe bar.’ is closed to new replies.