Questions tagged [cms]

Denotes questions for the CMS section.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

How to show infinite scroll of products list on home page?

I want to show a list of random products showing on infinite scroll through ajax or something. Currently, I'm using an extension Infinite Scroll by Landofcoder and it's working fine on the product and ...
0
votes
0answers
23 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 ...
1
vote
1answer
38 views

Magento 2 graphql get the cms block based on store

I am trying to get the cms block based on store, but it is alway returning the default store block content. The query I used : { cmsBlocks(identifiers: "login-data") { items { identifier ...
0
votes
0answers
14 views

Unable to get only Image URl in Magento2 Custom Widget

I have requirement of Image in the widget and i have using Wyswigy editor to add image, but i Image url to be wysiwyg/pic 01.jpg but i am getting <img src="{{media url=&quot;wysiwyg/pic 01....
0
votes
1answer
30 views

Magento 2 - can't upload images in CMS (File validation failed.)

I try to upload a small (900 KB) .jpg image to my CMS Site, but I get File validation failed. I made sure that I have all necessary permissions as stated in the magento documentation. find . -type f ...
0
votes
1answer
40 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
0answers
19 views

How can I use a block I created in my plugin to be used as a CMS block?

What am I trying to achieve? I want to show a block of my plugin on every product page of a specific category. What my problem is right now. In the Magento CMS you can add XML layout to a category ...
1
vote
0answers
17 views

How can I add default breadcrumbs to cms Page?

I want to add to my home page (Cms) the breadcrumbs on top, I have allready enabled it in the admin area and also added it in the layout file like so: <referenceBlock name="breadcrumbs"> ...
0
votes
1answer
37 views

Create block and use it in template - Error filtering template: Invalid method

I created a block and a template. I call the template in a CMS site. Block: \app\code\Fekete\Newsletter2Go\Block\Form.php <?php namespace Fekete\Newsletter2Go\Block; /** * Dashboard Customer ...
0
votes
2answers
34 views

Magento 2 - find out if text is from static block

I try to replace the footer with my own, but I have no clue how. I activated template hints, but it does not show any hint if this is a static block. How can I modify this ?
2
votes
1answer
34 views

the word “UPDATE” causes CMS page not to save Magento 1.9.4.2

Here's a strange one... I'm editing my privacy policy page in CMS>pages and copy/pasting the text out of notepad++, then formating with the wysiwyg editor in magento, then cleaning up the html that ...
0
votes
1answer
23 views

Blackbird Advanced Content Manager 2 - Get date created/published/modified in php template?

I'm using this module 'Blackbird Advanced Content Manager 2' for blog posts. I want to get the date created / published / modified and output it in the php template. There is no mention of this ...
1
vote
1answer
29 views

Magento 2: How to not use URL /home

By default, Magento uses the URL key 'home' for the CMS homepage. The problem is that the homepage now has 2 URL's. http://example.com/home and http://example.com/. I don't like this behaviour, it ...
1
vote
1answer
140 views

How to customize the page via Layout Update XML section in a CMS page?

I'm trying to add a new CMS block into the sidebar and remove all other blocks there, using only the Layout Update XML section in a CMS Page via the admin panel, how could I do it?
0
votes
0answers
19 views

Content Loss When Saving a Magento 2.3 CMS Block

First I saved my code After saving, he disappeared
1
vote
1answer
189 views

Magento 2 Custom Product block using SKU in cms page

I want to display custom product block in cms page . I have sku of the products . No how can i display this product in cms page . I know how to display one product using sku . But is it possible to ...
0
votes
0answers
40 views

Magento 2 add CMS block under discount code section on the checkout page

I want to add third party JS code and HTML on the checkout page under discount code section. To add it under discount code first in Checkout_index_index.xml file I have added following code. <?...
0
votes
0answers
29 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" ...
2
votes
1answer
10 views

How do I add in jump marks (bookmarks) into a CMS page on Magento 1.9?

I am trying to create an FAQ page for our website on Magento 1.9 and I want to list the questions at the top and then jump link them to the answers. I am using the CMS creator. Does anyone know how/if ...
0
votes
0answers
16 views

Styles script added in Content is missing after saving

Why is it everytime I put a style code (not inline) in the content in Magento backend, it is gone after saving? But the styles are still in effect. Where are these codes saved? I know that the proper ...
2
votes
3answers
144 views

WYSIWYG editor inserting &quot; instead of correct " in 2.3.0 when we use any anchor tags

I am facing an issue with Magento 2.3.0+ WYSIWYG editor inserting " instead of correct " and also when we write like <a href="{{store_url}}sales/guest/form/">Orders and Returns</a> ...
1
vote
2answers
48 views

How to add links to CMS page on default magento header in magento2

I had created a About US cms page from Admin panel(Content->Pages) Now, i want to add link to this CMs page in the header of my website. In the above image i want to add "About Us" link next to "...
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 ...
2
votes
1answer
228 views

while saving admin cms pages getting 404 not found only for files in magento 2

while saving admin cms pages getting 404 not found page in magento 2 already permission for pub/media 777 var 777 how i can solve this i'm using magento 2.1.11 Edit1: I created new cms ...
1
vote
3answers
38 views

How to redirect page to cms page ie.(carrer.html) via controller file?

Mage::getSingleton('core/session')->addSuccess('Your inquiry was submitted and will be responded to as soon as possible. Thank you for contacting us.'); $this->_redirect('*/*/'); return;
3
votes
1answer
132 views

Magento 2.3 How to create custom cms page url?

I have use Magento 2.3 Question: How to modify custom CMS page URL structure? For example: I want to this type of page link. http://mydomainxyz.com/parent-service/childpage At present we are only ...
3
votes
0answers
141 views

Magento 2.3.1 CE Tinymce Error

We have upgraded Magento from 2.2.3 CE to 2.3.1 CE successfully. But we are facing few issues with the Tinymce js from admin end product edit page and cms pages etc.. when using Show/Hide Editor.. ...
0
votes
0answers
37 views

Magento 2.3CE CMS Suggestions for previous BlueFoot users

So at the moment, we are in the early stages of moving from 2.1 to 2.3. We've really benefitted from using Bluefoot CMS on 2.1 and most of our site content is built using it. It is as far i'm aware ...
1
vote
1answer
412 views

How do you configure a dynamic block for a customer segment in M2C?

Using Magento Commerce (nee EE) 2.3.1, how do you configure a Dynamic Block to render for a specific customer segment? The stock Magento documentation: https://docs.magento.com/m2/ee/user_guide/cms/...
0
votes
1answer
468 views

Magento 2: Header and footer not loading in custom module's CMS layout

I am developing a custom theme which inherits from Magento/blank. I am attempting to develop a CMS homepage layout within a custom module. I have created the module and successfully applied the ...
1
vote
0answers
17 views

cms pages and block is not loading in backend

CMS pages and blocks won't load in the backend. It keeps loading and loading without not showing any pages or blocks. I reindex, compile, clear cache... But nothing changed. Any help would be much ...
0
votes
1answer
533 views

How to add iframe tag in CMS page in Magento 2.2

How to add iframe tag in CMS page in Magento 2.2 <iframe src="https://google.com" frameborder="0" width="500" height="900"></iframe>
1
vote
1answer
131 views

Using {{store}} directive to get url for different store view

Scenario: In a static block, I need to generate the url for a specific page but not in the current store view, but to a specific store view / website. Question: Is there a combination of parameters ...
0
votes
1answer
210 views

how to check customer logged in or not in cms block page in magento 2

i have cms custom header page i want to check when click on (custom header) it will check customer logged in or not i already try this $objectManager = \Magento\Framework\App\ObjectManager::...
0
votes
0answers
20 views

magento 1,8 - 1,9 - html - cms -problem

My problem: magento 1.8 in page or block if i write: <a href="#"> <div class="class_1"> demo test </div> </a> and click "save" and i recheck the cose the html become <...
2
votes
0answers
133 views

Using inline SVG in the wysiwyg/backend cms elements

How can i get the wysiwyg/backend cms editor to accept inline svg code, i want to make the svgs stylable which means they need to be injected. Yes i can inject them via javascript, but this causes ...
4
votes
1answer
259 views

How to set cms block to category in Magento 2 programmatically?

I would like to add CMS block to a category programmatically, how to achieve it?
0
votes
2answers
137 views

How to get programmatically only enable CMS pages in Magento 2?

I want to get only enable CMS pages I merge my custom array and CMS pages as shown below: <?php namespace Vender\Module\Model\Config\Source; use Magento\Cms\Model\Config\Source\Page; /** * ...
2
votes
1answer
95 views

How to call a CMS page in another CMS page in magento 2

I have two CMS pages in magento 2 . I want to call one cms page to another cms page. anyone can help me.
2
votes
0answers
71 views

How to edit source of the index page in Magento

I am a professional PHP developer, it's been like 2-3 days since I am trying to work with magento. My task is to optimize the index page. Thing is, I can not edit the "actual" source of index page. ...
2
votes
1answer
615 views

Programmatically create a wysiwyg editor for frontend magento 2.3

I don't see any examples in frontend of magento for this case. Wonder how to add editor field from php class instead template When try to call wysiwygConfig->getConfig() in my block class i got error ...
2
votes
0answers
394 views

Should i use tinymce or tinyMCE in magento 2.3 and also usage for backward compatible

From magento 2.3 i see core team integrated new version of tinymce. It's a good thing. Maybe future they will add more editor for magento. But i have a confuse a bit when to use wysiwyg through below ...
8
votes
2answers
243 views

store_url does not render link correctly

I am using this link in my static CMS block <a href="{{store_url='produkte/insektenschutz/fenster/spannrahmen.html'}}"> but it renders as https://www.mysite.de/produkte/insektenschutz/fenster/ ...
0
votes
0answers
519 views

Magento 2.3 File validation failed when uploading SVG image in CMS

I created a module, to override vendor/magento/module-cms/etc/di.xml, since SVG format is not supported by default This is how di.xml looks like in my module. <type name="Magento\Cms\Model\...
0
votes
1answer
50 views

CMS wyswig images wrong path

In blocks or cms pages I'm trying to add an image (Magento 2). But after selecting an image and choosing insert (from insert image popup) image URL of the image is wysiwyg/image.jpg and preview is ...
1
vote
1answer
23 views

Magento - Should I stop to write JS/CSS directly in the backend in CMS pages?

In Magento you can create CMS pages. It is also possible to add CSS and JS code, directly to the page, which I sometimes do for rather smaller changes and style fixes and such, because then that ...
0
votes
2answers
656 views

Change Default Web URL

I want to change the url of the index page for magento 2 store. I changed the Default Web URL to "custom", but when I go to site.com/custom it gives me a 404 and the index page is still site.com/cms
0
votes
1answer
453 views

How to fix error in magento 2.3.0

When I go to my admin page, the Sign In panel which is supposed to display ,isn't displaying. Instead I'm only getting this plain background color. The default store front (localhost/magento/) shows ...
0
votes
1answer
389 views

Mageplaza Magento 2 Products Slider Category ID not working?

https://github.com/mageplaza/magento-2-product-slider When using the CMS shortcode for selecting a category: {{block class="Mageplaza\Productslider\Block\CategoryId" template="...

1 2 3 4 5 13