Home › Forums › Calendar Products › Events Calendar PRO › Change order of items in tribe bar.
- This topic has 4 replies, 3 voices, and was last updated 10 years, 1 month ago by
Support Droid.
-
AuthorPosts
-
March 2, 2016 at 12:38 am #1084190
themightyasok
ParticipantHi,
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
March 3, 2016 at 2:24 am #1084740Geoff B.
MemberGood 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.
March 8, 2016 at 1:26 am #1086176themightyasok
ParticipantHi,
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
March 8, 2016 at 1:32 pm #1086403Geoff B.
MemberGood 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.
March 23, 2016 at 9:35 am #1092927Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘Change order of items in tribe bar.’ is closed to new replies.
