Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cms]

Denotes questions for the CMS section.

0
votes
1answer
13 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
21 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
1answer
23 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
7 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
5 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
51 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
0answers
28 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 ...
0
votes
0answers
16 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
8 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 ...
-1
votes
0answers
10 views

Url invalid coupon in magento 2?invalid_coupon=redirect_wphour

when i search my in magento 2 website http://dev.acx.ls1/work-per-hour in url it shows url:http://dev.acx.ls1/hire-us/?invalid_coupon=redirect_wphour . It doesn't generate work per hour page. How to ...
0
votes
2answers
32 views

Block type error

I accidentally removed a space then suddenly the code below became 1 line spacing instead of 0 and I can't bring it back. {{block type="bannerslider/default" name="bannerslider.bannerslider" template=...
0
votes
1answer
35 views

Override footer content with custom cms blocks?

Is there a way to "delete" all current footer content, and put a single cms block in there? I want to manage all its content in a simple cms block. Designing a custom footer seems to be very ...
0
votes
1answer
33 views

how to get shipping methods in cms(in admin panel) but not programmatically using php magento 2?

Actually i am trying to get selected shipping methods from checkout page in cms(in admin panel). Here I want to put if else condition in cms content only with selected shipping Method. Actually i ...
0
votes
2answers
27 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
2answers
135 views

Unable to get CMS page identifier

I am trying to get CMS page identifier with Mage::getSingleton('cms/page')->getIdentifier(); in a footer.phtml but for some reason I am getting no-route on all the pages. It used to work before ...
0
votes
1answer
66 views

Put a trailing slash at the end of CMS URL without redirection

I would to put a trailing slash at the end of my CMS URL, but without make redirection when it's possible : I want to put this slash when the URL is build. In the BO, in CMS page, we can define url ...
0
votes
0answers
99 views

Add canonical link to CMS page | Trailing slash added after URL

I have a problem with my CMS page. I found out that the page is available under two versions: www.mydomain.co.uk/MyCMSpage www.mydomain.co.uk/MyCMSpage/ I am not sure why the trailing slash ...
2
votes
2answers
126 views

Magento 2 - CMS Block redirection to url

I would like to be able to redirect to a url when the user clicks the category. I have this menu, with the News category. This category loads a CMS Block: And only having a script which redirects me ...
2
votes
0answers
50 views

How to get store currency in cms blocks in magento2

I have a CMS block which will be used in multi-currency stores. I have a content,lets say "Grab it for USD 100".Now I want this to change based on store currency selected.How can i achieve this on ...
5
votes
2answers
87 views

Invalid Blocktype

I try to help a user on magento.stackexchange. So I created his extension and created a new CMS site with the following content: {{block type="atwix/cmsattr" template="atwix/cmsattr/list.phtml"}} I ...
1
vote
1answer
62 views

Cannot create static Cms block from backend

Whenever I try to create a new static block from the backend, I always get the notice "Could not save block, sorry something went wrong". Checking logs I found this exception of the violation of ...
0
votes
2answers
103 views

Get product list by ids in CMS page [ Magento 2 ]

I want to create cms page and will show products list as per given ids in admin editor.
0
votes
0answers
12 views

Custom session unset after calling cms static block after upgrade to magento2.2.5 from magento2.2.4

I have set some session values and that I am using after sending an email. Up to version 2.2.4, it was working fine, but as I upgrade Magento to 2.2.5 then I am not getting session values after ...
1
vote
1answer
36 views

magento 1.X show cms block depends on language

In default RWD theme, it uses the following code for showing company footer <default> <reference name="footer"> <block type="cms/block" name="cms_footer_links" before="...
1
vote
1answer
37 views

Adding CMS Blocks to a Products, not programatically - Magento 2

I would like to add additional information to specified products, we would like to use the block as a template where we would just need to add this block to the product content so it would appear ...
3
votes
4answers
311 views

Why my homepage doesn't display a cms block content?

I have programmatically created a CMS block, which is working fine. I've added some content into it and trying to display it in my homepage. My block identifier is this_is_a_block_identifier. I'm ...
0
votes
1answer
43 views

CMS Image Padding - Magento 2

Have added two images to same line, they auto fill the width - but how can I remove the padding between the images? And remove the "line break" so I can have e.g. 4 images (2x2) without any padding ...
2
votes
2answers
74 views

How to out put a nest block in cms?

like this <block class="Magefan\Blog\Block\Post\PostList\Item" name="blog.posts.list.item" template="post/list/item.phtml"> <block class="Magefan\Blog\Block\Post\Info" name="blog.post....
1
vote
1answer
149 views

Change magento2 cms page layout

I am using 2 column left in home page. It is a cms page. In responsive i need to load as <div class="sidebar sidebar-main"></div> <div class="column main"></div>
0
votes
1answer
56 views

