Questions tagged [cms-pages]

Denotes questions related to CMS pages.

Filter by
Sorted by
Tagged with
1
vote
1answer
510 views

Magento 2: How to assign a category to CMS page?

How to redirect a category page to CMS page in Magento 2? I have tried several methods by using URL-rewrite but these methods work only on Magento 1.
0
votes
3answers
3k views

Magento CMS Page keep redirect to homepage

I don't know why my CMS page content keep automatically redirect to homepage. Example: I click on link below: http://magento.lifegood.com.my/customer-service then my magento site will bring me to ...
0
votes
3answers
2k views

Is there a way to export static blocks and cms pages in mass from local to online?

I have a localhost version of Magento and another which is already in Hostgator. My changes on files I can ftp quick and easily, of course. But I would like to know if there is some faster way to "...
0
votes
1answer
763 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.
0
votes
3answers
815 views

Trouble changing Meta TItle of CMS Page

Im using this code in a CMS page under design> custom layout update XML <reference name=”head”> <action method=”setForcedTitle”><title>Account Dashboard</title></action&...
0
votes
1answer
39 views

How to use if else in cms block magento 1.x

I want use if else like this code but it not working. Please help me {{if config path="system/config/path" == 1}} <p> ok </p> {{else}} <p> no </p> I create it in home page, ...
0
votes
1answer
570 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
0
votes
2answers
797 views

Call custom_module phtml file in cms page

How to call a phtml file in cms page. my phtml file is located under the path \app\code\Testing\Helloworld\view\frontend\templates\helloworld.phtml.Thank you in advance
0
votes
1answer
481 views

Configuring Page Hierarchy

Reading the M2 docs I can see there is meant to be Page Hierarchy However I can't If I go Stores->Settings->Configuration->General->Content Management I don't see any mention of Configuring Page ...
0
votes
2answers
1k views

Magento 1.9- Pass a Parameter to cms page url

I am new to Magento, I need to pass parameters to a cms page created through the backend under the cms section. The steps I followed to create a page are as follows: First of all, I added a new page ...
0
votes
2answers
32 views

Put background color css for particular cms page

I want to add background color for this cms page
0
votes
1answer
39 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 ...
0
votes
1answer
19 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 ...
0
votes
2answers
35 views

Image is not showing in frontend when we call the phtml file in CMS page

My requirement is to create a slider without using extension. So I have created a phtml file with the html code and script for slider and called this phtml file in a cms page. But in the frontend the ...
0
votes
1answer
28 views

Unable to remove content from homepage

I'm trying to remove content from my homepage. I have just installed a theme and even if I set a blank page as a default page (homepage) the content get's added. I tried to figure out if it's a file ...
0
votes
1answer
96 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
3answers
175 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 ...
0
votes
1answer
192 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
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 ...
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. ...
0
votes
1answer
52 views

Magento 1.9 CMS Pages changing content format while saving

I am saving my HTML content in CMS pages of Magento 1.9.3.7. But It's changing the format of my HTML content and adding a slash when a doublequote found in the code. For example when I save below code:...
0
votes
1answer
274 views

How to retrieve cms block?

Deleted row from Content>Blocks then I try to add it again from previous backup but it doesn't render on the frontend. How can I solve it? Thanks
0
votes
1answer
683 views

Magento 2 : on main sever We're sorry, an error has occurred while generating this email

my code is running perfectly on local host but when i am uploading on server after running its showing This above error We're sorry, an error has occurred while generating this email. my block ...
0
votes
1answer
131 views

Magento 1.9 - Password or admin only login store - not editing htaccess

Is there a way to make a store accessible (or maybe specific cms pages) by admin only or with a password? Need to set it up so that clients can do this for future stores while in testing mode -...
0
votes
5answers
1k views

Content > Pages not loading in the back end of Magento 2.1.7

Recently we have been experiencing issues when trying to access pages on the back end, the page just doesn't load. We have tried multiple browsers (IE, Chrome, Firefox, Safari) and this had made no ...
0
votes
1answer
105 views

List products by dropdown attribute

I want to have a cms page where I will list all products that have special_offer dropdown attribute with yes value. I found something here but this is work only with the Yes/No attribute. I need to ...
0
votes
1answer
88 views

