Questions tagged [cms-pages]

Denotes questions related to CMS pages.

Filter by
Sorted by
Tagged with
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 ...
5
votes
3answers
215 views

Prevent CMS page availability on base URL

I have an issue in a Magento 1.9.2.2 store that I can't quite figure out the solution for, so i was hoping for your assistance. There are 2 different store views each serving a different language. ...
1
vote
1answer
646 views

CMS content disappears with custom layout

I'm developing an e-commerce application for a client in Magento 2.1.5. Though this is my first experience with the platform, I have successfully built out a default layout and a handful of ...
6
votes
1answer
2k views

Magento 2: Get WYSIWYG editor's data in frontend?

I add wysiwyng editor in admin Ui form. <field name="content"> <argument name="data" xsi:type="array"> <item name="config" xsi:type="array"> <item name="...
4
votes
1answer
529 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?
0
votes
1answer
508 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="...
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 "...
3
votes
1answer
1k views

How to overide ui component form in magento 2?

I want to add a custom field in cms page form in admin side. cms_page_form is created by using ui component form. How can I override this form in my custom module?
4
votes
2answers
3k 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.
3
votes
3answers
4k views

Magento2 Something went wrong while saving the page

I have problem with creating new page from backend it shows me this message: Something went wrong while saving the page. I can edit and save the page but I can't create the new page. any idea??
3
votes
1answer
306 views

magento 1.9.3.2 Custom Image attribute not working on CMS Page

Error: Fatal error: Call to a member function setData() on boolean in C:\xampp\htdocs\magento-1-testing\app\code\core\Mage\Adminhtml\Block\Widget\Form\Container.php on line 141 I have create a ...
1
vote
0answers
568 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\...
0
votes
2answers
217 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
27 views

CMS pages linked to from 2nd level category pages include category path in url and give 404

CMS pages (such as about-us, privacy-policy etc) link fine from root domain (such as domain.co.uk) and from domain.co.uk/category1.html. In this instance then the correct URL is domain.co.uk/about-us ...
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,...
0
votes
1answer
90 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.
1
vote
1answer
2k views

Magento 2 - Add a template block in a CMS page via layout update

I'm trying to include a new template block in a CMS page in the admin via layout updates. Here is the xml: <block class="Magento\Catalog\Block\Product\View\Description" name="homepage.carousel" ...
1
vote
1answer
1k views

Magento 2 : How to Fetch CMS Page Content Using Search

I want to fetch cms page content using Search.? If anyone have any idea related to CMS Pages Content Search. Can anyone help me?
0
votes
1answer
194 views

Magento 1.9 - Modify CMS pages that are available in one store and aren't available in another

I'm looking for for a way to modify CMS pages that are available in one store and aren't available in another store. First problem is that I cannot filter cms pages the usual way: $collection = Mage:...
0
votes
0answers
74 views

Magento 2.1.2 Content > Pages Loading Loop

I have a problem with my Magento 2 backend only with the pages section. It just is stuck in a Loading loop (see screenshot) I have been looking and asking all over the net and forums without anyone ...
2
votes
1answer
161 views

Creating custom html thumbnails for cms pages - i.e. news section using title and a custom field image

Basically am wondering is if there is a way to use magento as an actual cms system. i.e. i have an html chunk (static block?!) with some parameters (page_image, pagetitle) <div class="thumb"> ...
1
vote
1answer
354 views

Button in CMS page that links to registering page

I am using Magento 1.7. I am designing a CMS page through the WYSIWYG editor in the Admin->CMS->Pages section, with the tool 'Edit HTML source'. I need to add a button in the CMS page that links to ...
4
votes
2answers
697 views

How I can disable cache for one file that include in cms page?

I have including of phtml file in cms page (home page) {{block type="catalog/product_new" product_ids="6747,4652,605,571,518,182,4432,4425" template="catalog/product/home_slider.phtml" }}, and I need ...
3
votes
2answers
13k views

Magento2 contact form in CMS page

in magento 1.x for add contact form in CMS page i use next code {{block type="core/template" name="contactForm" form_action="{{store direct_url='contacts'}}/index/post" template="contacts/form.phtml"}...
2
votes
0answers
450 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 ...
1
vote
2answers
3k views

Newly added Page not work only redirect to 404 Error Page

I added a new page in Magento 2 with url newpage but it return with 404 Not Found eror. I compared it to a working page and the setting
0
votes
1answer
803 views

Get specific / any CMS page title

I would like to retrieve a specific page name in my frontend phtml on magento v1.9.2.4. I have found many ways to retrieve 'current' page title, such as thoses questions posted on stackoverflow : ...
3
votes
1answer
1k views

CMS tree structure in Magento 2

We are looking for a method to build up the cms pages in Magento 2 with a tree structure so that you can set hierarchy. For Magento 1 you have several modules, but we didn't find anything for Magento ...
6
votes
3answers
1k views

How to include module's CSS in CMS pages with module block

I have prepared one module in which I have prepared two .phtml files and included css and js through module layout file. Now, I want to include those .phtml file in different blocks and pages. I have ...
4
votes
1answer
1k views

add to cart button in CMS page

In Magento2.1, I'm able to load a product in CMS page using: $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $product = $objectManager->get('Magento\Catalog\Model\Product')-&...
2
votes
1answer
315 views

Removing footer for selected CMS page?

I am developing an Ecommerce site and I want to remove the footer from selected CMS page. I have refered this link, which say to remove the footer from entire CMS pages, but I dont need to remove ...
4
votes
1answer
4k views

Magento 2 - How to add or insert PDF file in a CMS page?

Do you have an idea on how to add or insert a PDF file in a CMS page or CMS block in Magento 2? Correct me if I'm wrong for the question title for this thread.
2
votes
1answer
2k views

Where are pages and blocks created in the admin section stored?

I have created blocks in the Magento Admin GUI as well as in the frontend/.../templates directory. Both have been tested and they work fine. My question are: Where do the blocks and pages that ...
1
vote
1answer
640 views

How to identify pages and set meta info in Magento

I have some pages in my magento store which are not CMS Pages. They have phtml files and common head.html files. This pages not also have databases tables. I want to set Meta info for that pages. ...
0
votes
0answers
786 views

Magento 2 Rewrite Category to CMS Page?

How can I redirect a category page to CMS Page using url rewrite system in magento 2.
1
vote
3answers
292 views

CMS Images Not Responsive [closed]

I've added an image to my front page. It has no width or height defined in the image tag. When I resize the browser window it is responsive until the window is mobile size and the menu disappears. ...
1
vote
1answer
455 views

CMS Hierarchy isn't displaying menu left magento 2.1.1

I have created some CMS Hierarchy, in my configuration I set to display menu left. It work correctly for node children, however when I go to parent node(Main menu), the menu left disappear, also the ...
1
vote
1answer
390 views

How to add CMS directive {{block}} on custom module field in Magento 2

I have developed a custom slider for Magento 2. The fields for my slider in the backend are; Title, Image and Content. The Content is a Wysiwyg editor and I am trying to make it work like a CMS Page ...
2
votes
1answer
935 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
33 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
569 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
814 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
460 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
74 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
419 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 ...