Questions tagged [cms-pages]

Denotes questions related to CMS pages.

Filter by
Sorted by
Tagged with
0
votes
0answers
14 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
29 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
24 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
23 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
32 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
32 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
27 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
2
votes
0answers
16 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
154 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
49 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
23 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
50 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
13 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
12 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
65 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
108 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
71 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
61 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
31 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
43 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
162 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
36 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
26 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
48 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
41 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
315 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
65 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
15 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
92 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
46 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
96 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/...
0
votes
1answer
171 views

How Can I display All products in one cms page in Magento 1?

I am using Magento 1.9.3 There are 8000 products in my website and I want to display all of them in one cms page. I have added below code in my cms page: {{block type="catalog/product_list" name="...
0
votes
0answers
43 views

Magento 1.9 - local.xml Template Block Not Loading when form.phtml Is Called from a CMS Page

The title is probably somewhat confusing. I'll explain as best I can. I built my own little custom CAPTCHA module for the contact us page. I modified form.phtml for my current theme and the CAPTCHA ...
0
votes
3answers
111 views

How to programmatically create multiple CMS pages at once?

I am working in Magento 2 and I am needing to create multiple CMS pages all at one time. I am trying to set up an Install script to do this all at once. Every tutorial and search that I look up shows ...
2
votes
0answers
72 views

How to get website/store id in the cms blocks/pages Magento2

I'm checking this for long time but couldn't get this.I would like to display the website id through the magento cms block/pages.Without calling it from phtml's. Thanks in Advance.
0
votes
1answer
73 views

How to display the custom module on home page in magento 2?

I have custom module by calling the controller in url address bar. How to display the custom module in home page. Should i create block?. How to call below or above the content.
1
vote
2answers
2k views

Magento 2 : create custom cms page layout file

In Magento 2, is there any solution to creating custom layout XML file for custom cms page? I want to add XML code and CSS and Js only for my custom cms page. I know about there is one field ...
1
vote
1answer
62 views

How to create page with left sidebar In magento 2.1.15?

I want to create page or block with sidebar. if I click customer service then I want to see customer service info etc. 2nd Image : 3rd Image: