Created custom theme in magento 2.1 but parent name on backend is not showing up

I created one custome theme but parent name on backend is not showing up. here is the code,


<theme xmlns:xsi="" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">     <title>m2-theme</title>     <parent>Magento/blank</parent>     <media>         <preview_image>media/PorthosHome_Homepage.jpg</preview_image>     </media> </theme> 


{     "name": "Iverve/m2-theme",     "description": "N/A",     "require": {         "php": "~5.5.0|~5.6.0|~7.0.0",         "Iverve/m2-theme": "100.0.*",         "magento/framework": "100.0.*"     },     "type": "magento2-theme",     "version": "100.0.1",     "license": [         "OSL-3.0",         "AFL-3.0"     ],     "autoload": {         "files": [             "registration.php"         ]     } } 


<?php /**  * Copyright © 2015 Magento. All rights reserved.  * See COPYING.txt for license details.  */ \Magento\Framework\Component\ComponentRegistrar::register(     \Magento\Framework\Component\ComponentRegistrar::THEME,     'frontend/Iverve/m2-theme',     __DIR__ ); 

and added jpg file in the media folder.

I am getting this in the backend

enter image description here

Canadian Citizen- visiting US to see ill parent. Visa Officer has put a 3 mnth ban from entering. Can I appeal? Should I apply for a visa

I am a canadian citizen. My father was diagnosed with cancer in October and has been undergoing treatment in the USA since then.

So, I have been frequenting the USA since October. I was there in October for 10 days, november for 10 days , and December for 30 days

This time when entering via NYC, I was asked a few questions — why I was here, I gave them the reason. I did not have printed documentation on me, but I had everything on my phone, which I showed the customs officer.

My sister lives in the city as well, however my father is not living with her and with two little children it is impposible for her to care of him her own.

He proceeded to ask me which hospital my father was at and who was paying for the treatment. I gave him the name of the hospital and told him that my father is paying for it himself .

The officer, told me that he does not care if my father is ill – that I am not a doctor, and I do not need to be in the USA. That I should go back and be with my children.

My children had come with me to the US in October and in December – which i told the officer. to which he said that they were had school holidays so I could bring them with me – and he ignored the latter and said that i am taking my children out of school to bring them all the way here.

He said that my sister is enough and that he did not care either if my sister has 2 young kids and is unable to take care of him fulltime.

He then proceeded to tell me, that I can only be in the US for 2 weeks this time ( I told him i was booked to leave in a week and would do so)., and he then proceeded to tell me that he is putting a ban on me from coming for 3 months.

He did not take me to a seperate room or anything, and just told me to leave as there were a lof of other people in the line.

The issue is that: all my family members take turns coming to care for him and I am due back for 10 days in March. In addition, with this kind of illness there is so much uncertainty and I may need to head back due to any emergency.

I have extremely strong ties to my home country (middle east), in addition to my own work , my husband has a very secure job (he is quiet senior within his company), I have two children in my home country who are enrolled in school and ability to afford my trips to the US. Also i attended university in the USA for both my undergrad and grad. I have no convictions, clean record etc.

I have also not stayed more than 6 months in a 12 month period – which is the limit applied to Canadian Citizens.

I checked my i-94 online and the exit date stated there is not 2 weeks later but 6 months later than my entry date, and there is no note stating there is a travel ban for 3 months. There is no mention on my passport stating the date of departure and the temporary 3 month travel ban. As mentioned I am not concerned about the departure date restriction for this trip but I am extremely concerned about the 3 month ban.

I am unsure as to what I should do now. Is there any way to appeal this? Can I apply for a visa, so that everything is on file?

Please help! I am just note sure what to do 🙁

How to convert to convert to Parent und Child Component

i´ve got a Component in Vue which is right now not partent/child ready. I need to transform that into parent and child for filtering purposes. Could you give me a hint how to do that?

<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}">     @include('includes.header')     <body>         <div id="app" class="wrapper">             <nav-component></nav-component>             <header-component></header-component>             <header-sidebar-component></header-sidebar-component>                 <div class = "container">                 <div class="row">                 @foreach ($  sortedData as $  data)                         <card-component title={{$  data->title}} description={{$  data->description}} category={{$  data->category}}></card-component>                 @endforeach                 </div>                 </div>         </div>         <script src="/js/app.js"></script>     </body> </html> 

And the Vue Component

<template>     <div class="col-md-4">         <div class="card text-white bg-primary" style="width: 18rem;">         <img class="card-img-top" src="/img/card1.jpg" alt="Card image cap">         <div class="card-body">             <h5 class="card-title" v-text=title></h5>             <h6 class="card-subtitle mb-2 text-muted" v-text=category></h6>             <p class="card-text" v-text=description></p>         </div>         </div>     </div> </template>  <script> export default {     props: ['title', 'description', 'category'] } </script> 

And i want to transfor that and use v-for to render it so i can get the data for filtering inside the parent.

Show parent items in hierarchical facet display

Taxonomy terms are configured as such:

Parent category 1 - Child category 1 - Child category 2  Parent category 2 - Child category 3 - Child category 4 

“Empty facet behaviour” is set to “Do not display facet”.

