Questions tagged [cms-pages]

Denotes questions related to CMS pages.

103 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
3answers
742 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 ...
6
votes
2answers
7k views

URL Rewrite: From category to CMS Page

I've created a CMS Page. URL Key = about/page1. I've created some Categories. One of them, category #1, it's called about. URL Key = about and its first subcategory, category #2, is named Page ...
5
votes
3answers
2k views

Magento Show Specific product on cms page

I want to show two configurable products on a cms page. The two products are under a sub category (id = 343). I've used below code in my cms page: {{block type="core/template" name="home.catalog....
4
votes
0answers
359 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 ...
4
votes
1answer
578 views

Extending magento 2 breadcrumbs through XML layout

Is there any method to extending magento 2 breadcrumb through XML layout in cms page in order to add parent page link?
3
votes
0answers
109 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 ...
3
votes
4answers
328 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. ...
3
votes
0answers
30 views

Custom Attribute listing

Hello I have created one custom attribute "Brand" with select box and add lots of brand for product. Now I want to display brand value with alphabets order in cms page.
2
votes
1answer
48 views

Magento 2: Page template is coming blank

I created a theme in magento 2 and in that theme i created a new page layout. I can see the page layout in my magento admin dashboard. So i assigned the page layout to my homepage. But now my ...
2
votes
0answers
34 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 ...
2
votes
0answers
150 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
2
votes
0answers
104 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.
2
votes
0answers
459 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 ...
2
votes
1answer
1k 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/...
2
votes
1answer
658 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.
2
votes
0answers
74 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.
2
votes
0answers
36 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 ...
2
votes
0answers
340 views

CMS page is not working

I have added one new CMS page. Its redirecting to homepage if preview clicked. I have also checked with default about-us page but still its redirecting to homepage. It should redirect to 404 Page if ...
2
votes
0answers
496 views

Magento 2.1 Enterprise Edition: CMS hierarchy nodes where page_id is NULL

I have noticed an odd issue with Magento 2.1 EE where we end up with hierarchy nodes as part of the Magento EE CMS hierarchy feature which do not relate to any page_id, see the attached screenshot ...
2
votes
0answers
1k views

Custom Field on CMS Page - Magento 2

How would I go about adding a custom field (image upload, specifically) to the CMS Page section? I'm looking to have a field where the client can upload an image, which then you can access it in a ...
2
votes
1answer
508 views

How to get customer registration form into CMS page

Is possible to create a CMS page with some content and Magento registration form .The registration form will function same as the default register form,when submitting the registration form the data ...
1
vote
1answer
35 views
+50

Cms page custom layout update file for multiple pages - Magento 2.3.4

In Magento 2.3.4 you can add custom layout update via XML files, using cms_page_view_selectable_<PAGEIDENTIFIER>_<CUSTOMNAME>.xml format. But what if I want to apply this layout update ...
1
vote
0answers
23 views

Custom Form Call using CMS page will not show Magento 2 Captcha code

When i call form using direct URL http://192.168.1.35/m234/customemail/index/index OR http://192.168.1.35/m234/customemail/ it will show Captcha code but when i call this same form using CMS page like ...
1
vote
0answers
21 views

M2 - Variables empty in CMS Pages

No matter if System Variable or from the STORES > CONFIGURATION > Store Information fields, I can not output variables in cms pages. It feels like I'm missing something so basic, that I can not even ...
1
vote
2answers
97 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
31 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
1
vote
0answers
268 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 ...
1
vote
0answers
19 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
18 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 ...
1
vote
0answers
82 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:
1
vote
0answers
52 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 ...
1
vote
0answers
35 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 = $...
1
vote
0answers
160 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
0answers
119 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
108 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:
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 ...
1
vote
0answers
62 views

Importing CMS pages from Homestead to Magento 2.0

We are using Magento 2.0. Our previous website was on Homestead CMS. We want to bring all the pages from homestead to Magento 2.0. Please help
1
vote
1answer
874 views

Magento 2 : How to Remove Container Div From CMS Page

How to remove container block from cms page for particular layout. I have created new layout and apply on cms page but not able to customize it. Below my custom layout code: app/design/frontend/...
1
vote
1answer
107 views

M1.9 Jquery issue in CMS page

In my Magento installation I have JQuery 1.10 already included but I need to have a newer version of it. I added the latest version of JQery via the xml update tab in the cms page and I wrote my ...
1
vote
0answers
30 views

What is the difference between adding CMS Static Block into CMS Page Content & Design?

What is the difference between adding CMS Static Block into CMS Page -> Content and CMS Page -> Design?
1
vote
0answers
21 views

Add product manual search

I need to add an option for searching product manuals. I have some pdf files as manuals which stored in folder named as it's manufacturer. Ex: manufacturer is ABC and manuals are abc-prmanu1.pdf, abc-...
1
vote
0answers
23 views

CMS Page Not Loading Automatically on backend

On our magento backend, we have encountered an unusual issue. When we try to open a CMS page via CMS>>Pages & then select(click) page name. Now as there are two parts Left Side(Menu) & Right ...
1
vote
1answer
333 views

Add css to cms page doesn't work

I want to add css from module to my custom cms page like this: <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:...
1
vote
1answer
595 views

Magento 2 Image upload on CMS page

<field name="page_image"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> <item name="dataType" xsi:type="string">image&...
1
vote
2answers
2k views

Convert cms page content to html interpretation Magento 2

in my root.phtml, I can call for cms page content with : <?php echo $layoutContent; ?> but I wanted to use $cmsPage->getContent() instead : <?php $objectManager = \Magento\Framework\App\...
1
vote
0answers
51 views

Magento 2.1 loop through CMS pages

I created a custom attribute in the ui_components of the cms_pages. The custom attributes shows up in the admin section, saves to the database and can be seen on the front side of the website. The ...
1
vote
0answers
398 views

Hardcoded OG (Opengraph) tags on CMS homepage Magento 2

On magento 1 I had a code snippet that would tell if the currently loaded page was a cms page, or a particular page and I could use that code to implement the OG tags for the homepage. Facebook doesn’...
1
vote
0answers
351 views

Magento : Layered Navigation on CMS Page is Only Filtering by 'Default Category'

I have a CMS page which displays products filtered by attribute (using 'Product List Plus' Magento extension widget). I am trying to get layered navigation to display on this CMS page to be able to ...
1
vote
0answers
585 views

How to call custom created phtml file in Cms page in magento 2?

I am finding a way to call my custom created phtml file in Cms page. The file is located in Magento_catalog > product > bestseller.phtml, And the way which I am trying is - {{block class="Magento\...
1
vote
0answers
27 views

M2 - Have client be able to edit/change header on each CMS Page?

I have a client that wants to be able to change the header themselves through the admin (with css) so it can be different on each CMS page. They want this because their current header is transparent,...