Home › Forums › Calendar Products › Events Calendar PRO › Huge problem, need help right away.
- This topic has 26 replies, 7 voices, and was last updated 8 years, 10 months ago by Support Droid.
-
AuthorPosts
-
March 16, 2012 at 5:29 pm #16877HamishParticipant
Looks like the HTML was stripped out. Here it is again (no angle brackets):
div id=”container”
div id=”content” class=”tribe-events-event widecolumn”March 19, 2012 at 9:40 am #16910JonahParticipantHey Hamish,
Can you paste a link to your website so we can see what the problem looks like?
March 20, 2012 at 11:07 pm #17008HamishParticipantHi Jonah,
Here is a link to the “calendar” view – which looks as it always did: http://bit.ly/GFki4A
And here is a link to an event listed on the calendar:
http://bit.ly/GHbf6SPreviously, the sidebar widgets appeared beside the event listing whereas now they are pushed underneath it. If I alter the template that is used for the TEC (e.g. the default EC) then the calendar gets compressed which throws off the formatting and strangely duplicates an event listing. Any help is appreciated.
March 21, 2012 at 9:05 am #17030JonahParticipantHi Hamish, not quite sure what changed but you’re going to need to make some template changes. For some reason on single events, the content is wrapped in a ‘container’ div when it should just be wrapped in the ‘content’ with a ‘threefourths’ and ‘clearfix’ class… You should be able to fix it by applying the following rules to the ‘container’ div on single events:
.events-single #container {
float: left;
margin: 0;
width: 675px;
}Try that and let me know how it works.
March 21, 2012 at 2:43 pm #17046HamishParticipantI tried pasting that code into the event.css file in my theme folder and it did not work. I am not sure where am I supposed to paste the above mentioned code, can you please advise.
March 21, 2012 at 4:10 pm #17051HamishParticipantHi Johah,
I thought about your comment some more and went looking into the the template files. I found in the ecp-single-template.php file the code that is putting the container div. (http://pastebin.com/ZbhmMDTX)
I modified the ecp-single-template.php code by removing the container div tag and changing class from “tribe-events-event widecolumn” to “threeFourths clearfix” as you can see here: http://pastebin.com/iuLwmaEt
It seems to have worked, however I am wondering if this will create an unstable code/plugin. Do I have to copy this to my theme’s event folder?
Thanks
March 22, 2012 at 9:44 am #17070JonahParticipantHey Hamish, whenever making changes to the events.css file or the template files you always want to override them and not modify the core plugin files. You do this by simply placing copies of the files in an ‘events’ folder in your theme.
You should be able to use the above CSS in your events.css file or your theme’s style.css
Let me know how it goes.
April 18, 2012 at 10:41 am #18048FergusMemberI am having similar problems: Googlebot is trying to index every date in every category etc from 2005 to infinity (2019 is what it’s looking for now). It’s killing my bandwidth.
I’m using The Events Calendar and Pro 2.0.5 on WP 3.3.1 and have applied the table.php fix with no effect. I’m also using a calendar widget.
http://westofirelandschool.com/events/April 19, 2012 at 4:39 pm #18074RobMemberHey Fergus. You shouldn’t need to be using the patch after the 2.0.4 release…is there a reason you’re running both alongside one another?
April 19, 2012 at 5:32 pm #18083FergusMemberI tried using the patch because, as I said, Googlebot is indexing every date between 2005 and infinity rather than just dates with events (currently working its way through 2017).
April 23, 2012 at 7:40 am #18135RobMemberThanks Fergus. You should remove the patch and go with just the code; note that as Joey mentioned above…the (re)crawling takes time, so the results of what you added based on Joey’s code (or as it may be, the patch in the official codebase if you’re running 2.0.5) would not be taking effect already.
July 7, 2015 at 6:19 am #976631Support DroidKeymasterThis 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 ‘Huge problem, need help right away.’ is closed to new replies.