How to upload svg iamges in CMS pages in magento 2

I wish to add svg images in cms pages in backend. While uploading .svg images, it shows invalid file. Please provide me a solution to upload svg images in cms pages in magento 2
0
votes
2answers
63 views

How can i add static block in magento on category page?

I want to add a static block on my website Category page. This is the link of that page. https://flowerportal.in/online-flower-delivery/all-cities/bangalore I have just created some banners for ...
1
vote
2answers
36 views

How to use block from module on CMS page?

I have a block class called Fekete_Newsletter2Go_Block_Form. <?php class Fekete_Newsletter2Go_Block_Form extends Mage_Core_Block_Template { private $n2g; private $session; private $...
0
votes
1answer
95 views

Magento 2.2.5: How Cms Page Search Work?

Like i said in the title, i dont know how the Search in Catalog work. As far as i know, the Search is render through this code in this ui-component: C:\xampp\htdocs\magento\vendor\magento\module-cms\...
0
votes
1answer
46 views

CMS page not found

I have a strange error. I created a new CMS page with url mtclp/20 and got an error page 404. If I change url on just lps, it works. If I try with, for example, test/30, It also works. Other pages ...
0
votes
1answer
25 views

How to display a category on my homepage?

I'm just making my own Magento website and I was wondering if it is possible to display a specific category? I have two categories and I would like to display them separately. I'm using this CMS code:...
0
votes
0answers
83 views

Edit widget in CMS page Magento2

I have a widget added in my CMS page like this. It is added by default from a theme I purchased. How can I edit this JSON encoded widget as Magento is not able to filter out products. {{widget ...
0
votes
0answers
57 views

Best Practice for Url Key when using CMS Home Page and multiple store views in Magento 2?

Wondering how to approach this situation: We have two stores and corresponding store views, store1 and store2, which can be accessed via site.com/store1 and site.com/store2 Each store is linked to a ...
0
votes
1answer
213 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
0answers
28 views

No such file or directory - even though directory exists and has permissions

I can't upload images for my CMS pages. I get: Array ( [type] => 2 [message] => chdir(): No such file or directory (errno 2) [file] => /home/mycompany1/mycompany2/lib/Varien/Io/...
1
vote
1answer
145 views

CMS page id from system configurations Magento 1.9

In my custom module, I have a field in the system configwith cmspages. I need to get the id of the selected cms page, not the identifier, so I can get the content of a cms page in a phtml file. I ...
1
vote
1answer
23 views

Get cms page in template file does'nt work after edit cms page Magento 1.9

I have loaded a cms page in a template file. But after an edit to the cms page, I get an white page instead of this cms page. I am using the following line to get the cms page. echo $this->helper('...
1
vote
0answers
17 views

CMS Page Rules Applied to a Blog Post for Magento 1.9

We have different CSS settings for a typical CMS page vs. a Blog post. I would like the format and style from CMS applied to 1 blog post. What do I need to capture to add this inline for the blog post ...
0
votes
1answer
41 views

Magento 1.9.4 : Prevent the css and js of the skin folder to load in a cms page

I want to style its elements by myself (for example, I want to style the header different from the rest of the website) but Magento loads the styles from the skin folder. How can I prevent Magento ...
0
votes
0answers
56 views

Magento2 Install Fails on Percona Cluster

The installer stops at 52% with the error below. As this cluster is powering other things, I am reluctant to change the pxc_strict_mode. Percona strongly recommend that its set to enforcing for data ...
0
votes
1answer
21 views

Cant use brackets in javascript under CMS Block

let legValue = parseInt(legLenght.value); let currHeight = e.value; let numHeight = parseInt(currHeight.substring(0,3)); let optionsFound; if(legValue ==64){ ...
0
votes
0answers
418 views

Magento 2.2.3 - CMS Home Page not showing for other store view

I have a primary store view home that's attached to the default store and configured (in Stores > Configuration > General > Web > Default Pages) with a specific CMS Home Page (also called home). That ...
0
votes
0answers
31 views

Add image to dropdown menu

I have the theme, theme was applied (So I think? I've taken over this project from a partner) to the site and I'm using mega menu. In my menu I have ha dropdown menu for a specific category. In this ...
0
votes
1answer
197 views

homepage only loading header and footer?

I have created a new CMS page called "Homepage" and added some content to it. I have set this new CMS page as the CMS Homepage in Magento 2 admin. but when I go to the base URL I only get the Header ...
2
votes
3answers
183 views

Magento2: How to create password protected cms page?

I want to create password protected page. Where users once click on password protected page then they redirect to the password page. And then after filling password, they redirect on actual page ...
1
vote
1answer
73 views

Showing certain product price on an cms page

So I am trying to show a certain products price on an cms page. Is there anyway that I can do this? I have a hardcoded landing cms page and I wanted to display dynamically a price of a certain ...