Questions tagged [cms]

Denotes questions for the CMS section.

This tag should be used for questions related to the CMS section.
This includes Pages, Static Blocks, Widgets and Polls.

699 questions
7
votes
3 answers

Execute PHP code in CMS page

I'm new working with Magento, and I was wondering if there's any way I can create a CMS page that uses PHP code. I mean,the page I need to create is something like an About Us, with a short description and a pretty simple contact form. Now, I tried…
Sebastian
  • 173
  • 1
  • 1
  • 4
4
votes
3 answers

Get CMS page for the correct store view

I have two store views, for 2 languages. I have a page 'foo' defined in both languages (i.e. store views). I'm using $aCmsPage = Mage::getModel('cms/page')->load('foo', 'identifier'); However, I always get the page in the same language. Shouldn't…
Tero Lahtinen
  • 571
  • 2
  • 8
  • 22
4
votes
1 answer

CMS removing empty div or other element

how can i easily stop empty elements from being removed by the CMS WYSIWYG editor? it seems that changing the code is a very cumbersome way
Yehuda Schwartz
  • 1,152
  • 3
  • 14
  • 33
3
votes
3 answers

Home page error "no Home CMS page configured or found"

I have created a new CMS page and want to set it as my homepage. I have tried to change my page through System> Configuration> Web > CMS Homepage, but I got the error message "There was no Home CMS page configured or found" in my frontend home…
sc364
  • 131
  • 2
  • 3
  • 6
2
votes
2 answers

Show products with specific attribute on cms page

I have a question about a specific product collection on a cms page I have an amount X of products which have an attribute A which is set to true. Now I want to have a cms page with some content and then have a number of X products on that page…
seb
  • 3,572
  • 3
  • 25
  • 57
2
votes
1 answer

Setting media/skin urls to another domain breaks image uploader in wysiwyg editor

If I set the "Base skin URL" and " Base media URL" to a domain other than the one used for the "Base URL" the image uploader in the WYSIWYG editor breaks. The "Media storage" popup appears and I can select an image using the "Browse files..." button…
Ewout
  • 48
  • 4
1
vote
0 answers

Magento not showing CMS Page content

My local installation shows content on every existing cms page. The remote installation show no content on none of the cms blocks. File basis is the same for both. Cache is off. Content is existing. The only page showing content is the cms page.…
Bernhard Prange
  • 677
  • 4
  • 19
1
vote
1 answer

How to create extension of custom page layout in Magento

How can i create extension for page layout. I have no extension for this.
Jaydip Kansagra
  • 565
  • 4
  • 15
1
vote
4 answers

Add CMS Pages to the Main Menu

How can I add CMS Pages to the Main Menu?
andy
  • 61
  • 1
  • 3
  • 8
1
vote
2 answers

Magento CMS, stop removing new lines for easier reading

How do I overcome the Magento CMS editor reformatting my html (removing new lines) I write down this And after I save it looks like this
snh_nl
  • 5,442
  • 13
  • 69
  • 133
1
vote
1 answer

magento restrict website to certain country

i want to disable my site for certaing country and redirect it to specific page only like if person from UK opens website he will be redirected to abc.com/restricted which is cms page with some message and shows user ip
gaurav
  • 31
  • 1
  • 6
1
vote
1 answer

Cms Edit page content tab

How can I list content in cms edit page from other table? Which function should be overwritten? I want to change the table where the content in wysiwyg editor is getting from another table. How can i change this?
Mike
  • 455
  • 4
  • 14
1
vote
1 answer

Hide Technology Usage

Just out of curiosity. Is it possible hiding technology usage from website profiler, e.g: w3techs.com or builtwith.com? Information to be hidden such as Content Management System, Server Side Programming Language, Web Server. If possible, any…
Leongelis
  • 585
  • 8
  • 21
0
votes
1 answer

Displaying a specific product's attributes on a CMS page

Hi Guys I am just wondering how I can display a specific product on a CMS page and display it's attributes? Any ideas on how how this can be done?
Christopher
  • 33
  • 1
  • 4
0
votes
1 answer

How to create a product page with fully custom CMS content?

I would like a product detail page that doesn't follow the typical layout of a PDP in my store. I've tried changing content with custom templates but this requires a code change - is there any way to do this from the CMS?
philwinkle
  • 35,751
  • 5
  • 91
  • 145
1
2