Questions tagged [widget-instance]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
1answer
3k views

Widgets not showing

I'm trying to create a simple widget that for example gets displayed on every site, but I can't get the widget to show. I'm also trying to add a standard Magento widget, but that doesn't work neither. ...
0
votes
0answers
56 views

Magento 1.9.4.0 CMS Block Widget Issue

I'm trying to add widget to cms block or page but when i add it only display short code on page and not render, i tried different magento default widgets results is same also tried using code on ...
0
votes
1answer
17 views

Host 2 Magento websites on single instance in aws

How can I deploy my second Magento website on and instance in which already one is running in AWS
1
vote
2answers
5k views

Magento Widget not showing up on frontend

I am trying to add widget instance from Magento Admin Panel for Categories pages left sidebar, Product pages right sidebar, Home Page main content. None of the widgets are appearing on frontend. Is it ...
1
vote
2answers
691 views

Magento 2 Add widget using WYSIWYG field in a custom widget

I have created a custom widget and it contains a WYSIWYG field. Everything works fine except the add widget option. When I add the widget it will displayed in the editor. When I click the save ...
8
votes
1answer
228 views

How to add Widget layout updates field in my custom module admin form Magento 2

I am working on a custom module where I want to add the following field in my admin form in have my admin form developed in using ui_component I want to add this field (in this picture) after a field ...
0
votes
0answers
20 views

Magento 2.3.3: How would I add a Color Picker to my custom widget options? [duplicate]

I need to add a color picker to my custom widget options how would I go about doing this? Thank you
5
votes
2answers
459 views

When updating a widget instance programmatically, layout updates are removed

I tried to update a widget instance as follows (where /PATH/TO and WIDGET_INSTANCE_ID should be replaced by the actual values: require_once '/PATH/TO/app/Mage.php'; Mage::app(); $widgetInstance = ...
1
vote
1answer
2k views

Magento 2 : Creating widget using install script

I have a custom module for megamenu. I want to create some widgets predefined for the module when the customer installs this module. I have added the below script for creating the widget(widget type: ...
0
votes
1answer
1k views

Magento 2 Get widget parameters as array

Is there a way to get all the widget parameters in an array instead of loading the data of a specific widget parameter like below? $this->getData('widget_parameter_1'); So, something like: $...
0
votes
2answers
213 views

How to create custom widget via Install?

I need to create widget category link via Upgrade. How to do this?
3
votes
3answers
3k views

Get Widget Instance Title

I'm creating a template for a widget and would like to echo the widget title in my PHP code. What is the proper way of doing that? The following does not work: <?php echo $this->getTitle() ?&...
0
votes
3answers
1k views

Magento 2: add classes and icons to homepage widget

I am working on a Magento 2.1.7 shop. To achieve this, I have created a child-theme of Magento Blank. On the home page, I have inserted a "New Products" widget via the Magento admin. I am using ...
1
vote
2answers
247 views

How to change widgets from one theme to another theme?

I am having magento site with more then 80 widgets, now i am looking to change theme , with new package name and theme(here i have two themes for mobile and desktop). what is the best way to copy ...
0
votes
1answer
189 views

Magento 2 Tabs widget - unbind arrow keys [closed]

I am wondering if there is any clean way to unbind keyboard (left and right arrows) from mage/tabs widget? This is how I init tabs in my custom-script.js: `var tabs = $('#element').tabs({ "...
2
votes
1answer
1k views

need to add custom template file inside form container magento admin

What i have tried is the following. I have a class which extends Mage_Adminhtml_Block_Widget_Form. Inside that i have the _prepareLayout function. Now i have set a block inside that function like ...
2
votes
2answers
451 views

Header static block/widget with image switch on browser refresh

I have 4 season sets of images. winter-images, spring-images, summer-images and autumn-images. Every set has 5 images which has to switch on browser refresh. I want to have them in 4 separate static ...
4
votes
2answers
4k views

How can I dynamically add fields to a widget's options?

I am creating a standard Magento widget. In the options tab for the widget I have a field. This field is for filters in the form of key:'value' pairs. I would like the user to be able to dynamically ...
2
votes
0answers
95 views

Change “magento widget” name in WYSIWYG

In Admin (WYSIWYG) How do I change the name (through code) of my custom widget to something else than "magento widget"? Is it possible to change the icon for it as well?
1
vote
1answer
121 views

Can't select cms page/blog or product/category widget

I realy hope you can help me with this... I have installed a brand new Magento at GoDaddy. Everything but Widgets works fine... The button that should appear in Plugin Detail are simply missing. No ...
0
votes
1answer
422 views

Widget of products with catalog rule

I've used the following function to retrieve the products to display products on a widget filtered by catalog rules. The products listed in view page shows that rules are applied. But the function ...
-2
votes
2answers
406 views

Align static blocks in footer [closed]

Trying to line up static blocks in footer. See picture - want to have all 4 link columns across page. Magento 1.9 Thanks.
3
votes
0answers
233 views

Per Store Widget Instance Block References

I have a multi store magento site set up. There is just the 2 Websites and a single store view each. They both use different themes of the same package. Now setting up a block in local.xml of Website ...