Customizing search results template in Plone 4.3 - plone

I'm trying to make just basic structural changes to the search.pt template (under portal_view_customizations — plone.app.search/search.pt). I load this up from portal_view_customizations, hit "customize" at the bottom, and make any sort of changes*. If I do a search on the page after altering the template, it prompts for a username and password.
I'm not getting any errors and can't quite figure out what might be the issue. Is there some workflow or publishing process I'm missing for within /portal_view_customizations? I've been able to edit other things within there like portlet templates without this issue popping up.
Thanks a lot. Non-urgent, but I'm perplexed. :)
*(by any change, I mean I went in and added just a class on the around the brief description — no dice. Tried changing just some of the template text "filed under" after that, still nothing.)

Related

Anyone else seen standard Yes/No togglers fail to render in the Advanced Custom Fields Pro wordpress plugin?

I've never seen this one. Standard togglers, which can be seen on all field group pages, as well as UX on types like button groups, are failing to render the toggle box on load. Instead it just prints YesNo. The togglers still work, just you can't tell that they are doing anything.
There are no JS errors. No PHP errors. And I have disabled all plugins, and switched the theme back to the standard 20xx theme. I even deleted ACF Pro and copied a different one from another project that is working fine. Nothing changes. I still see the field rendered like the attached image. Beneath it is what it's supposed to look like.
Anyone else seen this or have ideas on what could be going on here?
I have suspicions maybe a left over setting or something in the database confusing things, or like a hook defined somewhere that is interfering. But I am unaware of any such hook that would interfere with something like this.

Edit with Wpbakery not working after Wordpress update

I am in big trouble and I am losing my mind. I had to update wordpress, because woocommerce said I can't create variable products anymore. I did and then I noticed that Wp bakery is not working. It loads forever.
I read some topics and tried disabling guttenberg and installing classic editor. It didn't help..
Now the crazy part is that I exported project with all in one migration plugin to other server and it works... It takes a while but it works. How the hell it's possible ?
I still need to fix it and I am getting console error
Uncaught TypeError: window.vc.frame_window.jQuery is not a function
buildFromContent https://shop.marmoarc.com/wp-content/plugins/js_composer/assets/js/dist/frontend-editor.min.js?ver=6.2.0:10
build https://shop.marmoarc.com/wp-content/plugins/js_composer/assets/js/dist/frontend-editor.min.js?ver=6.2.0:10
https://shop.marmoarc.com/wp-content/plugins/js_composer/assets/js/dist/frontend-editor.min.js?ver=6.2.0:10
I really don't understand this stuff and already losing hair(okay I was losing regardless). Please help. :(
Here's what I did, it fixes the issue but can cause certain other issues. For example my page banner doesnt load the first time a user visits the site, but will load every other time.
Get a plugin called Enable jQuery Migrate Helper. It seems to be the only thing that fixes the issue above that you've mentioned.
It will allow you to edit WPbakery elements, but like I said, it may cause other little issues like the aforementioned one above. Of course, if you're not using custom code, this could be the fix you're looking for. Cheers, and good luck.

Link blocks to composer in Concrete5

I'm just playing about with an offline copy of Concrete5 and was wondering if there is any way to link blocks to the composer system to make them work? I made a page template hoping I could just click 'new page' and select my template to add it to the right area of my test site, but it won't show up. I then tried to edit a preset page template from my theme, and that worked fine... except it still populates the new page with the original blocks.
It seems like a total nightmare to do anything in this system. Should I be using a different one if I can't even do this?
I am not sure I fully understand your question but have you had a look at this tutorial? It might help https://documentation.concrete5.org/tutorials/setup-a-simple-blog-within-concrete-5-7

Auto save my edits

I have only been able to find 1 add-on for autosaving/draft-save.
The problem is that if the browser crashes while you are editing content of a page, or created a new page, that changes will be lost. And it's not always, that one will remember to save manually.
The add-on I found and installed is: plone.app.drafts
I installed it using buildout, and activated it in the add-on. Though it doesn't seem to be working for me. Has anyone managed to make it work? To test it I crashed the browser (and also just closed the browser while editing), and according to the documentation for this add-on, the saved content should be in portal_drafts. But there is nothing there.
I followed this document.
Stackoverflow has the best auto save future EVER. It would be nice with such, but just a normal auto save will do fine.
Are there other plone fans out there that have managed to overcome this hurdle? Like found a nice add-on to help out?
do you want to auto-save input in richtextfields (tinymce) or all fields?
for tinymce there is a plugin you could try to add:
https://pypi.python.org/pypi/zopyx.tinymceplugins.tinyautosave/1.0.1

Installing a new, custom theme has "broke" current Wordpress installation

I've just finished creating a new custom theme based on the underscores framework, and It's ended up breaking my current wordpress installation after applying it.
Although everything is running fine on the front end, the back end is running really weird.
The following issues have presented themselves:
Trying to add a new post (either regular, or one of the new custom post types I've defined) just results in a blank page. Although the post has been created, the admin section gets stuck on the wp-admin/post.php page.
My media library no longer shows up in the media browser. Although all 6,000+ images are still there, none show up.
When logged in, it takes ages for the page to load in the Wordpress admin bar, as it appears it can no longer display the site stats (it just shows the broken image icon after it's finally finished loading in, when the new theme is selected).
I've tried to refresh the permalinks, but this hasn't worked.
Any ideas? I was hoping to re-launch my website today, but it looks like I might have to put it on hold...
Get ahold of the devs for your framework. Your experience is not an uncommon one. It has happened to my sites several times. Unless you want to tweak the php yourself, they will have to help you.
Managed to sort this out. Turns out a function I had written to add a custom field to menu items broke the entire back end. Thanks for the help everyone!

Resources