"Select Media" chooser in Drupal site no longer works - drupal

I've inherited the content upkeep on a local non-profit's website. The site is running Drupal 7.71. There's an employee/staff section on the site, and the admin interface has the ability to add new employees, and to modify the content of current employees. My issue is with the "Select Media" button in the interface that allows us to add an employee photo. When it was working properly, clicking on that button launched a modal overlay that allowed me to upload a new image, or choose a pre-existing one. Once I did that the modal would vanish, and I'd be back to the original employee admin form, with the selected image added.
Now for some reason when I click on the "Select Media" button the modal appears for a split second, but then it changes to a full HTML page, as if the browser's location.href has changed to the URL of the modal. I can pick/upload an image, but then have to navigate back to the original employee entry page, and when I do it does not show that any image has been selected.
As far as I know I have made no changes to the site that could be causing this change in behavior. I specifically have not done any updates to the Drupal install or any of the modules (I don't want to attempt any sort of code updates until we have a robust backup/rollback system in place). I don't see any JavaScript errors in the console when attempting to use this functionality, and the error occurs in multiple different browsers, so I don't think it's browser related.
Anyone have any idea what's going on, and how to fix it?

Related

Is it possible to permit some users to see pills but not others with Drupal Bootstrap?

In a website I am working on, a customer wants another menu with multiple dropdowns under the main navigation menu.
Instead of using the typical menu features associated with Drupal's Bootstrap theme, I used pills.
Is it possible to enable some users to view these pills but not others? I know it is possible to do so with pages.
I have enabled each user to have their own page, which only they can see.
Ideally, I'd like for each user to be able to see a "My Profile" Pill (or Menu, or Button, whatever works), that directs them to their own page.
The problem I've been having is that in the pill drop-down menu, they can also see everyone else's link to their page, even though when they click it, they can't access another user's page.
Also, I have tried the same thing with the Main Navigation Menu that is already built into the Bootstrap theme, and it works just not with the pills.
I can't seem to find any code that references this either.

WordPress: Not displaying changes of updated pages

I have update a page in my wordpress site using web admin back end, but what I see is that even if I update a page, it does not get updated online. Moreover, some of the content of the page which I see online /live are not actually texted in the area where we put the content.
On the right side navigator, in the page attribute area Parent has been set to No Parent, template --> Home Page.
Can you please let me know what could be the possible reason why the live content of the page is different from what I can see in the actual text area through web admin panel?
Also updating a page does not reflects on the page as well for that particular page.
First make sure you are editing the right page. Click in the frontend adminbar on edit instead of navigating in the backend through the pages list.
Secondly it can be any caching related issue. Check out if there are any plugins or settings for this.
Areas that are on the page but not editable via the content can be widgets or any kind of theme builder stuff. Check in the backend design->widgets.
The page hierarchy (parent: no parent) can be differ from the actually website navigation. Check out design->menus. It is possible to build other hierarchies in the menus.

UberMenu options screen doesn't work at menu setup

I just purchased and installed UberMenu plugin version v3.2.1.1, followed the setup exactly the way they described, and I'm able to see the Ubermenu instance in my front page, as it should be.
However, I can't access the customization area of the menu, and therefore I can't tweak it my own way.
When I go to Appearance -> Menus and click on the Uber button on any menu item, all I get is an empty options popup, just like the image below. None of the tabs present any content, it's just like the plugin scripts weren't being loaded.
However I see that blue popup in the lower right end of the screen saying it was being loaded correctly, and it's gone properly when it ends the job.
What can I do to enable/load correctly the configuration options for this plugin?
Thanks!
There are generally 2 possibilities that can make this happen:
A PHP error occurs (for example, a memory limit exception), preventing the page from loading the content critical to the menu item settings panel. You can check if that's the case by viewing your Menus Panel page source and seeing if you have a closing HTML tag.
or
The theme alters the admin menu structure via a custom Walker, resulting in the plugin not being able to find the appropriate data within the admin menu items to generate the settings panel. This is not very common, but can happen with themes that offer their own custom menu item settings within the Appearance > Menus Panel, as they alter the standard item markup to suit their needs.
If you need assistance, just Submit a Support Ticket over at sevenspark.com and we'll help you get it sorted out :)
Have a great weekend!

Image links automatically re-written on update

I took over the management of a wordpress site and I'm seriously stumped on what this guy did with this theme.
An image gets posted and it automatically links to itself on a separate page, when i try and change the link it reverts back to linking to itself.
If i remove the link I can not add a new one, it's as if the "add link" button isn't triggering but I can't find a reason why it would do that.
anyone know why this would be happening?

Save button missing from Drupal site

I'm in the middle of creating a Drupal site. It already has lots of content. This morning I found out that the "Save" button has now gone missing from my Page and News nodes. Users now have to click Preview before the Save button appears (both for creating new content and editing existing content). It was fine yesterday and I'm not sure what has changed. Can anyone help me to restore the Save button?
Many thanks
Check under admin/content/node-settings if you set the preview to "required", that would cause this behaviour. You can also try to emtpy all caches.
in Drupal 8 , preview mode can be set for each content types,e.g for articles :
/admin/structure/types/manage/article
If set to required the save button will appear only after previewing the content and returning to edit mode.

Resources