Jump to content

Archived

This topic is now archived and is closed to further replies.

flourishdesignstudio

Is it possible to make a link trigger an accordion to open?

Recommended Posts

flourishdesignstudio    9
flourishdesignstudio

ellenmva Hi Ellen!

 

I updated the plugin, but I am still getting the same error:

 

Warning: Cannot modify header information - headers already sent by (output started at /home/content/23/11603223/html/wp-content/plugins/accordions/sections/accordions/section.php:115) in/home/content/23/11603223/html/wp-admin/post.php on line 235

Warning: Cannot modify header information - headers already sent by (output started at /home/content/23/11603223/html/wp-content/plugins/accordions/sections/accordions/section.php:115) in/home/content/23/11603223/html/wp-includes/pluggable.php on line 1121

 

Please let me know if I can help you troubleshoot in any way.

 

Jackie

 

Share this post


Link to post
Share on other sites
flourishdesignstudio    9
flourishdesignstudio

ellenmva When I disable Relevannsi, the search is still slow, and when I get the results, the links lead to error 404 pages. :(

Share this post


Link to post
Share on other sites
ellenmva    112
ellenmva

flourishdesignstudio I need to see the error and can't reproduce on my end. Could you create a WordPress Admin login for me and send it to ellen @ elsue.com so I can try and troubleshoot. I'll just create a separate test page.

 

On the search, when disabling Relevanssi and getting 404 error, try going to your Settings --> Permalinks and save them again. Sometimes that will resolve a 404.

 

I'm not sure why the search is so slow, was it slow before Relevanssi or okay? 

 

Best,

 

Ellen


Ellen Moore

Pagelines Developer

www.elsue.com www.betterdms.com

Share this post


Link to post
Share on other sites
flourishdesignstudio    9
flourishdesignstudio

Hi Ellen!

 

I've sent you login creds. :) Thanks for looking into the problem.

 

I just tried resetting permalinks, but it dod not resolve the 404 errors. :(

 

Because the site is made up almost entirely of accordions, we did not have a search enabled before, because the results were not complete. So, I'm not sure about the speed before. Do you think it takes longer to search through custom post types? Maybe it's the number of accordions that it has to search? We do have a lot of them!

 

 

 

Share this post


Link to post
Share on other sites
ellenmva    112
ellenmva

flourishdesignstudio Will have to dig deeper into search, it may be the number of posts it has to search but may be some solutions, I think Relevanssi has some settings that will help. I have to go out for a bit but will take a look later today.

 

I think it may be another plugin that is causing that error, likely candidates are Duplicate Post or TinyMCE Advanced. Could you disable both of those plugins and see if the error resolves. If it does, reactivate each one and test to see if it causes the error. Let me know if it is one of them and we can go from there.

 

Best,

 

Elen


Ellen Moore

Pagelines Developer

www.elsue.com www.betterdms.com

Share this post


Link to post
Share on other sites
flourishdesignstudio    9
flourishdesignstudio

I just disabled both plugins, and I still get the error. And, I only started getting the error when I started working with accordions last week. (Updating and/or using short code - not sure which may be causing the issue.)

 

I just did another test and it only creates the error when I am working on pages with accordions.

 

 

Share this post


Link to post
Share on other sites
ellenmva    112
ellenmva

flourishdesignstudio Okay, I was able to replicate the Warning on another site which is good, didn't want to debug on your site yet couldn't replicate.

 

For now, you can get rid of the warning message by turning WP_DEBUG to false. In your wp-config.php file find the line that says

 

define('WP_DEBUG', true);

 

and change true to false.

 

What you are seeing is a warning and not an error, thus turning debug to false will make it go away.

 

I still have to find the reason it is happening. Will keep you posted.

 

On Relevanssi, you just need the Expand shortcodes option checked and pages/posts checked, not the accordion post type or taxonomy because it's a private post type, not public. The page that the accordion is on will show in the search results.

 

If you want to explore the option of having each separate accordion show in the search results that would take some customization, probably not much but make the post type public and give a slug. That won't solve the slow search.

 

Not sure why your search is slow, that shouldn't be Accordions but will test on a local install and get back to you.

 

Best,

 

Ellen

 


Ellen Moore

Pagelines Developer

www.elsue.com www.betterdms.com

Share this post


Link to post
Share on other sites
flourishdesignstudio    9
flourishdesignstudio

ellenmva Hi again! Thanks for working through this with me. I just checked my wp-config.php file and debug was set to false already. Should I try true?

 

I think it would be awesome if the search results would lead to an open accordion. What would that entail. Feel free to email me privately at jackie (at) flourishdesignstudio.com.

 

Thanks again!

 

 

Share this post


Link to post
Share on other sites

  • Similar Content

    • petere21
      By petere21+
      As I understand El Sues Accordions section is broken. Simon solved this problem by fixing section and we need to download it again.
      But in my account in download area there is no accordions section to download. Where can I download it? !!! Asap please my web is broken.
      Peter
       
    • chamois_blanc
      By chamois_blanc+
      Hello,
      All accordion entries are shown every time, independently of the set selected. See example here:
               http://swinginatthesavoy.com/register/
      The first accordion should only show the 2nd and 3rd entries, instead of all of them. The second accordion should only show the 1st entry.
      Please fix asap! I haven't changed anything to my content in a few weeks and it was working fine before. I am guessing this appeared in one of the latest DMS updates. I am going to use some CSS to try to hide the undesirable entries.
      Gilles
    • balfred1345
      By balfred1345
      Hi Ellen,
      I've tried every way I could think of to use CSS to get rid of what I assume is padding or margin from the top of the accordion section so that it can be closer to the <p> above it. 
      Here's a screenshot of the way it looks now:  http://screencast.com/t/2c66f6y0dex
      If you'd like to look at the page please see: http://whub34.webhostinghub.com/~videoh6/cidev2.com/moving-services/mankato-mn-movers/
      I'd like to have the accordion section with the word "More" much closer to the paragraph line above it. If you look at the CSS you'll see several instances where I put in margin: 0 !important; and padding: 0 !important.
      Can you please tell me how I can adjust the section so it is closer to the paragraph above it?
      This site is on latest versions of DMS 2 and WP. 
      Many thanks,
      Bruce
    • flourishdesignstudio
      By flourishdesignstudio
      Hello,
      I wanted to let the community know that there is a problem that has happened on a couple of DMS sites that we manage. The problem is that there are certain plugins/sections that DMS uses (such as 'Accordions' and 'Sidekick') that will appear to have an update. However, when you actually update the plugin it is replaced but a similarly named plugin. Here are the original plugins:
       
      Original: http://dms.elsue.com/accordions/ (authored by @ellenmva)
      Replaced with: https://wordpress.org/plugins/accordions/
       
      Original: http://www.pagelines.com/shop/third-party-extensions/sidekick/ (authored by Evan Mattson)
      Replaced with: https://wordpress.org/plugins/sidekick/
       
      I just wanted to know if there is anything I can do to make sure that other plugins/sections do not get replaced when I update them in the future as well as bring it to the DMS community's attention so that others do not experience the same confusion and frustration. Any thoughts would be very welcome in order to avoid this in the future.
      Thanks!
    • alisamski
      By alisamski+
      Using the accordion section... and I am trying to link a menu item to the accordion title.. not individual areas...
      My links work in the main menu, linking to an accordion title... however, they seem to have issues... I have two accordions on this page...
      When I use the menu link (below).. it breaks the accordion action... it will not open the accordion to show all the content.
      http://bit.ly/1TepJ3s
      http://bit.ly/1Hwqf84
      however when I go to the actual page.. there is no issue.
      http://bit.ly/1QPBt8r
      Please if you can take a look, I'd appreciate it.. not sure if I have the link correct.
×