Questions tagged [widgets]

Administration, usage, and development of CMS Widgets

Filter by
Sorted by
Tagged with
0
votes
1answer
1k views

How do I make links open in a new tab using the category link widget?

I'm using the following code to create inline text links to categories based on their ID: {{widget type="catalog/category_widget_link" anchor_text="Some text" title="Some text" template="catalog/...
2
votes
1answer
3k views

Magento 2: use a chooser widget as a system configuration field

Is there an easy way to use the Magento\Catalog\Block\Adminhtml\Category\Widget\Chooser in my system.xml file for a field ? The idea is to be able to pick a category from the chooser widget to store ...
0
votes
1answer
914 views

How do i can extend or re-use Gallery Js Component of module Catalog in right way

This component is located in Magento_Catalog/js/product-gallery map: { '*': { categoryForm: 'Magento_Catalog/catalog/category/form', newCategoryDialog: 'Magento_Catalog/js/...
0
votes
1answer
392 views

wysiwyg widget not working in custom plugin module

In our Magento webshop, we have a custom plugin that was build by our template builder that we bought on themeforest a vew months ago. There is no support anymore on this template, so if something is ...
0
votes
2answers
190 views

Magento Widgets broken

In Magento 1.8.1.0 the button for layout update at CMS > Widgets does not work any longer. According to the Chrome Developer Tools it has to do with javascript and the notice I get is: Uncaught ...
1
vote
0answers
480 views

How to implement or extend product gallery widget

In template of module product-video. Widget productGallery called by data-mage-init attribute with template option pass through <div id="<?php /* @escapeNotVerified */ echo $block->getHtmlId(...
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 ...
2
votes
0answers
94 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?
0
votes
1answer
302 views

Can I extend a widget?

I want to add some fields to the widget.xml file of a third-party module. Can I rewrite this file? I thought duplicating it but the original widget could be used too.
5
votes
0answers
224 views

Magento 2 Widget Only displays image

I'm trying to add a standard widget from within WYSIWYG Editor, but it does not work, because only the image is shown. In the editor <p>{{widget type="Magento\Cms\Block\Widget\Page\Link" ...
1
vote
1answer
50 views

filter / hide 1 category that would not show up on “ new in the store” block ( home page )

On my site I have a category with adult products. When you click on it you going to have a popup that says you must be 18 to enter, everything is good there, but here's my problem: Every time I ...
0
votes
2answers
64 views

Converting block to widget after magento update

A few days back I updated a magento shop from version 1.7 to 1.9.2 . I quickly realized that I had to convert all the old {{block }} shortcodes to widgets. This worked fine except for one case: {{...
1
vote
1answer
3k views

How to add a full-width block above the content

How can you add dynamic content above the CMS content? I am currently trying to implement a full width banner slider above the content. The slider must be different on different pages so I need to be ...
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 ...
20
votes
5answers
43k views

how to create a form popup-modal in magento2

I am new to magento2. i'm trying to create a popup-modal for my new form. I have created a popup which works fine but unable to create a modal. Following is the code for popup which loads on page ...
1
vote
1answer
252 views

Widget Locations & Static Blocks (not working)

As you can see in the image above I have created a widget that will display on a specific page which I defined and created the static block that the widget will load. But I am only able to load the ...
0
votes
1answer
348 views

Custom Widget <source_model> ChooserModel run local, but not online

I have written a custom widget. It's run on my local installation (1.8.1), but not in my remote installation (same system). If i select my widget from the select box i get a fatal error: Fatal ...
1
vote
2answers
467 views

New products widget not sorting by creation date

I'm using the following code in my magento store to have a few new products on the main page of the store. {{widget type="catalog/product_widget_new" display_type="all_products" products_count="6" ...
1
vote
1answer
5k views

How can i call phtml file into cms page by using widget?

I have a phtml file mw/news/slider.phtml. I would like to use this file at cms page. So how can i do this by using widget ?
0
votes
1answer
224 views

problem with new widget

I'm trying to create a new widget. The development to admin works fine but not to frontend. Magento keep searching for my widget in mage. The widget.xml is aboce. Any clue/help? Widget.xml ...
0
votes
2answers
681 views

Move static block

I currently have a static block that appears in the left column. I'm looking to have it display at the top of the page instead. Is there an easy way to do this or do I need to delete and start over?
-2
votes
2answers
400 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.
1
vote
0answers
206 views

Magento WidgetInstance is not defined / Unexpected Identifier

Magento is throwing the following error in console when we load the CMS->Widget page there is also an error which I think is related, but what I haven't been able to solve. Uncaught SyntaxError: ...
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. ...
1
vote
1answer
1k views

Access custom widget parameters from helper

I have a widget where I need to get a parameter from user and then be able to use it inside my Helper/Data.php file. The widget looks like <?xml version="1.0" encoding="UTF-8"?> <widgets>...
0
votes
1answer
110 views

Magento registry in widget's template returns null

I'm trying to pass some data from controller thru redirection to widget's .phtml file. In sampleController.php: Mage::register('demo_access', (isset($request['paragraphText']) ? 2 : 1)); Mage::log(...
0
votes
1answer
37 views

How to allow themes to call my extension blocks through widgets

I have an extension that is structured like this: Myextension └── Mymodule └── etc │ └── config.xml └── Helper └── Data.php The data extends Mage_Core_Helper_Abstract and has ...
1
vote
1answer
52 views

Eav_Model and Widget_Form

What is the quickest way to render the attributes of a Mage_Eav_Model_Entity_Abstract in Mage_Adminhtml_Block_Widget_Form?
11
votes
4answers
19k views

how to implement Loader widget in magento2

I want to implement loader widget in magento 2, In my form i have placed one button <div style="display:inline; float:right; width:100%; margin-bottom:5px;"> <button style="" class="...
3
votes
0answers
231 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 ...
0
votes
1answer
126 views

System xml source_model name convention

In system and widget xml file of custom module I use source_model tag. First I used this: <source_model>modulename/system_requesttype</source_model> but then there was conflict with ...
1
vote
2answers
70 views

Module not outputting anything [closed]

Having an issue with a custom module I have just built. It's quite simple nothing heavy, but one day it outputted fine and now I get nothing whatsoever! It's driving me nuts! EDIT Here the module ...
2
votes
0answers
561 views

Magento new products widget

I am trying to create a CMS page which displays and paginates all the new products on a site. This first appears to be easy as there is a widget built in that lets you select if you want to use the ...
2
votes
1answer
715 views

How can I display tooltips in widget options?

It's easy to add comments and tooltips in system configuration options like this: <parameters> <field_name> <comment>this is the comment</comment> <...
2
votes
3answers
1k views

Widget “Design Package/Theme” field - How to update?

There's a dropdown field - "Design Package/Theme" when creating a widget which allows you to select the theme the widget will be applied to. This field is not optional. Once the widget is created, ...
1
vote
1answer
172 views

How to change the Name of the Widget? [closed]

In magento **CMS->managepages->Homepage->**in Content i have added a WIDGET called New Products. I want to change the Name of the Widget. IS there any way to change the name of the Widget.
1
vote
0answers
371 views

How to style recently viewed products horizontally [closed]

I've just recently moved my recently viewed products to just below my product detail page and above the header. However, the items show up vertical and I'd like them to be horizontal. Is there a ...
5
votes
0answers
263 views

Magento : WYSIWYG in custom widget

I have tried adding a WYSIWYG editor to custom widget I have created using the approach outlined at: http://behrendtio.github.io/2013/04/12/using-a-wysiwyg-editor-in-a-magento-widget/ However, when I ...
5
votes
1answer
844 views

Can we make Widget Options validaton in magento?

I have exactly same question asked over here: https://stackoverflow.com/questions/25291470/can-we-make-widget-options-validaton-in-magento I want to know is there any easy way I can validate my ...
1
vote
1answer
357 views

Can't See the Widgets page in Magento Admin

new to Magento, so apologies if I am missing required information.. please let me know if so and I will elaborate/add more info. I have inherited a project involving Magento for a large store (v 1.9....
0
votes
1answer
436 views

Time Widgets or Static Blocks

Is it possible to set a start/end date for Static Blocks or Widgets somehow? Or is this only possible with Banners? I know it would be possible to do this using CMS layout for specific pages or ...
0
votes
1answer
2k views

How can I move a widget block to the top of the content or sidebar area

I want to add a promo banner on my website. It's either in the content area or in the right sidebar. I thought it's good and easy to use static blocks and widgets. It's easy to control where it comes ...
4
votes
1answer
536 views

Magento EE 1.14.1 RWD not displaying Rotating banner widget

I'm testing Magento EE 1.14.1 using the RWD theme (rwd/default) and have come across the following problem. I've created a very simple banner which is just plain text. It is not associated with a ...
2
votes
0answers
572 views

Widgets + Static Block issue

I am struggling with an issue since yesterday, i really need some help from someone who is more experienced with magento. I have a problem with the Widgets/static blocks. Whenever i create a static ...
0
votes
1answer
1k views

html tags in widgets breaks edit mode

I've added 'p' tags to a textarea in a custom widget, but it seems like it breaks the edit functionality. In other words, after adding html tags the widget no longer shows up as a clickable element in ...
0
votes
1answer
321 views

recreating block structure getChild calls for templates on widget

<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml"> <block type="page/html_pager" name="product_list_toolbar_pager"/> &...
0
votes
1answer
1k views

Add to Cart overlapping Product Price - How to fix? (Magento Product List Widget) [closed]

This is regarding a default MAGENTO WIDGET - "Add to Cart" is overlapping price. I edited Styles.css, but it only changed Category Page Product Positioning. Need to know which file to edit to ...
0
votes
3answers
6k views

Trying to get Category URL in Home

I'm trying to get the Category URL in my Home page, I'm working in the file app/design/fronted/[package]/[theme]/template/catalog/product/widget/new/content/new_grid.phtml I've got this code above ...
0
votes
1answer
898 views

updating a widget using AJAX

I am adding a widget to a CMS page. Within this widget will be some ajax calls -- however, i'm unsure what / how I should call this layout block in the controller to update the frontend code. The ...
0
votes
1answer
138 views

Is it possible to add a template to a widget using $this->getchild?

I'd like to add some pagination for a widget that i'm adding to a CMS page. Is it possible to add a template to this widgets .phtml page or is there any other way for me implement this functionality? ...