Questions tagged [cms-pages]

Denotes questions related to CMS pages.

Filter by
Sorted by
Tagged with
2
votes
1answer
994 views

Add a static block through xml to a specific cms_page?

From a previous question I learned how to add some static blocks to the CMS homepage like this: how to achieve this 2 columns page layout? The xml is created in: app/design/frontend/<Vendor>/&...
1
vote
2answers
35 views

How to add a block (defined in a module) to a CMS page (specifically the home page) through admin page editor

I made a module and with in it a Block. I am trying to pull it into the home page by entering this into the editor for home page CMS page editor: {{block type="thinkopen/overwriter" block_id="...
1
vote
1answer
6k views

CMS Page URL from ID in phtml (M2) [duplicate]

In a page template (.phtml) file, we can generate a link to another CMS page using the following snippet: <a href="<?php echo $this->getUrl('my_page_url_key');?>">Link to my page</a&...
0
votes
1answer
576 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. {{...
3
votes
3answers
1k views

How redirect the “no-route” cms page to home page after 10 second (not through server side)

How would be possible using js (in admin,cms-page) to redirect the 404 page to home page?
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 ...
1
vote
2answers
879 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
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
494 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
76 views

{{skin url=“”}} is removed

I am facing a problem, whenever I am editing CMS page by using editor that time all of the {{skin url=''}} is being removed automatically. Can anyone please advice me some solution?
2
votes
1answer
2k views

How to add PHP to a CMS page in Magento 2?

Via Admin > Content > Pages I made a page that I will be using as the homepage. I want to add some PHP to this page, however this does not work (directly). How can I do this? I remember using a ....
2
votes
2answers
426 views

Magento 2.1 :- CMS Page and Static Block

Here one issue in my magento 2.1. I create one di.xml file for my own module but i got error in cms page and static block. Check below image for cms page and static block error. CMS Page:- Static ...
1
vote
1answer
564 views

Remove Title suffix from cms pages

I have title suffix in magento 1.7 system configuration. I would like to remove title suffix from all cms pages or from cms pages besides home page. How to do this?
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 is: - How do I use it? - I have third party extension where is displays recently added blogs. ...
3
votes
5answers
8k views

How to redirect a category page link to CMS page link in Magento 2

I want to redirect my category link to some cms page. Could anyone tell me how to do so? Any help will be appreciated. @Kho TruongDinh As you specified, I have used URL rewrite, but it did not work ...
2
votes
1answer
718 views

All other CMS pages redirecting to home page [closed]

I am creating a marketplace using Magento 1.9 and I have discovered that all my CMS pages like "about us", "contact", "terms and conditions" etc are not opening but are automatically redirecting to ...
3
votes
4answers
4k views

magento 2: display cms static page content in phtml file

I have a static cms page. I want to display that page content in my phtml file. Is there way to do this by using that page identifier? I did something like that for cms blocks. echo $block->...
4
votes
4answers
7k 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 ...
2
votes
1answer
1k views

Magento 2 CMS block and CMS page store change programmatically

I had migrated data into magento 1.X to 2.X. In the migrated website I have around 2000 pages+blocks so I have to set all CMS blocks and CMS pages in all stores. Give me a better solution .
4
votes
2answers
766 views

Magento 2.0 Call cms page in phtml file

I have created one CMS page brand and I want to call brand CMS page in phtml file. So how can I call the CMS page? I got following code but it's not working. $cmsPage = Mage::getModel('cms/page')-&...
3
votes
0answers
29 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.
5
votes
4answers
5k views

Magento 2 Export & Import CMS Blocks and CMS Pages

How to Export and Import CMS Pages and Static blocks ?
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 ...
1
vote
0answers
320 views

Magento 2 Disable FPC for single CMS page in Magento 2

I have seen that there is a option available to disable FPC for single CMS page in Magento 1. Is there anything available to do it in Magento 2?
0
votes
3answers
791 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&...
1
vote
0answers
34 views

URL redirection issue

I have a webshop wherein : abc.com/staff is giving page not found error abc.com/staff/ is loading the page correctly. There is a difference of "/" in both the URLS. I have other CMS pages in ...
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
2answers
82 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 ...
1
vote
1answer
546 views

Magento2: Adding CMS Pages to menu with URL Rewrites

Following the magento1.x method for adding cms pages to the menu doesn't seem to work for magento2.x At present I activate the autogenerated url for my homepage/home category which works - changing ...
0
votes
1answer
918 views

How do I disable a static block on my home page?

This one has me baffled. I have a static block situated at the bottom of my home page and just above the footer labelled. The static block is titled ‘Recommended’. It is a sliding product block and ...
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
1k 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....
10
votes
4answers
985 views

how to setup noindex,follow in a static page in magento2?

I would set the robots meta tags to "noindex,follow" in a static page. For Magento 1.9 I used to do it like this: <reference name="head"> <action method="setRobots"><value>...
3
votes
2answers
902 views

Base url in cms page layout update xml

Right Now I'm facing issue to set base url in magento CMS page layout. Right now I'm doing like this,but I am not getting base url : <action method="addCrumb"> <crumbName>Home</...
1
vote
1answer
5k views

How can i call phtml file into cms page by using widget?

I have a phtml file mw/news/slider.phtml. I would like to use this file at cms page. So how can i do this by using widget ?
7
votes
3answers
3k views

Sitemap.xml change home

On our Magento store the sitemap which Magento automatically generates from the admin panel at Catalog > Google Sitemap adds the home url to our homepage like: <url> <loc>http://our-...
1
vote
1answer
1k views

Why is start page missing from sitemap.xml?

I'm rather new on the Magento platform, but I've noticed a weird thing on a couple of my clients' websites. The home page is missing from the sitemap.xml. In all cases the clients' home page is a CMS ...
2
votes
3answers
3k views

How to Set Banner in homepage above the 2-column with left bar?

I need to place banner in magento homepage. My homepage config: I set my homepage as 2-column with leftbar in CMS -> Pages. I need to set the banner in above 2-column with leftbar layout. ...