Is there any way to hide Group By dropbox from the custom dashboard when there a several template variables? - dropbox

When I added 2 template variables, additional Group By dropbox was added in the top of the dashboard. Is there any way to hide Group By dropbox?

Related

Magento 2.4: How to hide the Upload button in magento 2 admin?

We have an image uploader field in Magento 2 admin. When a customer uploads any document in the frontend, the file will be shown in uploader field section. Now what I need is that I want to hide the Upload button in admin and have to restrict admins to upload the attachment from admin portal.
I have tried visible=false but its hide the entire section.
Please help
Is it core Magento or Your custom uploader? Is this menu build in xml? Is it uicomponent? Seems like You want to conditionally disable element. Maybe this would be helpful:
https://karnowka.com/posts/magento2-conditional-layout-directives/
It all depends how You build the buttons. Every xml has xsd schema, that means each one has different possibilities but only few allows to conditionally hide element.
Maybe You can use:
<item name="formElement" xsi:type="string">hidden</item>
or disable element in xml.
Anyway if it's adminhtml I would start looking at xmls.

Additional custom page building hook for BuddyPress profile page

I want to create an additional page like in the picture below and I want to show the codes I want in the page, I researched but I couldn't get a result. What is the hook name I can do this?
https://prnt.sc/wccy4e
This gist shows how to add a simple nav tab + subnav.
If you want to load specific templates ( perhaps from a plugin ) into a custom nav screen, you need to use bp_register_template_stack, and the code becomes more complicated.
This is an example for adding a custom tab to groups and loading templates via bp_register_template_stack.

Shopify draft order custom items - Images

I have created an app that uses the Shopify draft order API to create a number of custom items based on interactions in the app so that the customer can checkout their items using Shopify.
I'd like to add image thumbnails to the items, ideally just by supplying a URL to the image file, yet I can not seem to find a way to do this in the API reference.
When creating a draft order via API call using custom line items, rather than existing products, is there a way to add thumbnail images on those custom line items?

BigCommerce Edit Finishorder.php page for custom stencil theme

We designed and developed a custom theme for BigCommerce using Stencil for a client.
After an order is submitted, the finishorder.php page is shown. I've attached a screenshot. We cannot find a way to modify this page. I know the checkout.php can't be edited other than targeting CSS, is the same true for finishorder.php? By default its showing base pricing. The customers' products use options to create the final price, so products appear cheaper than they actually are after a checkout. We would also like to style the buttons and modify the block listing the products that "Customers also liked" to match the rest of the theme.
Screenshot from Finishorder.php page
It is possible for BigCommerce staff to enable an editable checkout (checkout_express.html) and thank you for your order screen (order.html). This will appear under Design Options > More > Template Files and be accessible through WebDAV.

Querystring filter for PerformancePoint

Keep in my I am using Dashboard Designer, SharePoint 2010 and PerformancePoint Server 2010.
I have a dashboard homepage showing a KPI for sales, by brand. I added a custom property "View detailed report" on my KPI. When I click on that, I want to be able to go to a second dashboard page featuring 5 scorecards and 2 reports for my sales, by brand. The brand needs to be a filter.
Obviously, what I wanted to do is to tell my second page on which brand to filter by using a querystring parameter, something like ?BrandFilter=[Brand].[X].[Y] ...
But, in Dashboard Designer, you cannot (?) have querystring based parameters. I know I can do it directly in SharePoint (with the corresponding web part), but then when I deploy my dashboard again, I lose custom changes I do to my pages.
I tried to create a custom transform for scorecards that would read the querystring and add PageFilters, but I faced two problems:
1. I cannot access the HttpContext from there (of couse!)
2. That would not do it for reports.
What should I do? Drop Dashboard Designer and work directly in SharePoint? I wish there is a solution with Dashboard Designer!
Thanks!
I found a way to do that. I customized my scorecard generation (using C#) and added a javascript method to my master page to handle all the links that are clicked. When I click on a link in a scorecard, I get the parameter from the current URL and update a filter inside the page with that. I can share more details on request...