Home › Forums › Calendar Products › Events Calendar PRO › Customising List View php
- This topic has 4 replies, 3 voices, and was last updated 10 years, 1 month ago by
Support Droid.
-
AuthorPosts
-
February 15, 2016 at 8:20 am #1073291
Greg
ParticipantHello,
We need to slightly customise the list view appearance in events calendar Pro, as currently it occupies a lot of vertical space.
I have tried removing various hooks in the files loop.php, list.php and single-event.php – some successfully – but others I am having trouble with.
I’ve attached a screenshot of what we have now, and what we want to achieve, I hope you can help please?
http://www.screencast.com/t/N7lBsQEW1t
1. How to remove the venue name, but retain the city and country? We don’t want to display UNNAMED VENUE. just the city and country of the event as inputted by admin.
2. Replace Google Map link with the “Find Out More >” link
3. Remove excerpt text
4. Remove FREE banner/button (don’t even know why this is showing, all events are free?)
5. Do not display featured image in list view
Thanks and best wishes,
Greg
HowFebruary 15, 2016 at 12:13 pm #1073406George
ParticipantHey Greg,
We unfortunately can not help with customizations. Please see this article for more information → https://theeventscalendar.com/knowledgebase/what-support-is-provided-for-license-holders/
Most of your customizations are achievable with a bit of custom CSS. To write custom CSS on your site, definitely check out a [free!] tool like Firebug if you use FireFox, or the Developer Tools for either Safari or Chrome. They have “Inspector” tools that let you zoom right over the elements you want to remove/hide, and the you can simply add CSS to hide those things in the bottom of your theme’s style.css file.
I’m sorry about these limitations but wish you the best of luck with your customizations. If you are interested in hiring someone to help you implement these customizations, we maintain a list of great developers available for hire here → http://m.tri.be/18k1 (we have no affiliation with any of these folks–they’re simple some well-respected names in the community that we’ve compiled to share in situations like this one).
Thank you,
GeorgeFebruary 16, 2016 at 4:39 am #1073565Greg
ParticipantHi George,
Thanks for your message. I have actually be able to acheive most of this via display:none; CSS – not ideal as I’d rather not load those assets in the first place, but hey.
Regarding point 4 – I don’t think this is really a styling/ customisation question, acutally, it was more a support thing. All our events are Free. I’m just wondering why one is showing up with a “FREE” banner, while the others arent? Is some sort of price shown (free or otherwise) by default soon as tickets are made available for an event?
Regarding point 1 – This is kinda related to the “Unnamed Venue” issue that has been discussed many times on your forums. In fact, your colleague Casey seems to have resolved this simple request for another customer without them having to pay a minimum of $50, here:
I wonder if you could show me the same help, please. As you can see, the answer there is hidden.
(Trying to hide this link is proving hard, as the CSS line related to it is quite obscure)
<div class=”tribe-events-venue-details”>
<span class=”author fn org”>Thanks a lot
Greg
February 17, 2016 at 7:58 am #1074495George
ParticipantHey Greg,
You can hide the “Venue Name” items from your page by adding CSS like the following to the bottom of your theme’s style.css file:
.type-tribe_events .tribe-venue {
display: none !important;
}
To hide the “FREE” text, you can add more CSS like this:
.tribe-events-cost {
display: none !important;
}When it comes to this “FREE” text, that should only be showing if you have entered “0” (without quotes) into the “Cost” field for your events while creating them. If you have not done this, I am not quite sure why the “FREE” text would appear–I do not see any bug reports of this and I cannot recreate that behavior on my own site, but in any case, the CSS above should help keep that text hidden.
Thanks!
GeorgeMarch 3, 2016 at 8:35 am #1084841Support 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 ‘Customising List View php’ is closed to new replies.
