Questions tagged [cms-pages]

Denotes questions related to CMS pages.

Filter by
Sorted by
Tagged with
1
vote
0answers
46 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
293 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
70 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
31 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
98 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
66 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
22 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
621 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
132 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
23 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 ...
1
vote
0answers
111 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 ...
1
vote
1answer
51 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
162 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
269 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
3answers
179 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
94 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
193 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
3k views

How to create custom cms page layout file?

In Magento 2, is there any solution to creating a 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
88 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
391 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 ...
1
vote
1answer
876 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
2k 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
194 views

How to show particular cms page for specific user group?

I want to show different homepage for wholesale customer.
2
votes
1answer
86 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
1answer
140 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 ...
3
votes
4answers
5k 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
40 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
67 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
363 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
15 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
546 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
551 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.
1
vote
0answers
61 views

Custom CMS page not showing in specied pages list of widget page in Admin - Magento 2.2.4

Hi I want to add a widget in my custom CMS page, but my custom page is not coming in list of specified pages dowpdown under layout updates in widgets page.
3
votes
4answers
306 views

Magento 2.2.5 page and block module not displaying grid and button

I just installed Magento 2.2.5 but in admin > content > page the page grid and the button are not displaying. Even in the block the same issue happens, records grid and button is not displaying. ...
0
votes
0answers
150 views

Toolbar not display on catalog search magento 2.x luma theme

When I search any product Toolbar and Pagination is not showing on the Catalog Search page. But it is Working on my local server. Magento V 2.0.17 Custom Luma theme PHP 7.0.3
2
votes
1answer
44 views

How to include CMS page in the phtml page in magento 2.2

I want to include the CMS Page in a phtml template. How can I achieve this? Can anyone help me over here?
0
votes
1answer
764 views

Magento 2.2.4 particular page cache disable using the observer OR any other method [closed]

I want to create observer for particular page cache disable.
2
votes
0answers
33 views

Magento2: css file modification does not apply

I am using Magento 2.2.4 and I need to design my website with the size of 70%. I am trying to override the css by a theme /custom_theme/web/css/style.css file as follows. But it didn't work. How to ...
0
votes
1answer
26 views

Navigation menu not working for the new cms pages added?

Website is already been done right now while I am adding new cms page and linking it to menu it is working fine in desktop when I open it in mobile and when I open that new page then navigation bar is ...
1
vote
1answer
28 views

Get cms page in template file does'nt work after edit cms page Magento 1.9

I have loaded a cms page in a template file. But after an edit to the cms page, I get an white page instead of this cms page. I am using the following line to get the cms page. echo $this->helper('...
0
votes
0answers
34 views

content information of all cms pages is not shown

What do i have to do in order to get the content information of my cms pages to be displayed. Maybe a screenshot could show the problem a bit better:
6
votes
3answers
574 views

How to add on scroll animation in magento 2 using AOS (Animation On Scroll) Jquery?

I have tried to add on scroll animation in my Magento 2 cms page. I used AOS Jquery for that. I have added the js and CSS file and initialize AOS through cms page but It will shows Uncaught ...
0
votes
1answer
593 views

Removing javascript and css from specific cms page in magento1

I am trying to remove the css and JS for a specific CMS page but none of the JS or css are being removed. Here is the code that i am using to remove the css and JS <layout> <reference ...
2
votes
3answers
597 views

Load my regsitartion page in CMS page - Magento 2

My registration page is coming from path: /app/design/frontend/Mgs/claue/Magento_Customer/templates/form/register.phtml I am trying to load that in a CMS page. Not sure how to do that. Tried many ...
1
vote
3answers
850 views

Magento 2 Content blocks and pages won't load

Ground floor beginner here. Fresh M2.2.3 install, the first thing I did was to change to production mode. I did these steps: opened app/etc/env.php Set 'MAGE_MODE' to 'production' Cleared all cache,...
1
vote
1answer
152 views

Showing certain product price on an cms page

So I am trying to show a certain products price on an cms page. Is there anyway that I can do this? I have a hardcoded landing cms page and I wanted to display dynamically a price of a certain ...
2
votes
3answers
673 views

what is the difference between cms page link and cms static block. Catalog product link and catalog category link

I know about catalog new product list, and how to make them show on the home page using the widget. But am having a hard time understanding the difference between cms page link and cms static block. ...
0
votes
1answer
573 views

how to add cms page jquery in magento 2

how to add cms home page jquery in magento 2 jQuery(document).ready(function($){ $(".home-banner").insertBefore(".page-main"); }); Please advance thanks for help
1
vote
0answers
2k views

How to get data from custom table and display it in page in Admin Panel?

I am new to Magento. My Magento version is 2.2.3 I have created the page as explained here Magento tutroial. Now I want to get the custom table data from database and show it in html table in the ...