Questions tagged [cms-pages]

Denotes questions related to CMS pages.

Filter by
Sorted by
Tagged with
0
votes
2answers
33 views

Magento 1.9 homepage not updating

Magento doesn't update content on homepage (changed thorugh cms -> pages -> electronics-home). I can even disable the Electronics-home page and it doesn't change a thing. Any ideas?
1
vote
2answers
43 views

Magento2 - InstallData Cms Page with content from file

as the title suggests I'm creating a module that programmatically installs pages on cms_page, my problem arises when I want to load the contents of a phtml file and pass it as html into the array to ...
1
vote
1answer
15 views

How to fix “element is not expected” in a CMS page with no XML changes?

I'm receiving this error message which is mentioned below, but as you can see in the image there are no XML updates, neither content, how can I fix it? Please correct the XML data and try again. ...
5
votes
0answers
52 views

How to preview a cms page in Magento 2 admin panel

Is it possible to preview the CMS page before push live? I can't preview my page while creating a page on cms page in admin panel Magento 2. How can I preview?
0
votes
2answers
29 views

Image is not showing in frontend when we call the phtml file in CMS page

My requirement is to create a slider without using extension. So I have created a phtml file with the html code and script for slider and called this phtml file in a cms page. But in the frontend the ...
0
votes
1answer
16 views

Cannot open blocks, pages via Magento 2 admin

I have installed Magento 2.3 on xampp. I have tried to check the CMS pages, blocks via admin panel but its not opening instead it says the error Attention, Something went wrong How can I fix this ...
0
votes
0answers
16 views

Magento 2 Christmas advent calendar

Is it possible to create an advent calendar on a page? I want to lock the dates and only let the users view current date or previous dates to be clickable
0
votes
0answers
25 views

Magento 2: Allow switching store view on a CMS page with different URL keys

My store has multiple store views for different languages. When the user is on a CMS page (for example 'contact') and switches to a different store view, the URL remains the same so the user sees the ...
0
votes
0answers
7 views

Images in Imagebrowser not shown in Magento 1.9.4?

When I open the image in browser on a CMS page for example, the existing or uploaded images are not shown. They are uploaded correctly and are also shown in the editor and on frontend, its just the ...
0
votes
1answer
33 views

How to use if else in cms block magento 1.x

I want use if else like this code but it not working. Please help me {{if config path="system/config/path" == 1}} <p> ok </p> {{else}} <p> no </p> I create it in home page, ...
0
votes
0answers
27 views

Magento 2 : How to Create Recent Orders Block on CMS Page or Static Block