“Flatten hierarchy” is turned off.

“Treat parent items as individual facet items” is turned off.

But the facet display doesn’t show the parent items. How do I configure it properly to do so?

enter image description here enter image description here

Adding sub-menu item makes parent item unclickable

Unfortunately, I do not have a way to reproduce this since I don’t know what is causing the issue, but I can provide plenty of details. The problem is this:

In the nav bar the parent menu item works perfectly fine by itself, but as soon as I add sub-menu items beneath it the parent item becomes unclickable.

  • I assumed there must be some invisible element on top of the parent item that was preventing me from clicking it. From what I can tell, there is not element on top of the parent item.
  • I went into dev tools and set the sub-menu to display:none;. No change.
  • I set a z-index for the parent item of 9999. No change.
  • This behavior is consistent across all pages and in the mobile menu.

The only way I’ve found to fix it is to remove the sub-menu items so I know it must be related to them, but if the submenu is displaying what else could be making the parent item unclickable?

I’m out of ideas. What else could cause this behavior?

Is it possible to get the parent folder data in item-adding in remote event receiver

Question is it possible to get the parent folder data eg(Title, Custom Columns)?

What I want to achieve is when an user add an item i could pre-populate columns with data i want.

I’ve manage to create this in ItemAdded so basically i need to get the ItemID so i could get the parent folder but since i need to do this in ItemAdding the ItemId still doesn’t exist.

Is there any way i could get the parent folder data using the ItemAdding Remote Event Reciever?


Show child pages in parent node view details in Drupal 8 when using book module

I’m using the book module to maintain the parent-child relationship between contents. I want to see all child pages expanded when I see a parent node details page. What are the best ways to do the same? I used the hook THEMENAME_preprocess_book_tree to get it done but I’m not succeeded yet. Is this the right hook to get the desired result?

Cloned node entity reference field stay in sync with parent node

I have three content types A, B and C. A have entity reference fields to B and C. I create a Node of type A say a1. When i clone a1 node as a2 with node clone module i get the same value for entity reference fields in a2 same as a1. In a2 i can change the entity reference field value so that they refer to another nodes of B and C content type.

But with node clone module there is no way to maintain relationship between parent node and cloned node.

So I basically have two requirements:

  1. In cloned node i can override the entity reference field value or leave it same as parent node. If i override, later i should be able to revert back to those values same as parent node. Currently there is no way to do this.
  2. If parent node change the value of those entity reference fields then in all the cloned node of this parent node also change their respective entity reference field value except overridden cloned nodes.

The solution i found so far during searching is using Replicate, replicate_ui module which provide more hook to alter the cloning process. The another module is Corresponding Entity References which create entity reference field back to parent node.

I don’t need comprehensive solution but anything existing solution can do almost this functionality?

SVG image wont size up to fit parent container in android

I am using SVGImageview for displaying SVG image but it is not occupying the whole screen as shown below:

public class MainActivity extends AppCompatActivity {  @Override protected void onCreate(Bundle savedInstanceState) {     AppCompatDelegate.setCompatVectorFromResourcesEnabled(true);     super.onCreate(savedInstanceState);     setContentView(R.layout.activity_main);     //ImageView imageView = (ImageView)findViewById(;     //imageView.setScaleType(ImageView.ScaleType.FIT_CENTER);     //imageView.setAdjustViewBounds(true); } }  <?xml version="1.0" encoding="utf-8"?> <LinearLayout     xmlns:android=""     xmlns:app=""     xmlns:tools=""     android:layout_width="match_parent"     android:layout_height="match_parent"     tools:context=".MainActivity">      <com.caverock.androidsvg.SVGImageView         android:id="@+id/imageView"         android:layout_width="match_parent"         android:layout_height="match_parent"         android:src="@drawable/ic_load_bg"         android:scaleType="fitXY">     </com.caverock.androidsvg.SVGImageView> </LinearLayout> 

Can someone help me how to do this for any screen size? I found this link to be similar to what I am trying to do here but it didn’t give me any hints.

enter image description here

ASP.Net Core 2.1 – Reading TagHelper’s parent attribute from child TagHelper

I am wondering if it’s possible to access attributes of parent TagHelper from child TagHelper element in ASP.Net Core version 2.1/2.2.

Since I could not find this question directly asked anywhere on Stack Overflow, I am looking if it’s possible to have Child-Parent TagHelper relation where child can somehow access one of parent’s attributes (both TagHelpers are custom TagHelpers). To be more clear, I have a piece of code that looks like this:

     <radio-group>         <radio asp-name="radio2" asp-value="one">Some text 1!</radio>         <radio asp-name="radio2" asp-value="two">Some text 2!</radio>         <radio asp-name="radio2" asp-value="three">Some text 3!</radio>     </radio-group> 

Essentially it’s just a group of radio buttons on a form inside a single element marked as radio-group (this later becomes div element with single class, while other radio elements become input elements of type=”radio”). Since all those radio buttons share the same name inside their group, I have to assign the same name to each.

Now, is it just possible to declare single attribute on radio-group element (for example asp-child-name attribute) which could then later be accessed from child elements so i wouldn’t have to assign asp-name attribute to each child?