Questions tagged [cms]

Denotes questions for the CMS section.

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

Magento Snippet code in CMS not working with double curly braces {{}}

My 3rd party plugin company ask me to Snippet in this code to my CMS page. but Magento did translate something else for the double curly braces. How can I Snippet in below code to the CMS page? <...
0
votes
0answers
25 views

How to call .phtml file in my CMS page? [duplicate]

In my CMS page, I want to call a few phtml files that are similar to product view page. Basically, I want to create something like this: After enabling template hint, I was able to see the .phtml ...
0
votes
0answers
31 views

How to call phtml file to in CMS page?

I am really new to Magento, I need advise on how to recreate product view page (see picture) and include it in my CMS page. I have created a CMS page that will list multiple products. I want to reuse ...
0
votes
0answers
14 views

How to show customer data ( name, surname, address ) on my custom checkout step after shipping step?

I have created custom checkout step after shopping step. Now i need to show there customer's information from shipping step (first name, last name, address, city, country, phone number, etc ) and his ...
0
votes
0answers
13 views

How to create button on payment step to clear the shopping cart?

I need to make a button on payment step, when clicking on which shopping cart will be completely empty. I don't how to realise removing items from shopping cart and how to put the function on button.
0
votes
2answers
24 views

Currency conversion in CMS page

I need to put some prices into a CMS page. How can I insert and display them accordingly to the currency selected?
0
votes
1answer
22 views

How to add navigation menu in a custom landing page

I am trying to create a Landing Page for my Magento site. I created this by creating a new CMS page through Admin/Content/Pages. I'm wondering if I can add a custom sticky navigation menu to this page?...
0
votes
1answer
33 views

Magento 2 - Add button to the Header links

I am trying to add a button called "social media" to be beside the Storeview switcher. I tried to follow the answer in: Magento 2 - Add a Custom Button to header.phtml So I created a CMS ...
0
votes
1answer
18 views

Magento directing all link for pages and admin to old domain except the homepage

I have done all magento things which were supposed update the core_config data table setup:di:compile setup configured base_url through command line and also done with n98 My site home page is only ...
1
vote
1answer
86 views

How to Show Static CMS block in Magento 2 html file?

I want to Show Static CMS block in Magento 2 html file.
1
vote
0answers
25 views

Shop by brand on CMS Page

How to shown Layered navigation like shop by categories or shop by brand on left side of CMS page, in Magento 2.3.5
0
votes
1answer
23 views

How to enable AdobeStock integration?

I have a Magento 2.3.4 installed and I installed the AdobeStock integration via the official repository. https://github.com/magento/adobe-stock-integration How could I enable it via the admin panel?
1
vote
1answer
52 views

Add custom to field to CMS page based on template in Magento 2

I have several custom fields I added to my CMS pages but I only want them to show up on the backend if the admin user selects a specific template. For example, the text field "doctor name" ...
0
votes
1answer
203 views

Hide CMS static block programmatically in Magento 2

I need to Hide static cms block "block-id-1" from frontpage programmatically customer group based. I need to add event to hide cms static block or any other method. I want to use admin ...
0
votes
0answers
73 views

Magento 2 - On opening CMS page its showing error “This page isn’t working”

I have Magento 2.3.4 installed on my website and when i try to edit CMS pages then its showing following error in the browser and in the error log its showing following error 2020/06/12 07:50:43 [...
2
votes
2answers
61 views

How to Edit Layout Update Xml for CMS Page in Magento 2?

I just migrated from Magento 1.9.3.4 to Magento 2.3.4, I noticed some of the page content is missing when I accessed the page that was created from cms page. Then I look at the cms page edit page, ...
0
votes
0answers
25 views

Magento 1.9 - How to get contact Us page on Category -> Display Setting -> CMS block?

I have contact us page on my website URL like website.com/contact I want if i click my category show contact page. I am created CMS Static block: And assign to category page: if i click category ...
1
vote
0answers
113 views

Getting error while reindexing in magento2

While re indexing in magento2 getting below error Fatal error: Uncaught TypeError: Return value of Magento\PageBuilder\Model\Stage\Preview::isPreviewMode() must be of the type boolean, null returned ...
0
votes
2answers
170 views

data-mage-init breaks in cms static blocks or pages - how do i get an accordion?

I have been trying to have some blocks with collapsible content, but to put them in cms blocks so the text can be maintained by a normal human I have found, thanks to previous stack discussions, that ...
0
votes
1answer
26 views

Where is the email template for the new user, created by admin from cms. Magento 2

I have to make an email template, that is sent when the administrator creates a new account. I made a template, but in cms I can't see where it is used. I was looking for it in: - stores/configuration/...
0
votes
1answer
34 views

How to add cms page URL in sitemap.xml

How to created sitemap.xml last week in my production site. Today I have created a new CMS page. How do I add this page's URL to sitemap.xml? Please provide me a solution.
0
votes
1answer
23 views

Make specific page in magento as not cacheable

I want to make a specific cms page to be set as a non-cacheable page. Is there is a way to add XML code in layout update to achieve same I'm calling block in page HTML with code as below <p>{...
1
vote
2answers
28 views

Changing icon on CMS homepage

I am new to Magento. I am trying to make changes in CMS homepage. The page looks like this: I am able to change page title and heading from cms_page table. But not able to find way to change the ...
0
votes
1answer
34 views

JS gets automatically removed from CMS page

I am trying to add some JS to the CMS homepage. I tried to add an external js file as well as adding the code directly. See code below. When I save the CMS page and test everything the js works fine. ...
0
votes
0answers
20 views

PHTML receives no response from the Ajax Controller

In order to be able to load the product list according to the customers' selection, I tried to use an Ajax query. However, I have the problem that I do not receive the response from my controller. The ...
0
votes
1answer
24 views

Dynamically generated block identical for all clients - Why?

I use PHP to create the content of a block dynamically on a CMS page (created via the admin portal). But I found out during testing that the first generated block remains active for all clients until ...
2
votes
1answer
40 views

Add a custom/programmed block to a CMS page

I have created a page using the CMS (via Admin Portal) and now I want to add a custom block (programmed) to the page. You can see the created page here: My structure is the following: but ...
0
votes
0answers
18 views

Issue while adding image in the custom attrbute

I upgraded Magneto version from 2.2.5 to 2.3.3.Then I created custom product attribute at admin back-end. When I try to Insert Image using text edit it show the error Please tell me how can I fix ...
0
votes
0answers
28 views

Magento 2 CE - backend system.xml page tree

Is there any way to add to a config variable Cms PageID order wise (like a drag and drop) in configuration? I use a simple cms page retriever but there is no option to order page. <source_model&...
1
vote
1answer
374 views

Magento 2 : create newsletter subscription CMS page

do you have any reference that can share, how to create a CMS page that has a newsletter subscription form in it? I don't need an extra column for the data. Once the user subscribes there, it will ...
0
votes
0answers
20 views

Website unreachable after edit

every time I try to edit my CMS page and press "Save" I get a "Website Unreachable" error, IDK why. It just happening whenever i using <script></script> For example: <script>var ...
0
votes
0answers
502 views

Notice: Undefined index: PK_CMS_PAGE in \vendor\magento\framework\EntityManager\EntityMetadata.php on line 96

I shifted my site from server to local. But it shows an error like this: Notice: Undefined index: PK_CMS_PAGE in \vendor\magento\framework\EntityManager\EntityMetadata.php on line 96 can ...
2
votes
2answers
498 views

Magento 2 graphql get the cms block based on store

I am trying to get the cms block based on store, but it is alway returning the default store block content. The query I used : { cmsBlocks(identifiers: "login-data") { items { identifier ...
0
votes
0answers
26 views

Unable to get only Image URl in Magento2 Custom Widget

I have requirement of Image in the widget and i have using Wyswigy editor to add image, but i Image url to be wysiwyg/pic 01.jpg but i am getting <img src="{{media url=&quot;wysiwyg/pic 01....
0
votes
1answer
197 views

Magento 2 - can't upload images in CMS (File validation failed.)

I try to upload a small (900 KB) .jpg image to my CMS Site, but I get File validation failed. I made sure that I have all necessary permissions as stated in the magento documentation. find . -type f ...
0
votes
1answer
41 views

Where will the newly created cms page with admin panel appear in magento files?

i have to render a page depending upon the logging in customer. so I need to create two home pages basically. If i create a new cms page with admin panel then where it will appear in files because i ...
0
votes
0answers
19 views

How can I use a block I created in my plugin to be used as a CMS block?

What am I trying to achieve? I want to show a block of my plugin on every product page of a specific category. What my problem is right now. In the Magento CMS you can add XML layout to a category ...
1
vote
0answers
20 views

How can I add default breadcrumbs to cms Page?

I want to add to my home page (Cms) the breadcrumbs on top, I have allready enabled it in the admin area and also added it in the layout file like so: <referenceBlock name="breadcrumbs"> ...
0
votes
1answer
133 views

Create block and use it in template - Error filtering template: Invalid method

I created a block and a template. I call the template in a CMS site. Block: \app\code\Fekete\Newsletter2Go\Block\Form.php <?php namespace Fekete\Newsletter2Go\Block; /** * Dashboard Customer ...
0
votes
2answers
153 views

Magento 2 - find out if text is from static block

I try to replace the footer with my own, but I have no clue how. I activated template hints, but it does not show any hint if this is a static block. How can I modify this ?
2
votes
1answer
45 views

the word “UPDATE” causes CMS page not to save Magento 1.9.4.2

Here's a strange one... I'm editing my privacy policy page in CMS>pages and copy/pasting the text out of notepad++, then formating with the wysiwyg editor in magento, then cleaning up the html that ...
0
votes
1answer
53 views

Blackbird Advanced Content Manager 2 - Get date created/published/modified in php template?

I'm using this module 'Blackbird Advanced Content Manager 2' for blog posts. I want to get the date created / published / modified and output it in the php template. There is no mention of this ...
1
vote
1answer
80 views

Magento 2: How to not use URL /home

By default, Magento uses the URL key 'home' for the CMS homepage. The problem is that the homepage now has 2 URL's. http://example.com/home and http://example.com/. I don't like this behaviour, it ...
1
vote
1answer
268 views

How to customize the page via Layout Update XML section in a CMS page?

I'm trying to add a new CMS block into the sidebar and remove all other blocks there, using only the Layout Update XML section in a CMS Page via the admin panel, how could I do it?
1
vote
1answer
472 views

Magento 2 Custom Product block using SKU in cms page

I want to display custom product block in cms page . I have sku of the products . No how can i display this product in cms page . I know how to display one product using sku . But is it possible to ...
1
vote
0answers
181 views

Magento 2 add CMS block under discount code section on the checkout page

I want to add third party JS code and HTML on the checkout page under discount code section. To add it under discount code first in Checkout_index_index.xml file I have added following code. <?...
0
votes
0answers
37 views

CMS page Header alignment issue

My cms page : content: <div class="container"> <div class="list-group-item list-group-item-success"><h1>giri.in</h1></div> <div class="row jumbotron" ...
2
votes
1answer
38 views

How do I add in jump marks (bookmarks) into a CMS page on Magento 1.9?

I am trying to create an FAQ page for our website on Magento 1.9 and I want to list the questions at the top and then jump link them to the answers. I am using the CMS creator. Does anyone know how/if ...
2
votes
3answers
451 views

WYSIWYG editor inserting &quot; instead of correct " in 2.3.0 when we use any anchor tags

I am facing an issue with Magento 2.3.0+ WYSIWYG editor inserting " instead of correct " and also when we write like <a href="{{store_url}}sales/guest/form/">Orders and Returns</a> ...
1
vote
2answers
190 views

How to add links to CMS page on default magento header in magento2

I had created a About US cms page from Admin panel(Content->Pages) Now, i want to add link to this CMs page in the header of my website. In the above image i want to add "About Us" link next to "...

1
2 3 4 5
14