Questions tagged [cms]

Denotes questions for the CMS section.

Filter by
Sorted by
Tagged with
2
votes
2answers
27 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
20 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 ...
0
votes
0answers
23 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
45 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
22 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
25 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
19 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
26 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
22 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
22 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
34 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
17 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
26 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
56 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
29 views

How to show infinite scroll of products list on home page?

I want to show a list of random products showing on infinite scroll through ajax or something. Currently, I'm using an extension Infinite Scroll by Landofcoder and it's working fine on the product and ...
0
votes
0answers
163 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 ...
1
vote
2answers
176 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
20 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
84 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
18 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
74 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
72 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
40 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
30 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
47 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
186 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?
0
votes
0answers
21 views

Content Loss When Saving a Magento 2.3 CMS Block

First I saved my code After saving, he disappeared
1
vote
1answer
305 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
85 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
30 views

Rich Snippets for Google Local Store - Add to CMS page in Magento1

For a Magento1 store, we are looking to add rich snippets to various CMS pages. To allow Google to pickup the data for the website's different store locations. We have seen plugins that allow you to ...
0
votes
0answers
36 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
19 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 ...
0
votes
0answers
24 views

Styles script added in Content is missing after saving

Why is it everytime I put a style code (not inline) in the content in Magento backend, it is gone after saving? But the styles are still in effect. Where are these codes saved? I know that the proper ...
2
votes
3answers
236 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
85 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 "...
0
votes
1answer
28 views

Unable to remove content from homepage

I'm trying to remove content from my homepage. I have just installed a theme and even if I set a blank page as a default page (homepage) the content get's added. I tried to figure out if it's a file ...
2
votes
1answer
291 views

while saving admin cms pages getting 404 not found only for files in magento 2

while saving admin cms pages getting 404 not found page in magento 2 already permission for pub/media 777 var 777 how i can solve this i'm using magento 2.1.11 Edit1: I created new cms ...
1
vote
3answers
38 views

How to redirect page to cms page ie.(carrer.html) via controller file?

Mage::getSingleton('core/session')->addSuccess('Your inquiry was submitted and will be responded to as soon as possible. Thank you for contacting us.'); $this->_redirect('*/*/'); return;
3
votes
1answer
227 views

Magento 2.3 How to create custom cms page url?

I have use Magento 2.3 Question: How to modify custom CMS page URL structure? For example: I want to this type of page link. http://mydomainxyz.com/parent-service/childpage At present we are only ...
3
votes
0answers
163 views

Magento 2.3.1 CE Tinymce Error

We have upgraded Magento from 2.2.3 CE to 2.3.1 CE successfully. But we are facing few issues with the Tinymce js from admin end product edit page and cms pages etc.. when using Show/Hide Editor.. ...
1
vote
1answer
542 views

How do you configure a dynamic block for a customer segment in M2C?

Using Magento Commerce (nee EE) 2.3.1, how do you configure a Dynamic Block to render for a specific customer segment? The stock Magento documentation: https://docs.magento.com/m2/ee/user_guide/cms/...
0
votes
1answer
627 views

Magento 2: Header and footer not loading in custom module's CMS layout

I am developing a custom theme which inherits from Magento/blank. I am attempting to develop a CMS homepage layout within a custom module. I have created the module and successfully applied the ...
1
vote
0answers
19 views

cms pages and block is not loading in backend

CMS pages and blocks won't load in the backend. It keeps loading and loading without not showing any pages or blocks. I reindex, compile, clear cache... But nothing changed. Any help would be much ...
0
votes
1answer
838 views

How to add iframe tag in CMS page in Magento 2.2

How to add iframe tag in CMS page in Magento 2.2 <iframe src="https://google.com" frameborder="0" width="500" height="900"></iframe>
1
vote
1answer
162 views

Using {{store}} directive to get url for different store view

Scenario: In a static block, I need to generate the url for a specific page but not in the current store view, but to a specific store view / website. Question: Is there a combination of parameters ...
0
votes
1answer
297 views

how to check customer logged in or not in cms block page in magento 2

i have cms custom header page i want to check when click on (custom header) it will check customer logged in or not i already try this $objectManager = \Magento\Framework\App\ObjectManager::...

1
2 3 4 5
14