Call cms page from custom module

I have created an event observer in a module. Observer is called after checkout_card_add event. I want to call a cms page from the module if a certain condition is met. My observer.php file <?...
0
votes
1answer
2k views

magento 2 layered navigation on CMS page or homepage with selected category

I want layered navigation on CMS page with selected cateogry. I am following this link It is showing all category and attribute. But I don't know how to set selected category. For example on Clothing ...
0
votes
2answers
251 views

Magento 2: How to load admin login on home page?

I want to display admin login on home page. How can I do this? Any help will be appreciated.
0
votes
1answer
105 views

Get Identifire of CMS Page if it is not active

How to Get Identifier of CMS Page if it is not active. Using CMS Page Collection.
0
votes
1answer
583 views

Magento 2.0 contact form not working on page CMS

We recent;y migrated stores from magento v1, to v2. We are having a problem getting the contact form to show up on one of the CMS pages. I have tried a million variations of something like this. {{...
0
votes
1answer
1k views

How do i use a different header for each page

I'm new to Magento i have a bit of a problem i have 4 pages e.g home about etc... all these pages use the same header, i have created another header and updated in the page.xml file, from what i ...
0
votes
2answers
83 views

Is it possible to create Non CMS Page

Is it possible to create a non CMS page? Basically, I want a static 'coming soon' page in front of my website in the run up to it's launch, but I can't find a way to do this in the backend. It this ...
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
8 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"...
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
0answers
26 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 ...
0
votes
0answers
23 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
2answers
55 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?
0
votes
1answer
22 views

Cannot open blocks, pages via Magento 2 admin

I have installed Magento 2.3 on xampp. I have tried to check the CMS pages, blocks via admin panel but its not opening instead it says the error Attention, Something went wrong How can I fix this ...
0
votes
0answers
60 views

Magento 2 Christmas advent calendar

Is it possible to create an advent calendar on a page? I want to lock the dates and only let the users view current date or previous dates to be clickable
0
votes
0answers
37 views

Magento 2: Allow switching store view on a CMS page with different URL keys

My store has multiple store views for different languages. When the user is on a CMS page (for example 'contact') and switches to a different store view, the URL remains the same so the user sees the ...
0
votes
0answers
8 views

Images in Imagebrowser not shown in Magento 1.9.4?

When I open the image in browser on a CMS page for example, the existing or uploaded images are not shown. They are uploaded correctly and are also shown in the editor and on frontend, its just the ...
0
votes
0answers
32 views

Magento 2 : How to Create Recent Orders Block on CMS Page or Static Block

I want to call block on the home page of the store. how can I add recent order block on store home page from admin? Thanks I have tried this <p>{{block class="Magento\Sales\Block\Order\Recent" ...
0
votes
0answers
27 views

Rich Snippets for Google Local Store - Add to CMS page in Magento1

For a Magento1 store, we are looking to add rich snippets to various CMS pages. To allow Google to pickup the data for the website's different store locations. We have seen plugins that allow you to ...
0
votes
0answers
35 views

CMS page Header alignment issue

My cms page : content: <div class="container"> <div class="list-group-item list-group-item-success"><h1>giri.in</h1></div> <div class="row jumbotron" ...
0
votes
1answer
37 views

Custom Code CMS page header collapsed

Here is my cms page code, <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-...
0
votes
1answer
555 views

Magento 2.3.2 upgrade issues (category page, di compile, and cms pages)

Magento upgraded from 2.2.6 to 2.3.2, and there are issues: - All category pages are having error, "Undefined factory mysql". Exception #0 (DomainException): Undefined factory mysql Also di:...
0
votes
0answers
138 views

Undefined index: PK_MT_CMS_PAGE in vendor/magento/framework/EntityManager/EntityMetadata.php

I moved a Magento project from localhost to the server. its working fine in localhost but when I move it to the server and change the configuration (env.php and in the table) it's showing below error. ...
0
votes
1answer
30 views

How to display custom cms block on cms homepage when Full page caching is enabled

pleas help me with my problem. I try to display cms block on cms homepage via widget. It works only when i have full page caching disabled. Is there a way to display this block with FPC enabled? Any ...