Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cms-pages]

Denotes questions related to CMS pages.

1
vote
0answers
18 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
12 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
12 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
15 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
27 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
30 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
21 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
72 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
58 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
49 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
23 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
38 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
99 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
25 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
30 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
23 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
37 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
29 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
126 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
33 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
13 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 ...
0
votes
0answers
50 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
20 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
42 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
59 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
110 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
36 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
64 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
69 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
37 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.
0
votes
2answers
850 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
46 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:
2
votes
0answers
218 views

Magento2 get url of all CMS pages using their identifiers

I am preparing one common array which returns the complete details of all CMS pages. In this array, I need to pass the URL of all cms pages. I do have an identifier of all pages. How can I get the URL ...
0
votes
0answers
61 views

Add extra slashes(\) when save block or widget

On cms page or block when i try to save that contain block like <p>{{widget type="Magento\Cms\Block\Widget\Block" template="widget\static_block\default.phtml" block_id="8"}}</p> It ...
0
votes
1answer
506 views

Show all products on one page in Magento 2

I need a page where all products should be displayed. All products from all categories, also including filters by attributes. I have tried to use the following block {{block type="catalog/...
0
votes
5answers
920 views

How can I add a footer block to all the pages?

I have been had a little problems by customizing luma's default footer, for that, I decided to delete it and in its place add a new block that i created in the admin. I deleted the footer (not ...
1
vote
1answer
103 views

How to show particular cms page for specific user group?

I want to show different homepage for wholesale customer.
2
votes
1answer
84 views

Pages that Magento 2 frontend comprises of

I am trying to understand Magento frontend. I stuck at a question that the types of pages are available for frontend. I mean to say like pages -product grid page, checkout page. I want to know all the ...
0
votes
0answers
22 views

Magento 2, page_id gets disappear form cms_page_store table

Facing weird situation: I created home page few days a go. Today the store had no cms page assigned for home page. After checking I realized configuration was set to cookie page and page_id ...
0
votes
1answer
73 views

CMS Image Padding - Magento 2

Have added two images to same line, they auto fill the width - but how can I remove the padding between the images? And remove the "line break" so I can have e.g. 4 images (2x2) without any padding ...
2
votes
4answers
2k views

Magento 2 : Add custom js to a single CMS page

I am trying to add custom js to a single CMS page in Magento 2.2.5. Here is what I got: I have put the rellax.min.js file at :/app/design/frontend/TemplateMonster/md/web/js And I want to use that ...
0
votes
1answer
30 views

How can I dentify or select cms_blocks that are associated with certain cms_page

I am trying to pull cms blocks that belong to a certain page. i saw that blocks are stored in cms_block and pages stored in cms_page. I tried to create a query that might help me pull this data. ...
2
votes
1answer
58 views

Create a new page magento 2

How to create a new page in magento 2, i don't want to use block. When i click on "rubrique x" it will lead me to my URL /nameoff my page and not /my page.html
2
votes
1answer
210 views

Magento 2.2.2 - Redirect user to CMS page based on IP using Observer

events.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd"> <event ...
0
votes
1answer
14 views

How to set unique page in one specific store and leave the rest stores with default one?

I have 4 stores and I'd like to set unique page (lets say I'd want one page to be translated and the others not) to just and only one store. Other stores should have "default" page view. I've tried ...
2
votes
1answer
323 views

Magento 2 : How To Add Cms Block on Home Page After Megamenu

I need to create a link from cms block to the home page to render the contents in storefront.
1
vote
2answers
364 views

Set Custom CMS page as a home page programatically in Magento 2

How to set a custom CMS page as my Magento home page programmatically.