I want to call block on the home page of the store. how can I add recent order block on store home page from admin? Thanks I have tried this <p>{{block class="Magento\Sales\Block\Order\Recent" ...
0
votes
0answers
24 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
34 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" ...
0
votes
1answer
34 views

Custom Code CMS page header collapsed

Here is my cms page code, <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-...
1
vote
1answer
28 views

Magento 1 - how can i put review for CMS pages and articles

I want to put review and rating widget for products, I want to put review plugin for pages and article , How can I do this? thanks
3
votes
0answers
26 views

Display message from message manager above specific block Magento 2

I have redirection from controller to CMS page with custom message defined using messageManager. It show up the message before my CMS page content begins (below header part). but i want to display ...
0
votes
1answer
298 views

Magento 2.3.2 upgrade issues (category page, di compile, and cms pages)

Magento upgraded from 2.2.6 to 2.3.2, and there are issues: - All category pages are having error, "Undefined factory mysql". Exception #0 (DomainException): Undefined factory mysql Also di:...
0
votes
0answers
90 views

Undefined index: PK_MT_CMS_PAGE in vendor/magento/framework/EntityManager/EntityMetadata.php

I moved a Magento project from localhost to the server. its working fine in localhost but when I move it to the server and change the configuration (env.php and in the table) it's showing below error. ...
0
votes
1answer
26 views

How to display custom cms block on cms homepage when Full page caching is enabled

pleas help me with my problem. I try to display cms block on cms homepage via widget. It works only when i have full page caching disabled. Is there a way to display this block with FPC enabled? Any ...
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 ...
0
votes
0answers
32 views

Contact form in CMS page with form.additional.info

I'm trying to add the contact form to my CMS page. I can add {{block class="Magento\Contact\Block\ContactForm" name="contactForm" template="Magento_Contact::form.phtml"}} as indicated on this post ...
0
votes
0answers
10 views

show certain products in a category on home page in magento 2

I added a widget on a homepage and selected a categories from a drop down to include some items from a category (73)- I have 5 items to show up. I am not sure why but it only displays the 5 oldest ...
1
vote
0answers
85 views

Magento 2 : Create cms block store vise with same identifier

I want to create CMS block with same identifier. For ex. Testing is my identifier. But, content of testing is different in German store view and Russia store view. How to create store vise CMS block ...
0
votes
1answer
15 views

Text Pages Formatting

I would like to recreate the boxes with text in them (you can see them on the picture below) I have access to the html part but when i paste it on a new page, they appear as bullet instead of boxes:
1
vote
0answers
14 views

Backend listing grid view page not opening order listing cms page & block listing etc

Backend listing grid view page not opening order listing cms page & block listing etc.. Admin panel not able to load multiselect.html, text.html, html.html, actions.html and js file as per console ...
1
vote
0answers
16 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
0answers
13 views

catalog search and other pages does not showing for logged in users Magento 2

We are using a extension "Groups Catalog 2". A strange thing is, that our pages can't be shown for users that are logged in, but all pages a visible for users NOT logged in. I am not talking about ...
0
votes
1answer
185 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>
2
votes
0answers
33 views

CMS Pages are not reflecting changes even after upgrade-deploy-flush-clean

The problem is that the CMS pages are created once they are newly added. But when i edit and do changes from backend(admin) the changes are not showing even after upgrade and deploy which is followed ...
0
votes
0answers
23 views

Newbie to Magento 1.9 Website with Questions

I just took on working on an existing website that is using the 1.9 version of Magento. I am trying to update the "About Us" pages and other pages on the website, but for some reason, when I go to ...
1
vote
2answers
127 views

How to change footer and header for a CMS page only using layout XML?

I want to change out the footer and header for a minimized version but only on a certain CMS Page. Is it possible to do this with the layout XML input field to remove the header/footer and add static ...
2
votes
0answers
76 views

Magento 1.9 Remove Trailing Slash from Cms page URL

Duplicate Content Issue Example: https://www.example.com/test/ expectation: https://www.example.com/test
1
vote
0answers
75 views

Insert image in Magento CMS error

When we try to insert the image in cms page or cms block the popup not showing any images which we have uploaded as well as no button for upload image. Please check below image:
0
votes
0answers
35 views

How to add media url in bluefoot?

How to add the images in pub media using mediaurl in bluefoot.For example, I have the image inside pub/media/.instead of hardcoding the complete URL I used mediaurl. . it will work if we use Magento ...
1
vote
0answers
45 views

How to make checkout a static block / have identifier like static blocks or pages?

Can I make magento checkout to have an identifier/ID like static blocks and pages? What's the best practice or solution to do this? I'm currently calling out magento pages / static blocks through ...
3
votes
0answers
210 views

Custom Model Relationship (CMS Page + Product)

I am trying to assign a Product Object to a CMS Page Object, so when you have the CMS Page Object, you can do something like this: $product = $page->getProduct(); I have modified the CMS Page ...
0
votes
0answers
55 views

Magento 2 Multi Site with Subdirectories Setup

I'm in the process of rebuilding a clients site from their Magento 1.3 install to Magento 2.3 and am having a load of trouble setting up the multi site aspect... I've spent weeks googling and trying ...
0
votes
1answer
31 views

When hit the home page url, it shows contact us page as home page

I am facing a very unusual scenario for my web site. (https://zitomer.com) When we try to access homepage https://zitomer.com it displays contact us page as a homepage. What will be the issue? I am ...
1
vote
0answers
27 views

Magento2 - Get Widget from CMS Page

I have a cms page in backend, with one widget inside. Can i get the widget from html content of this page ? Because I would like to get the conditions of this widget. Like exemple : $toReturn = $...
0
votes
1answer
63 views

How to load database table records into the Magento CMS page

We have created a form using Magento CMS page. As you know, Form has many fields like Name, Email, etc. In our form, we have an input field called School. We have a list of schools in the database. ...
0
votes
0answers
44 views

Magento 2: country (Website) switcher

I´m planning to build up an international Online-Store with Magento 2.1, every single country is configured as one Web Site for each available local language, has got a dedicated Store and one Store ...
0
votes
1answer
21 views

Where to find the pages to modify content on magento 1.9

We have Magento 1.9 for our site. I am taking over, and I would like to make some changes on the pages of our site. It is my first time working with Magento, what I would like to know is where to find ...
1
vote
1answer
452 views

How to add Advanced Search form in Pages on homepage in Magento 2?

I am trying to add advanced search form as a block in Pages, but the following code is not working? {{block class="Magento\Framework\View\Element\Template" template="Magento_CatalogSearch::...
1
vote
0answers
98 views

Magento 2 - To show CMS pages in catalog result pages

How to show CMS pages in following format on catalog result pages. On Catalog search result pages, i want to show second section in the form of CMS pages after product list or grid based on searched ...
1
vote
1answer
22 views

Magento - Should I stop to write JS/CSS directly in the backend in CMS pages?

In Magento you can create CMS pages. It is also possible to add CSS and JS code, directly to the page, which I sometimes do for rather smaller changes and style fixes and such, because then that ...
0
votes
0answers
16 views

Update links in CMS pages to point to sub-domain

My Magento 2 website is set up such that it has a main store and several sub-domains. I have created a page with links to different categories and I want this page to be available for each sub-domain ...
1
vote
0answers
101 views

editing content pages and configuration hangs (spinning donut)

This has happened to me twice now: I get the site installed, I get the template installed, and eventually I start customizing the site and the content pages in the backend stop loading. The first ...
0
votes
0answers
21 views

How can I call JS-file on any page? Magento 2.2.6

I have a custom JS file. But when I try to call it - it doesn't work. I use that code on content -> pages -> my_page: <script src="My_site/file.js"></script> It's just an image-slider. ...
1
vote
1answer
48 views

Image not responsive on home page.

I've added an image to my home page and when I preview the home page from CMS pages in the admin the image is responsive. When I click on my logo the page is then fully responsive all except the ...
0
votes
1answer
111 views

How to set product Limit in cms page in Magento 1

I have created one cms page and in this page I have added below code: {{block type="catalog/product_list" name="home.catalog.product.list" alias="products_homepage" template="catalog/product/view/...