can’t create or save sidebars
-
No matter what I do, I end up with mis-named and unnamed sidebars like this:
https://www.evernote.com/l/AAIaBx9h-l9K2KHf-unYVlKYtx6a5SdPitQ
Couldn’t even click the Add Sidebars link on the main screen without getting a error. Had to go to the tab manually, but then can’t properly save or edit anything.
-
This topic was modified 6 years, 9 months ago by
mpmchugh.
-
This topic was modified 6 years, 9 months ago by
-
Hi @mpmchugh,
I can’t find how to replicate the issue you describe. Could you give me more info about the exact steps you take?
Also, please post your active plugin list, it might be a compatibility issue.
Thanks! Jory
Didn’t do anything unusual. Just installed it and went to the Settings page. First tried to click on the link in the top box to add a sidebar, but got an access error.
Then went to the sidebars tab and tried to add there, but ran into the saving issues I mentioned.
There’s quite a few plugins active for a variety of reasons, so it could very we be a conflict, but I’m not seeing any console errors. If any present known conflicts, please let me know. Otherwise it’ll be tricky to track down. Here’s the list…
https://www.evernote.com/l/AAJ0ejn51w9KYLlJM7xz1A8iSdm-6BaAwzQ
I did deactivate one plugin that was directly sidebar/widget related, Widget Alias, as it wasn’t being used.
The other two I’m using that are sidebar/widget related are Google Maps Widget PRO, and Automatic Jetpack’s sidebar/widget enhancements.
Also, I am using the Divi theme, which has it’s own facility for adding custom sidebars built in, if that might be the conflict.
Hi @mpmchugh,
Just to be sure. When you add a sidebar, are you providing a name for the sidebar first?
If possible, could you add me as a temporarily user on your dev installation?
Email: [email protected]Thanks, Jory
Hi @mpmchugh,
I think I found your issue and patched a fix to the GitHub dev branch.
https://github.com/JoryHogeveen/off-canvas-sidebars/pull/53Could you try this code and let me know if it also fixes the issue on your installation?
Thanks in advance!
Regards, JoryHi @mpmchugh,
I’m planning to release v0.5.1 a.s.a.p.
If you are able it would be great to know whether this update also works for you.Thanks in advance!
Regards, JorySorry. Been focused on other projects for a few days. I’ll give it a try later today.
I tried the new code, though frankly, not being familiar with Git, and there not being a coherent plugin download for it, I’m not sure of I installed it correctly.
That said, it didn’t seem to fix the issue. Still can’t rename or properly save sidebars like before.
If you have a link to an actual installable ZIP of the plugin I can try again.
Oh sorry, the link pointed to the PR, not the regular branch.
If you go to the url below you can download the new code as a zip file:
https://github.com/JoryHogeveen/off-canvas-sidebars/tree/devYou’ll see a button (green) on the right to download!
Thanks, Jory
-
This reply was modified 6 years, 9 months ago by
Jory Hogeveen.
Okay. I installed the dev version and it seems to be working now as expected as far as saving and naming sidebars, etc., but not sure how to actually trigger a sidebar at all.
Is there no built in trigger such as hamburger menu icon that opens the sidebar? The installation instructions don’t seem very clear about that or even address it at all. The “Simple Theme Setup” doesn’t seem to add anything in terms of displaying an actual trigger.
Also, are there any settings for which pages the sidebar would appear on, or is it just global by default, and one would have to affect it via php — i.e. only invoke the( website before and after on single post pages for instance) — or use CSS to hide it where it’s not wanted?
Hi @mpmchugh,
Great to hear this issue is resolved. I’ll try to update today!
I’ll mark this topic as resolved.About the triggers, there are multiple ways to create trigger.
– There is a widget to can place in your website
– You can add menu items (Off-Canvas Controller group)
– You can use a shortcode. More info: https://github.com/JoryHogeveen/off-canvas-sidebars/wiki/Shortcodes
– Or you can create your own by rendering the correct HTML.There is currently no way to control on which pages the sidebars appear. I’m thinking about adding conditionals as an option to sidebars but that will be in a future version.
Of course you could only create triggers on certain pages so the sidebars won’t appear.Another option is to create a custom theme setup.
https://github.com/JoryHogeveen/off-canvas-sidebars/wiki/Theme-setup#custom-theme-setup
You would have to add your own site wrapper within your theme and add the off-canvas sidebars after that with the API functions.
Using that you could control when which sidebars are rendered or not.Will the dev version I installed know to update to the release version, or do I need to do that manually?
Okay. Thanks for the info. I’ll figure something out.
-
This reply was modified 6 years, 9 months ago by
mpmchugh.
It will know! The version for this plugin should say
0.5.1-dev
in your plugins list so WordPress will see0.5.1
as a newer version.And no problem! If you need any help, feel free to contact me through support, GitHub or Slack (https://keraweb.slack.com/messages/plugin-ocs/).
Thanks! Jory
New wrinkle…
I added a widget trigger, and noticed the sidebar background was black, even though it was set to default, which says it’s #ffffff.
So, I set it to “Color” and set the color to white. Upon saving, the sidebar I’d created was deleted. It’s totally gone now.
That’s a problem.
Hi @mpmchugh,
The background could be different when your theme overwrites the background for sidebars and the container.
Within Slidebars (the JS framework) the site container has a white background by default and the off-canvas sidebars have a black/dark background.
It is however strange that your sidebar was deleted. Just tried it with an existing installation and can’t replicate that behavior on changing color or any other settings.
Just a quick check, if you try the same steps again, does the same happen?
Regards, Jory
-
This reply was modified 6 years, 9 months ago by
Jory Hogeveen.
So, I re-created it, and set the color on the sidebar itself. That worked.
What I’d done earlier was set the color on the main settings tab. I did that again, and again the sidebar was deleted again.
Not sure what the intent is with the two color settings. Is one just a default, ad you can override it on each sidebar?
-
This reply was modified 6 years, 9 months ago by
mpmchugh.
-
This reply was modified 6 years, 9 months ago by
- The topic ‘can’t create or save sidebars’ is closed to new replies.