Questions tagged [cms-pages]

Denotes questions related to CMS pages.

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

Magento 2: How to add a phtml bloxk in cms page only?

I want to add a phtml but this phtml should only visible in all cms page only ? how can I implement this using layout XML method ?
0
votes
0answers
3 views

Magento deletes all links in editor

I edited our homepage but every next day all links disappear. When I add them and save the page it's ok but then the next day they disappear again. Is this some kind of bug? How can we solve this? ...
0
votes
1answer
10 views

I want to make full width of all cms page. now it is max-width of 1280px. i want to make it to 1720px. how can i change

I want to change max-width, but it is not overriding in custom-theme. how can i change Here is the css style . @media (min-width: 768px), print .navigation, .breadcrumbs, .page-header .header.panel, ....
0
votes
1answer
20 views

Button click to show custom static block in popup in magento 1.9

I have a custom static block and on my CMS page, I have a button, when the user clicks the button, I need to show the static block in the popup. How can I achieve this in Magento 1.9, can anyone help ...
0
votes
0answers
8 views

How to include Toolbar in home page with Magento_CatalogWidget

I have created a CMS page in Magento 2.4.1 back end, and added the following widget: {{widget type="Magento\CatalogWidget\Block\Product\ProductsList" title="Featured Products" ...
0
votes
0answers
8 views

GraphQl does not return CMS page having CMS block

I have created CMS Page which have custom CMS block. {{block class="Magento\Framework\View\Element\Template" template="Vendor_Test::cms/vendortest.phtml"}} This CMS Page gets ...
0
votes
0answers
8 views

Magento 2.3: How can I change the language of the tiny editor?

I am currently trying to type with a Spanish keyboard and it does not allow me to type accents. As I show in the image, when I try to write an accent, it adds the character without first writing the ...
0
votes
0answers
11 views

How to create static Image Grid Gallery similar to Category Page's Product Grid gallery on a CMS Page

Is it possible to create Image Grid gallery that resembles Category page's Product Grid Gallery in appearance & pagination? I have tried adding Image grid with pagination using OwlCarousel, ...
0
votes
0answers
15 views

Unique constraint violation found - if clicking all cms pages

I have an issue regarding all of my cms pages. When I click the link it throws the following message: "Unique constraint violation found". After looking into my url_rewrite table, I can see ...
1
vote
1answer
29 views

How to call block function in CMS page?

Version: Magento 2.4 EE I want to show the Recently Ordered Items Block in CMS page but when I call the block in page, the block is not displaying as expected and the page is empty. In CMS page, my ...
0
votes
3answers
19 views

Magento 2 how to work with CMS blocks and CMS pages on repository?

I have created many blocks but as far as I know only by exporting them from database is the only way to have their code. Is there another way to have the files? because pushing and commiting .sql to ...
0
votes
1answer
22 views

How to add navigation menu in a custom landing page

I am trying to create a Landing Page for my Magento site. I created this by creating a new CMS page through Admin/Content/Pages. I'm wondering if I can add a custom sticky navigation menu to this page?...
0
votes
0answers
36 views

<head> Page Configuration on a Custom Page Layout XML in Magento 2

I've created a Custom page_layout through my own Theme for an About Us page. Through the tutorial of the Magento DevDocs, it was quite clear on how to declare the Custom CMS layout by a handle in ...
0
votes
2answers
18 views

Magento 2.1.9 can't find save button class

I am trying to get a save button on a dynamic row field to fire but on loading a CMS page I get the following error: Class Brancom\PageExtensions\Block\Adminhtml\DynamicRows\Edit\SaveButton ...
0
votes
0answers
18 views

How can I make similar pages in magento 2

I would like to create a similar pages in my main categories in my website. How are these possible to make? For example now if i click on any main category lets say "School supplier" in my ...
0
votes
0answers
24 views

Magento 2.3.5 - Remove Page Title Suffix for homepage

We want to remove the page title suffix for the homepage in our Magento 2.3 store. Therefore I already created a Custom Layout Update in our theme folder with the following xml. But that does not seem ...
1
vote
1answer
25 views

Magento 2 - WYSIWYG uploaded images resized to 500px wide. How can I prevent this?

When uploading large images to be used within a block or page, Magento 2 resizes them to 500px width. I don't want that instead I want them left at their original size. I have no extensions installed ...
0
votes
1answer
179 views

Magento 2.3.5 how to add canonical links for cms pages having slash at the end of url-key

I am using magento 2.3.5p1 community edition. I want to add canonical links in cms pages. As in 2.3.5 magento we have to create a separate layout update file as cms_page_view_selectable_[cms-url-key]_[...
1
vote
0answers
16 views

Display Custom CMS Fields in Magento 2 Template

I'm can't seem to find any documentation on how to get custom CMS fields in a PHTML template in Magento2. The following snippet did it in Magento2: Mage::getBlockSingleton('cms/page')->getPage()-&...
0
votes
0answers
11 views

Custom Field Label Not Showing

I'm using the following code to add custom fields to my CMS pages: cms_page_form.xml <?xml version="1.0" encoding="UTF-8"?> <form xmlns:xsi="http://www.w3.org/2001/...
0
votes
0answers
78 views

Magento 2 - On opening CMS page its showing error “This page isn’t working”

I have Magento 2.3.4 installed on my website and when i try to edit CMS pages then its showing following error in the browser and in the error log its showing following error 2020/06/12 07:50:43 [...
0
votes
0answers
33 views

Query string URL rewrite via .htaccess magento 1.9

I have created a CMS page having url key like brands.php, that cms page contains an phtml file as its content and when the page open its shows the list of all brands, When we click on any of the brand ...
2
votes
1answer
58 views

Can you redirect CMS page to custom frontend route magento 2.3.5

I am trying to redirect a cms page to a new route which I have created for frontend. I am not sure if we can redirect to the new custom module route frontend with a config in admin area. My aim is I ...
0
votes
0answers
13 views

2 columns left layout not working anymore on CMS pages?

Magento 2.3.3 I had the 2 columns left layout working until I changed it to 1 column and then back to 2 columns left. Now the view changes after switching, but it is not 2 columns left. So I tried ...
0
votes
1answer
200 views

Magento 2.3.5 Custom Layout Update

I need to use a layout update for cms page. I've created a file called cms_page_view_selectable_home_HomePageBlocks.xml <?xml version="1.0" encoding="utf-8"?> <page xmlns:xsi="http://www.w3....
2
votes
2answers
76 views

How to Edit Layout Update Xml for CMS Page in Magento 2?

I just migrated from Magento 1.9.3.4 to Magento 2.3.4, I noticed some of the page content is missing when I accessed the page that was created from cms page. Then I look at the cms page edit page, ...
2
votes
1answer
265 views

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 ...
0
votes
1answer
36 views

How to add cms page URL in sitemap.xml

How to created sitemap.xml last week in my production site. Today I have created a new CMS page. How do I add this page's URL to sitemap.xml? Please provide me a solution.
0
votes
1answer
61 views

CMS homepage content not changed

I am new to Magento. I have setup the Magento 2.3.4. I am seeing below homepage: To change the message CMS homepage content goes here., I have made changes in cms_page table like below: Restarted ...
0
votes
0answers
20 views

Customer account menu to cms page

I want to put the customer account side menu to some specific cms pages. I tried adding the<update handle="customer_account"/> to that specific layout, but it only resulted in an extra white ...
2
votes
1answer
71 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 ...
1
vote
0answers
28 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 ...
0
votes
0answers
33 views

Why use blocks, widgets and LESS when building standard web pages?

why would I use blocks, widgets and LESS to build a web page when the CRM supports standard web page construction? I am trying to understand the overall logic and strategy of building themes and ...
0
votes
1answer
39 views

Magento2: How to add Paypal checkout and Paypal credit button on custom .phtml file?

How to add the Paypal checkout and Paypal credit button in the custom .phtml file? I want to add the same as a mini cart/my cart PayPal button on the custom page.
0
votes
0answers
82 views

Magento 2 change CMS Home Page?

I'm using Magneto 2 v 2.3.3 and Porto theme v 3.2.2. Whenever I try to change to a new CMS Home Page my site breaks. I have been following these instructions but my site just crashes: Where do I ...
0
votes
0answers
558 views

Notice: Undefined index: PK_CMS_PAGE in \vendor\magento\framework\EntityManager\EntityMetadata.php on line 96

I shifted my site from server to local. But it shows an error like this: Notice: Undefined index: PK_CMS_PAGE in \vendor\magento\framework\EntityManager\EntityMetadata.php on line 96 can ...
0
votes
2answers
44 views

Show parent categories on a page

I am a beginner in Magento. This may be a simple question. I have a header menu 'shop'. This link should redirect to a page that shows all parent categories. How can I do this? any help is really ...
0
votes
0answers
22 views

Magento CMS page continuously loading with blank page

Magento EE 1.14 contentiously loading with blank page but all html script available in view source. Is any one have the solution for this
0
votes
2answers
122 views

Put background color css for particular cms page

I want to add background color for this cms page
0
votes
1answer
41 views

Where will the newly created cms page with admin panel appear in magento files?

i have to render a page depending upon the logging in customer. so I need to create two home pages basically. If i create a new cms page with admin panel then where it will appear in files because i ...
1
vote
1answer
46 views

Magento 1.9 - CMS page products list error

Display Bestsellers for Specific Magento Categories in CMS page. Following tutorial, https://mercytapscott.com/display-bestsellers-for-specific-magento-categories/ Added following line into cms ...
4
votes
1answer
873 views

How to exclude specific Products, Categories and CMS Pages from sitemap.xml generation in Magento 2?

I need to create a custom module that allows excluding/skipping the Products, Categories and CMS Pages URLs from generating in sitemap.xml. I had tried this solution for Magento 1, How could I do it ...
1
vote
0answers
51 views

Magento 2 How to create Hero image module to CMS page [duplicate]

I have created the hero image module for the CMS page. But the image is not uploaded and there is issue to save the image too. Is there any solution for that? please suggest.
2
votes
2answers
151 views

Magento 2: How to setup layerd navigation in custom product collection?

I am trying to set a layered navigation filter on the custom cms page. for that, I have created a 1 cms page name test with two-column with left bar. and inside it, I have called one template file {...
0
votes
1answer
129 views

Magento 2 - UI Component WYSIWYG field not saving

I am trying to add some fields to CMS pages so I can add some stuff to the sidebar. I followed some tutorials I found online but seem to be missing something. The current setup correctly shows the ...
0
votes
1answer
25 views

Using a Page vs. a Static Block

I'm trying to get a very basic understanding of when I should use a Page vs. Static Block to create content for the site. Can someone provide examples of where they might be used? Or scenarios where ...
1
vote
0answers
23 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 ...
0
votes
2answers
224 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
245 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
43 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. ...

1
2 3 4 5 6