Tagged: ismael
-
AuthorPosts
-
May 2, 2017 at 8:12 pm #786659
Hi I installed Events Calendar and the calendar comes up on a full page. I am trying to get a sidebar to appear on the page with the Calendar in the middle and then a sidebar for widgets. Can you tell me how to accomplish this?
May 2, 2017 at 9:50 pm #786744Hey Joealto,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look.
Best regards,
VictoriaMay 2, 2017 at 10:08 pm #786756Hi Victoria,
Here is the info, and if you click on the events tab you will get to the calendar and see where I would like a sidebar.
http://northshore.motomotodesigns.com/wp-admin
password below
Thanks
JoeMay 3, 2017 at 1:46 pm #787130Hi Joe,
Please add following code to Functions.php file of your child theme in Appearance > Editor
add_action('after_setup_theme', function() { if(is_child_theme()) remove_action('tribe_events_template', 'avia_events_tempalte_paths', 10, 2); }); add_action('tribe_events_template', 'avia_events_template_paths_mod', 10, 2); function avia_events_template_paths_mod($file, $template) { $redirect = array('default-template.php'); if(in_array($template, $redirect)) { $file = get_stylesheet_directory() . "/tribe-events/views/".$template; } return $file; }
and then create /tribe-events/views folders inside your child theme and copy enfold/config-events-calendar/views/default-template.php file inside it and then copy nfold/config-events-calendar/views/single-event.php file to /tribe-events folder on your child theme, edit single-event.php file and add following to the very bottom of the file
<?php get_sidebar(); ?>
and finally add following code to Quick CSS in Enfold theme options under General Styling tab
#tribe-events-content { width: 70%; float: left; }
Best regards,
YigitMay 3, 2017 at 11:19 pm #787465That worked great, can you tell me now how I can set a sidebar for that page? Here is the link: http://northshore.motomotodesigns.com/events/
May 4, 2017 at 11:41 am #787720Hi Joealto,
You need to copy this file enfold/config-events-calendar/views/default-template.php to the folder you created and and add
<?php get_sidebar(); ?>
there as well.
If you need further assistance please let us know.
Best regards,
VictoriaMay 4, 2017 at 5:19 pm #787949Hi, I did that and the sidebar info is at the bottom of the page, where on the default-template am I supposed to put <?php get_sidebar(); ?> And once I finally get the sidebar to appear how do I pic a custom sidebar for that page?
Would it help if you have FTP info? Or can you help from the dashboard?
Thanks
JoeMay 5, 2017 at 6:30 am #788202Hi,
You should be able to get a custom sidebar by adding its name to the function like so:
<?php get_sidebar('your-sidebar'); ?>
Best regards,
RikardMay 5, 2017 at 6:49 am #788211Can you tell me where to put that code? And also if you look at the link I sent you you can see the sidebar is at the bottom of the page below the footer. On the default-template.php where do I put <?php get_sidebar(‘your-sidebar’); ?> so the sidebar shows up in the sidebar area not at the the bottom of the page?
May 5, 2017 at 7:00 am #788216I did exactly what you said. I created a sidebar called calendar then put <?php get_sidebar(‘calendar’); ?> in the default-template and still nothing. What am I doing wrong? I moved the <?php get_sidebar(‘calendar’); ?> to above the footer but it still does not appear in the sidebar nor is it pulling the sidebar called calendar. Can you please help?
May 5, 2017 at 6:34 pm #788599I have been playing with this for hours and I scouring the web and I found this link to your support forums, it addresses the problem I am having. Can you please read this and let me know where the Plugin Additions tab of Advanced Layout Builder is?? Here is the link that may be helpful: https://kriesi.at/support/topic/enfold-and-the-events-calendar/
Thanks
JoeMay 7, 2017 at 5:51 pm #789117Hi Joe,
It’s on top where all the elements are http://imgur.com/a/iw1TM
If you need further assistance please let us know.
Best regards,
VictoriaMay 7, 2017 at 5:54 pm #789118Hi, yes I need a lot of help, I can’t get this to work at all and I am starting to run into deadline issues, can you please help? All I want to do dais add a custom sidebar to this page, if you read back through the thread your see I’ve tried everything and its not working. Can you please help?? http://northshore.motomotodesigns.com/events/
- This reply was modified 7 years, 6 months ago by Joealto.
May 8, 2017 at 12:31 am #789248Hi,
I saw that you had a sidebar floating at the bottom of your events page so I added this to your quick css:@media only screen and (min-width: 770px) { .tribe-events-page-template .sidebar { float: right!important; width: 30%!important; padding-top: 0!important; top: -870px!important; }} @media only screen and (max-width: 769px) { .tribe-events-page-template .sidebar { float: right!important; width: 30%!important; padding-top: 0!important; top: -520px!important; }}
Best regards,
MikeMay 8, 2017 at 12:36 am #789251Hi I see that but the sidebar is still at the bottom, it may be because when I edited the php file i was not told where to put the <?php get_sidebar(); ?>
I am trying to get a sidebar next to the calendar and I am also trying to figure out how to set a custom sidebar widget for that sidebar next to the calendar. If you read over this thread you will see what the problem is and what I was recommended to do. It didn’t really work, I need a sidebar next to the calendar and I need to be able to put a custom widget in it. Can you please help me with that??
May 8, 2017 at 12:40 pm #789502Hi,
You can try using this plugin – https://wordpress.org/plugins/widget-logic/ and add following condition to display your widget
tribe_is_event() && is_single()
and to hide rest of the widgets on that pages, please use
!tribe_is_event()
Best regards,
YigitMay 8, 2017 at 6:12 pm #789752PLEASE HELP!!!
For days I have been trying to get someone to help me. What I have is a relatively easy concept and yet no one seems to be bothering to help me. I bought your theme because you claim to be easy to work it and have great support. So far neither are true. I have about 50 sites build with Avada and decided to give Enfold a try since you touted such ease and support. So far I am getting nowhere. Will someone please help me or I am going to need to revert back to using Avada. I was hoping to put Enfold into my line up and start using it as an alternative but I can’t even get simple support.
Goal… Have sidebar appear on Events page next to Events Calendar.
1.) How do I get the sidebar NEXT TO the calendar and nota at the bottom of the page? I was given a template customization walk though and it worked, sort of. But the sidebar is now A THE BOTTOM OF PAGE. How do I get it where it ought be which is in the sidebar section of the page?
2.) How do I control what widgets appear in the sidebar for this page?
I have been working this for a week and have not gotten anywhere,. Can you PLEASE HELP?
Here is a link to the page, you will see it is not at all how it should be, and please take a few minutes to read over the suggestions I have been given abover as now I am running in a circle. I paid for the theme and for a full year of support, can someone please help me??
http://northshore.motomotodesigns.com/events/Here is a page built with Avada and it displays what I want to achieve. It was a simple setting already built into the theme. If you don’t have this setting and aren’t going to, at least help me figure this out or please return my money and tell me to continue with Avada. http://selectivemutismcenter.org/events/
Thanks You.
May 9, 2017 at 8:51 am #790075Hi,
I’m very sorry for the confusion. In the defaults-template.php file, look for this code around line 30:
tribe_get_view();
Below, add this code:
ob_start(); dynamic_sidebar('calendar'); $sidebar = ob_get_clean(); $output = '<aside class="sidebar sidebar_right alpha units" role="complementary" itemscope="itemscope" itemtype="https://schema.org/WPSideBar">'; $output .= '<div class="inner_sidebar extralight-border">'; $output .= $sidebar; $output .= '</div></div>'; echo $output;
In the Quick CSS field, use this:
.template-event-page #tribe-events-content-wrapper { width: 70%; float: left; margin-right: 5%; }
Another workaround is by adding the following hook in the functions.php file. They are basically the same, the only advantage is that you don’t have to modify the template files.
add_action( 'tribe_events_after_view', 'tribe_events_after_view_sidebar' ); function tribe_events_after_view_sidebar() { ob_start(); dynamic_sidebar('calendar'); $sidebar = ob_get_clean(); $output = '<aside class="sidebar sidebar_right alpha units" role="complementary" itemscope="itemscope" itemtype="https://schema.org/WPSideBar">'; $output .= '<div class="inner_sidebar extralight-border">'; $output .= $sidebar; $output .= '</div></div>'; echo $output; }
Add the same css code. Insert the widgets in the Appearance > Widgets > calendar widget area.
Best regards,
IsmaelMay 9, 2017 at 5:50 pm #790481Ismael, THANK YOU! It worked and I now have a page that has the calendar and a sidebar. I appreciate your help and support. The author of the calendar plug in wanted to know the fix as well so I am going to point her to this thread as she was unsure of the integration. Perhaps in the future integrating this, or another calendar plugin to work easier might be beneficial to some users. Once I finish development and if all goes smoothly from here this will be one of the themes I make my go to theme as other than this issue I think it is one of the nicer looking themes. I do have some other styling questions but will as when I am done if I can’t sort them. Again I thank you for your assistance.
Joe
May 10, 2017 at 5:15 am #790820Hi Joe,
Great, glad we could help and thanks for your feedback. We’ll keep the thread open in case you should need any further help on the topic.
Best regards,
RikardMay 10, 2017 at 7:23 pm #791294Thank you very much! Once I am done and up and running I will head over to envato and leave a full review and positive feedback.
Thanks again
JoeMay 10, 2017 at 7:47 pm #791311Hi,
Thank you very much and thanks again for using Enfold :)
Best regards,
NikkoJune 30, 2017 at 5:37 pm #815083Hi, So I think I spoke too soon on this topic. The Events page is containing the calendar and sidebar as it should, BUT… if you advance to the next month to see the next month’s calendar all of a sudden the sidebar is being displayed BELOW the calendar. And if you advance yet another month the sidebar is duplicated yet again. I am close to launching the site the my client is freaking out, can you please help me resolve this correctly so its not an ongoing issue?
You can view the problem here… just click to the see the next months calendar ad scroll down and you will see the sidebar appearing at the bottom of the page. http://northshore.motomotodesigns.com/events
A thought is to actually integrate this plugin into your theme. I like Enfold and have a few upcoming jobs that I would like to use in on but all of them requite the events calendar. Currently Avada incorporates it and has a sidebar option for the calendar page so one doesn’t have jump thought so many hoops just to get a calendar with a sidebar. That should be a standard option. I prefer Enfold to Avada as it is just a nicer working experience but this is a critical feature for some organizations and not having this flexibility makes it impossible to use Enfold. Please help me make Enfold the only theme I need.
Thanks
Joe- This reply was modified 7 years, 4 months ago by Joealto.
July 3, 2017 at 4:14 pm #815933Hi Joe,
Have you made any changes on The Events Calendar related files?
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:#tribe-events-content-wrapper .sidebar { display: none!important; }
Best regards,
YigitJuly 3, 2017 at 4:30 pm #815945Hi, no I haven’t made any changes to any files others then what I was guided through in above thread. But the code you sent me helped and solved the duplication of the sidebar showing up at the bottom of the page. It appears to function as it should. I really appreciate your help, this is exactly what I needed so now I can finish up and launch.
It may be helpful to edit down this thread and put this tutorial up on your site as a little walk through for people. I see this question asked a lot and its not that hard to accomplish with the right walk through. Your team did a great job sorting it out and it would be a shame not to publish the info that you folks came up with. Just a thought.
Thanks for your help and if this doesn’t have any more problems I think Enfold will really be the only theme I will need moving forward. Thanks again I appreciate the help!
Joe
July 3, 2017 at 4:36 pm #815949Hi Joe,
Glad to hear that it worked and thanks for your feedback.
It should work correctly out of the box without needing to adjust codes. We will report the issue to our devs and they will look further into the issue and apply changes on theme files as necessary.
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)Best regards,
Yigit -
AuthorPosts
- The topic ‘Events Calendar with Sidebar’ is closed to new replies.