Questions tagged [cms]

Denotes questions for the CMS section.

Filter by
Sorted by
Tagged with
1
vote
0answers
15 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
23 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
28 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
31 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
17 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
26 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
82 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
15 views

Content Loss When Saving a Magento 2.3 CMS Block

First I saved my code After saving, he disappeared
1
vote
1answer
125 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
32 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
26 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
34 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
9 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
13 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
1answer
50 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
40 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
155 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
83 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
112 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
34 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
350 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
344 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
348 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
121 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
115 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 <...
1
vote
0answers
101 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
221 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
103 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
58 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
54 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
523 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
370 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 ...
6
votes
2answers
225 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
46 views

Magento 2 Add custom field (dropdown value) to CMS page

I want to add a dropdown value to CMS page, and I have found this link https://www.magevision.com/blog/post/add-custom-field-to-cms-page-magento-2/ about how to add a custom field to CMS page, and it ...
0
votes
0answers
468 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
42 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
506 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
0answers
12 views

Content not appearing after adding two text content types

I've gone through the Magento admin control panel to Content > Content Types > Select Section (For us it is called "0-Home") > Manage Fields and added two text fields, not required, no max ...
0
votes
0answers
13 views

Custom checks after save or preview in content manager

The goal is simple enough, but I'm a total Magento noob and don't know how to accomplish this. We have a specific two column content block that has an image on the left hand column and text on the ...
0
votes
1answer
400 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
313 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="...
0
votes
0answers
31 views

How can i modify or choose what my Magento datalayer shows?

I'm in an ecommerce project with a store that is using Magento. I configured in the CMS the Google Tag Manager connection writing the container code and activating the option Data Layer as the image ...
0
votes
0answers
34 views

Weird issue killing CMS homepage everyday (Magento 2.3.0)

So I am having a weird issue... Everyday at different times, the CMS Homepage goes blank. I have set up alerting to tell me when it happens. The fix has been to SSH in and run cache:flush and ...
1
vote
0answers
105 views

editing content pages and configuration hangs (spinning donut)

This has happened to me twice now: I get the site installed, I get the template installed, and eventually I start customizing the site and the content pages in the backend stop loading. The first ...
0
votes
0answers
9 views

Dual CMS setup login to Magento from primary site

We have a dual setup for our website, most of the site is served up on another CMS but the commerce side is all Magento 2. The primary CMS doesn't have any frontend logins for users but we need to ...