Forum Replies Created
-
AuthorPosts
-
Lee
MemberJust about done, with a bit more fixing to do on making it responsive … but pretty much done.
We’re utilising the custom widget on the homepage, the full calendar view (link from the headers), and a custom category list on the “Events” page.
Quite a bit of work involved, especially since I don’t know PHP, but I got there in the end. Hope you like!
http://bikeeventsdev.madebrave.com/January 15, 2013 at 7:57 am in reply to: Colors not appearing – The Events Calendar Category Colors #30856Lee
MemberDo you have different event types?
Looking at your source code, it is indded a lot different from mine, where mine is :
id=”event_208-17″ class=”post-208 tribe_events type-tribe_events status-publish hentry tribe-events-event tribe-events-real-event cat_charity”yours is just :
id=”event_208-17″So, weird.
Lee
MemberThe “Share this” widget works well with EC PRO …
http://wordpress.org/extend/plugins/share-this/January 15, 2013 at 3:21 am in reply to: eventDisplay = Don't show past events? + add the date dropdowns? #30832Lee
MemberThanks Barry.
I couldn’t get that to work at all. I did a work-around where I just added a custom Field to each event which defines the event category, then pull this into the template using the tribe_custom_field() tag, Not the best … but works.January 8, 2013 at 1:09 am in reply to: eventDisplay = Don't show past events? + add the date dropdowns? #30412Lee
MemberYup, just need the css class, it doesn’t really matter if it’s div’s or LI’s as I can just change, just need to get an individual class for each category (works on the homepage using the Advanced Widget), but, Im not actually using the list view on these pages, as I am already using the calendar from the “View Events” (slide down overlay) link in the header, and I can’t have 2 calls to the events calendar in the same page.
So, im using the tribe_get_events() function to pull out the events on this page.January 7, 2013 at 9:49 am in reply to: eventDisplay = Don't show past events? + add the date dropdowns? #30381Lee
MemberI thought it’d be really simple and I was just missing osmething really obvious. I’ll dig about some more. cheers
January 7, 2013 at 9:46 am in reply to: eventDisplay = Don't show past events? + add the date dropdowns? #30378Lee
MemberHere’s my site (Work in Progress)
http://bikeeventsdev.madebrave.com/On my Homepage Upcoming Events List, I have the wee coloured boxes which represent a category, this is pretty straight forward because the class on the LI’s are named for the container, ie li class=”cat_sportive”.
I thought this would be easy to ull through to this page : http://bikeeventsdev.madebrave.com/events-listing-page/, which lists all the events.Lee
MemberHey Jonah.
Can close or delete this, worked out what the problem was.
In moving the file single.php from the EC\Views folder to my theme folder, I accidentally / stupidly overwrote the main theme file with the Events Calendar one. DOH!
CheersLee
Memberstyle.css
.events_calendar_widget h3 {
display: none;
}
That will remove the title and the space.
==============
The bullet seems to be working now, except for the end time going on the next line.
This is because you have a br in the code
21 stycznia 2013 20:00 –11:00 pm
Im not using that particular widget, so im not sure what the name of the file is, but if you find it and take out that br it’ll sort it.
==============
To fix the AM / PM thing, In the same template as the br I mentioned above you’ll find 2 date strings
it’ll look something like this
tribe_get_start_date(null, false, ‘h s’);
try adding a capital A to the end of those dates; so it’ll be something like this
tribe_get_start_date(null, false, ‘h s A’);
===============
It’s something like that, Im not the best at PHP, but give it a go if you can find the right templateJanuary 6, 2013 at 3:28 pm in reply to: eventDisplay = Don't show past events? + add the date dropdowns? #30346Lee
Memberanother quick one.
Im using the aforementioned script, is there a way to pass in the cateogry name in some way, I can get it using php tribe_meta_event_cats();
but that brings in a link as well, I need to just get the name so that I can assign it as a class and style using a colour. Is that possible.I’ll hopefully get this online soon so you can have a better idea of what Im talking about, deadline is 8 hours away, so a bit flushed at the moment.
Lee
Memberahh ok, I see now.
Do you know CSS at all?Looking at the css, the top and left padding have been set to be 0px, which is why the “broken” title is sitting tight at the top of the page :
events.css line 184
.events-archive .hentry {
margin: 0;
padding: 0 0 15px !important;
}
Im not sure if that’s there for a reason in relation to another page, but you could just set that to
padding: 15px;
and it will sort it. Im on a pretty tight deadline at the moment so don’t have time to look into it any more closely. But if you implement the css changes I’ve supplied, it should resolve all your problems.Lee
MemberWhen I say specific to your theme, what you have to do is specify that a right, top or left nav, a footer, a header etc doesn’t get printed, all you want is the main container div, so in your css you would define that Header, footer, left nav … whatever they may be don’t get printer and since everyone’s theme’s will have varying elements like this with varying names, It’d be night on impossible to achieve a one fix suits all solution (unless Im missing something).
Lee
MemberA print button wouldn’t work with the plugin.
To define a print style it would need to be manually done to suit your specific theme.
Print styles are pretty easy to do though, it’s just a case of defining what to show and what not to show for print in the css.
If you send me a link to your site I can give you a hand with it … it’s pretty straight forward.Lee
MemberSimilar to this thread, if it makes sense.
Shout if it doesn’t make sense, I made a bit of a goof when responding 🙂Lee
Memberand a closing a tag at the end … Forums stripping out the html … DOH
-
AuthorPosts
