Questions tagged [cms-pages]

Denotes questions related to CMS pages.

Filter by
Sorted by
Tagged with
1
vote
2answers
2k views

Magento 2 - How to add Font Family in admin panel wysiwyg editor?

Need to add font family in wysiwyg editor.
2
votes
3answers
991 views

How do I find the location of a page?

I have a contact page that is not in cms pages. It has a static block that is only used on this page. I can edit it and see it, but can not find the page. Any suggestions on how to track it down? Is ...
2
votes
1answer
739 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.
0
votes
0answers
11 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
22 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
43 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
14 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()-&...
1
vote
2answers
1k views

Exclude CMS page while creating sitemap.xml in magento admin

We have certain CMS pages in our magento e-commerce store. Now we need to create sitemap.xml and as we all know magento admin provides to create a sitemap. But here, the problem is when I generate a ...
0
votes
0answers
9 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
22 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 ...
0
votes
0answers
55 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
1answer
1k views

Magento 2 : Show active link of cms page in customer account navigation?

I have added a custom cms-page link in customer account navigation. My custom link is showing in account navigation and working too, but it's not showing as active/current on click. Cms-page > ...
2
votes
1answer
38 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 ...
1
vote
1answer
1k 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/...
0
votes
0answers
10 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
108 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....
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\...
2
votes
2answers
34 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
82 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 ...
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 ...
1
vote
1answer
2k views

Magento Blocks Permission in Admin Dashboard

I saw this option in store admin of Magento 1.9 by going to System - > Permission -> blocks. The questions are: - How do I use it? - I have a third party extension where is displays recently added ...
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....
3
votes
1answer
4k views

How to add custom error pages in Magento 2?

I'm having a problem since I'm new to Magento. how can I create a custom error pages in my Magento 2 site? For example these pages: 500, 401, 403, and 404. I hope someone can help me. Thanks
0
votes
1answer
28 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.
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/...
0
votes
1answer
46 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
1answer
767 views

How can I remove wishlist and compare block pieces form the 404 not found page?

I need to remove wishlist and compare from the not found page. I use CMS to make the not found page. This is what I tried as a Design XML Update, and it didn't work: <referenceContainer name="...
6
votes
3answers
896 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
0answers
19 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 ...
5
votes
3answers
5k views

Magento 2 : Add Hero Image Upload Field on CMS page

How to add image upload field to a CMS page and show this on top of my CMS page as Hero image like shown below? Maybe there are simple solutions/tutorials, but I can't find right one.
0
votes
2answers
907 views

Magento 2 - How to use jQuery in CMS page

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
3answers
4k views

Magento2: How can update & create the CMS static Page programmatically

How can update an existing CMS static Page and how to create a new CMS static Page - programmatically
6
votes
2answers
7k views

How to add custom link in main menu in Magento 2?

I want to add CMS pages and Contact page link in the main menu. How to add these links in the main menu and their submenu as well?
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 ...
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 ...
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
23 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
1answer
65 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
0answers
81 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
287 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
28 views

How to use magento msp recaptha on cms page?

I am using magento msp recaptcha. I added contact form in cms page from magento admin {{block class="Magento\Contact\Block\ContactForm" name="contactForm" template="Magento_Contact::form-footer.phtml"...
4
votes
5answers
8k views

Magento2: How to add different custom css file on specific CMS pages

I tried so may things but unable to add the CSS & JS files for each Static CMS pages. I know if CSS can be added in cms_page_view.xml but this will reflect in all pages. is there anyway to add ...
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
3
votes
1answer
440 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 ...
0
votes
2answers
78 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 ...
2
votes
2answers
146 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 {...
1
vote
1answer
41 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 ...
0
votes
0answers
48 views

Magento 1.9 - What is the best Practice to Display Top Selling products list?

I have to display best selling products list, just confused what is the best practice. Create Module & CMS Page Getting best selling values from database using products id display product ...

1
2 3 4 5 6