Home › Forums › Calendar Products › Community Events › Community Events submission form replicates itself in secondary sidebar
- This topic has 24 replies, 6 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
November 12, 2012 at 8:26 pm #27959
Victoria
ParticipantThe Community Events form works fine, but it also shows up in the secondary sidebar on my site. You can see it on this page:
http://victoriachamber.org/events/community/add/It overlaps “Welcome New Members” over on the right-hand side.
I somehow submitted this before checking the appropriate boxes, but I did deactivate all plugins and switch to the default theme, and still had this issue. The site is build on the Genesis framework. I downloaded the sample Genesis theme with customizations from the tutorial you had a while back, and I put the “events” folder into my theme folder. I tried removing that folder after having deactivated plugins, and it didn’t fix the problem.
November 13, 2012 at 6:21 am #27966Casey
ParticipantThanks for reaching out and sorry to hear you’re having issues. Can you send me a screenshot of the widgets that you have enabled in your sidebar? Also, what version of the Community Add-on are you running?
These questions should help me to troubleshoot your issue further. Thanks!
November 15, 2012 at 12:44 pm #28141Victoria
ParticipantI’ve narrowed it down – it’s one of the Genesis Featured Widget Amplified widgets. I have two enabled in the sidebar but only one of them is conflicting, which is weird.
Here’s a screenshot – first, showing the current widgets in the sidebar – although even if it’s just the one widget, the problem still occurs. Bottom part of the screenshot shows you the settings I configured within the Featured Widget Amplified. I’ve got those same settings in the widget below it so I really don’t get why this is happening.
Version 1.0.4 of Community Events.
Version 2.0.10 of The Events Calendar PRONovember 15, 2012 at 1:46 pm #28146Casey
ParticipantWere you able to resolve this issue, or did you just remove the widget? I’m not seeing it happening any more on your Event Submission page.
November 15, 2012 at 11:14 pm #28166Victoria
ParticipantI apologize. I’d left the widget configured to “no content” after I made the screenshot. I switched it back to “show content” and the issue has returned. I’ll leave it that way for now.
November 16, 2012 at 2:38 pm #28194Jonah
ParticipantHi Victoria,
What does the Featured Widget Amplified display? Would you be able to provide us a copy of the theme for evaluation/testing purposes? I have the Genesis framework but not this particular theme… You can email to pro [at] tri [dot] be and reference this thread and attn. to me please.
Thanks,
JonahNovember 17, 2012 at 2:45 pm #28216Victoria
ParticipantI emailed you (the email will come from Dorian Speed) with a copy of the theme. The Genesis Featured Widget Amplified pulls posts from a category (in this case, “New Member Announcements”) and shows the post title and the content. The community events form replicates itself in the sidebar whether I have “show content,” “show excerpt,” or “show content limit” selected. It doesn’t happen if I have it set to “No Content.” So I assume what’s happening is that the widget somehow thinks that the form is part of the content it should be displaying?
Thanks for your help!
November 19, 2012 at 5:59 pm #28263Jonah
ParticipantHi Victoria,
Thanks, I was able to duplicate this on my end and am going to need to bring a developer in to take a look. This has cropped up before but it was theme related but this seems specific to the widget itself. Stay tuned!
– Jonah
November 19, 2012 at 9:11 pm #28267Victoria
ParticipantOkay – thanks!
November 21, 2012 at 12:43 pm #28353Todd
ParticipantHi. I am having EXACTLY the same problem with Community Events. From my troubleshooting, I think it’s related to a conflict with WP_Query. I am not using Genesis. I am building a custom theme, based on Underscore_s (from automattic).
In my site, I have a custom WP_Query in my header.php, and another in my footer.php, which show content from other pages in the header and footer of my site.
But on my Community Events pages(*), and ONLY on those pages, the content in my site’s header and footer that SHOULD display the result of my custom WP_Query, is MISSING, and instead, i see a DUPLICATE of the content displayed by Community Events.
*Community Events pages:
1) http://site.com/events/community/add/
2) http://site.com/events/community/list/ (which for some reason, automatically redirects to)
http://site.com/events/community/list/page/1/Hopefully this sheds light on Victoria’s problem, and I hope for a solution myself! I’d be more than happy to help troubleshoot, to facilitate a solution.
November 21, 2012 at 12:49 pm #28354Todd
ParticipantHi again. One more thought about this. I also had exactly the same issue with another plugin for this same site — bbPress. But I solved that one. It turned out to be a conflict with the SLUG i had entered in WP-Admin > Settings > Forums > Archive Slugs > Forums Base (the bbPress settings page). I had the slug as “forums”, which i guess was the same name that bbPress used for the CPT (Custom Post Type) for the Forum post-type. So when i changed my slug to “theforum”, the problem was solved.
Perhaps Community Events has a similar issue. But it does not seem to have an admin-field to set the slug for the CPT base.
November 23, 2012 at 1:54 pm #28406Todd
ParticipantI think the issue comes from WP-ROUTER, used in the-events-calendar-community-events/lib/tribe-community-events.class.php (line 536, and others). The readme file (the-events-calendar-community-events/vendor/wp-router/readme.txt) says that:
… “page_callback” is a callback to use for dynamically generating the contents of the page. The callback should either echo or return the contents of the page (if both, the returned value will be appended to the echoed value). If `FALSE` is returned, nothing will be output, and control of the page contents will be handed back to WordPress …
Perhaps this can somehow be limited to JUST the MAIN QUERY for the page, not any secondary queries done using WP_Query?
November 25, 2012 at 1:27 pm #28427Jonah
ParticipantHi Todd,
Thanks for your input. Our developers are still taking a look at this and I’ve updated the ticket to have them take a look at this thread and the data you’ve shared. Stay tuned.
Thanks,
JonahNovember 25, 2012 at 2:19 pm #28429Todd
ParticipantGreat, thanks Jonah. By the way, when i said that hopefully wp-router can be limited to the “main” query… you probably can’t just use is_main_query() to determine that, since (at least in my site), those custom WP_Query calls (in my header and footer) also seem to be TRUE for is_main_query(). That doesn’t actually seem right or good.. but that’s what i’m seeing. Again, i’m happy to help troubleshoot.
November 27, 2012 at 2:17 am #28527Timothy Wood
ParticipantTodd & Victoria,
This is a bug that we are aware of due to how WP_Router injects the form into the_content() tags. We experienced this conflict even within some of the plugins in our suite. You are correct in assuming that currently using the_content() is a suboptimal method for hooking the form into the display and as such we are in the process of removing the WP_Router library from use in our community plugin because of this and a few other incompatible scenarios.
In the interm, one way around this would be a custom sidebar for the community submission page to reduce the use of the_content() being used by widgets until we can release the updated community plugin.
Cheers,
Tim -
AuthorPosts
- The topic ‘Community Events submission form replicates itself in secondary sidebar’ is closed to new replies.
