css – mobile menu not appearing after deactivating a plugin

We accidentally deactivated “PHP insert” plugin, then reactivate it.

Possibly this caused the mobile menu to stop working. It drops down but it’s blank.

The website is www.korchinatnc.com

An example of how it should look like is www.korchinatnc.com/en

You need to make the dimensions of the browser smaller to be able to see the mobile screen. Any thoughts on how to fix this?

I have disabled caching and CSS minification. This fixed another problem we had. I have googled for solutions but none of them worked

python – How to stop words appearing on the beginning frame

I’m making my first game, where you click on a strawberry, then it disappears and reappears, and so on and so forth. There is a Score that increases by 10 each time you click the strawb, and a Crapscore that begins at 10. Each time the player misses the strawb, the player loses score equal to their Crapscore, then Crapscore is increased by 10.

However, I am trying to make it so that if the player has clicked on the strawb, ‘Good Shot!’ appears randomly on the screen, which works. Likewise for missing, ‘You Missed!’ appears on the screen. This worked before, but ‘You Missed!’ appears on the screen before doing anything. I tried implementing another variable to stop the words appearing unless it has been set to True. The set-to-true would be if the player has clicked yet. But this seems to only stop both lines from appearing on screen alltogether. Here’s the code for ‘Good Shot!’ and ‘You Missed!’.

def place_goodshot():
    global hit
    global goodshotlocationrandomX
    global goodshotlocationrandomY
    global clickedyet
    if hit == True and clickedyet == True:
        goodshotlocationrandomX = randint(0, 1250)
        goodshotlocationrandomY = randint(0, 700)
        goodshotlocation = goodshotlocationrandomX, goodshotlocationrandomY
        screen.draw.text("Good Shot!", fontsize=60, center=goodshotlocation, color=FONT_COLOR)

def place_badshot():
    global hit
    global badshotlocationrandomX
    global badshotlocationrandomY
    global clickedyet
    if hit == False and clickedyet == True:
        badshotlocationrandomX = randint (0, 1250)
        badshotlocationrandomY = randint (0, 700)
        badshotlocation = badshotlocationrandomX, badshotlocationrandomY
        screen.draw.text("You Missed!", fontsize=60, center=badshotlocation, color=FONT_COLOR)

It works off a variable named ‘clickedyet’. It begins as False, and whenever the player clicks, it is updated to True, as seen in what happens when you click.

def on_mouse_down(pos):
    global crapscore
    global score
    global hit
    global clickedyet
    if strawberry.collidepoint(pos):
        clickedyet = True
        hit = True
        score = score + 10
        place_strawberry()
    else:
        hit = False
        clickedyet = True
        score = score - crapscore
        crapscore = crapscore + 10
        place_strawberry()

There is another variable named hit. It begins as False, then it switched to True if the player clicks the strawberry and False if the player missed.

Would a loan repayment appearing in bank statement affect visa application

I work as a doctor in my country and I am applying for a standard 6 months uk visa to enable me write the plab 2 examination which can only be taken in the uk. My dilemma is that I am planning on taking a bank loan in addition to my savings to enable me afford all the cost of the examinations. Would the presence of a loan repayment on my bank statement negatively affect my visa application. Is there any way to go around it so it doesn’t.

html – Two Select boxes appearing for one select tag

I am trying to use select tag to make a dropdown menu , but for some reason , it duplicates itself

CODE:

<select  name="drop">
        <option>ar</option>
  </select>

ie:
2 boxes for one select tag

These are the css files i am calling:

<link rel="stylesheet" type="text/css" href="{%  static 'css/bootstrap.min.css' %}">
<!-- style css -->
<link rel="stylesheet" type="text/css" href="{%  static 'css/style.css' %}">
<!-- Responsive-->
<link rel="stylesheet" href="{%  static 'css/responsive.css' %}">
<!-- fevicon -->
<link rel="icon" href="{%  static 'images/doctor-icon.png' %}" type="image/gif" />
<!-- Scrollbar Custom CSS -->
<link rel="stylesheet" href="{%  static 'css/jquery.mCustomScrollbar.min.css' %}">
<!-- Tweaks for older IEs-->
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css">
<!-- owl stylesheets --> 
<link rel="stylesheet" href="{%  static 'css/owl.carousel.min.css' %}">
<link rel="stylesheet" href="{%  static 'css/owl.theme.default.min.css' %}">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.5/jquery.fancybox.min.css" media="screen">

Using Django framework btw

So how do I get just one select box rather than two?
Thank you

Preventing search results appearing from new Line of Business Content Source

I created a new Content Source in the SSA for a Line of Business DB that’s connected via BCS. This works perfectly and I can scope my search result queries to just this new Content Source by adding ContentSource="Apps" in a KQL query of the relevant web parts.

The problem I have is that results from this Content Source are appearing in other web parts all over our site because the default Local SharePoint Results Result Source seems to include anything in the index that’s classed as a SharePoint result!

You can’t edit the default Result Source, so how are you supposed to stop results from leaking in from all Content Sources, into unscoped search queries?

I’ve tried creating a new Result Source with -ContentSource="Apps" in it and setting it as the default, but all existing web parts will still be pointing at the standard Local SharePoint Results Result Source and updating them all isn’t feasible.

Surely this isn’t the standard behaviour? Have I missed some obvious setting to prevent results appearing from the default Result Source?

Thanks in advance!

gift-message attribute not appearing in REST API Orders response after setting it on Cart

I am developing a headless Magento backend using REST/Graphql on the frontend.

After enabling the Gift Message module in admin, I set correctly set the Cart gift-message like so:

http://localhost/index.php/rest/V1/carts/mine/gift-message

Request body:
`

{"giftMessage":{"sender": "person a","recipient": "person b","message": "hello to you"}}

And correctly, receive the response as:

true

I then place the order and the order is created. Yet, when I GET the full order with REST API, there is no gift-message in the response at all.

The only way to get a gift-message is to manually type it in on Admin Edit Order and hit save, which is unacceptable for various reasons.

Can anyone enlighten me to the flow on this please? Help much appreciated Thanks.