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

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
3
down vote

favorite












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 trying to call it in content->pages->home page->edit by adding:



block class=MagentoCmsBlockBlock" block_id="this_is_a_block_identifier"


After, I'm clearing a cache. But instead of displaying a content, it just displays a text, which is that block class calling (as I showed above).



Why?







share|improve this question




























    up vote
    3
    down vote

    favorite












    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 trying to call it in content->pages->home page->edit by adding:



    block class=MagentoCmsBlockBlock" block_id="this_is_a_block_identifier"


    After, I'm clearing a cache. But instead of displaying a content, it just displays a text, which is that block class calling (as I showed above).



    Why?







    share|improve this question
























      up vote
      3
      down vote

      favorite









      up vote
      3
      down vote

      favorite











      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 trying to call it in content->pages->home page->edit by adding:



      block class=MagentoCmsBlockBlock" block_id="this_is_a_block_identifier"


      After, I'm clearing a cache. But instead of displaying a content, it just displays a text, which is that block class calling (as I showed above).



      Why?







      share|improve this question














      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 trying to call it in content->pages->home page->edit by adding:



      block class=MagentoCmsBlockBlock" block_id="this_is_a_block_identifier"


      After, I'm clearing a cache. But instead of displaying a content, it just displays a text, which is that block class calling (as I showed above).



      Why?









      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 28 at 9:28









      Qaisar Satti

      24.9k115398




      24.9k115398










      asked Aug 28 at 9:15









      HELPME

      497




      497




















          4 Answers
          4






          active

          oldest

          votes

















          up vote
          4
          down vote













          To call static block in cms page



           block id="this_is_a_block_identifier"


          Reference






          share|improve this answer



























            up vote
            2
            down vote













            It seems you have forget to use " before MagentoCms so please use below code .



            block class="MagentoCmsBlockBlock" block_id="this_is_a_block_identifier"





            share|improve this answer



























              up vote
              1
              down vote













              Looking at your question, it seems that you have typo mistake in calling the block.



              block class=MagentoCmsBlockBlock" block_id="this_is_a_block_identifier"


              should be



              block class="MagentoCmsBlockBlock" block_id="this_is_a_block_identifier"


              Notice the double quote before Magento.






              share|improve this answer




















              • I did that, but this doesn't help. I got just a text in my home page.
                – HELPME
                Aug 28 at 10:41

















              up vote
              0
              down vote













              A possibility is that your forgot to enable the block for the store view of your home page. There's a list widget just above the block content of the block edit page. You can use Ctrl + click to select multiple store view where the block should show up.






              share|improve this answer




















                Your Answer







                StackExchange.ready(function()
                var channelOptions =
                tags: "".split(" "),
                id: "479"
                ;
                initTagRenderer("".split(" "), "".split(" "), channelOptions);

                StackExchange.using("externalEditor", function()
                // Have to fire editor after snippets, if snippets enabled
                if (StackExchange.settings.snippets.snippetsEnabled)
                StackExchange.using("snippets", function()
                createEditor();
                );

                else
                createEditor();

                );

                function createEditor()
                StackExchange.prepareEditor(
                heartbeatType: 'answer',
                convertImagesToLinks: false,
                noModals: false,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: null,
                bindNavPrevention: true,
                postfix: "",
                onDemand: true,
                discardSelector: ".discard-answer"
                ,immediatelyShowMarkdownHelp:true
                );



                );













                 

                draft saved


                draft discarded


















                StackExchange.ready(
                function ()
                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f239851%2fwhy-my-homepage-doesnt-display-a-cms-block-content%23new-answer', 'question_page');

                );

                Post as a guest






























                4 Answers
                4






                active

                oldest

                votes








                4 Answers
                4






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes








                up vote
                4
                down vote













                To call static block in cms page



                 block id="this_is_a_block_identifier"


                Reference






                share|improve this answer
























                  up vote
                  4
                  down vote













                  To call static block in cms page



                   block id="this_is_a_block_identifier"


                  Reference






                  share|improve this answer






















                    up vote
                    4
                    down vote










                    up vote
                    4
                    down vote









                    To call static block in cms page



                     block id="this_is_a_block_identifier"


                    Reference






                    share|improve this answer












                    To call static block in cms page



                     block id="this_is_a_block_identifier"


                    Reference







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Aug 28 at 9:37









                    AddMage

                    4194




                    4194






















                        up vote
                        2
                        down vote













                        It seems you have forget to use " before MagentoCms so please use below code .



                        block class="MagentoCmsBlockBlock" block_id="this_is_a_block_identifier"





                        share|improve this answer
























                          up vote
                          2
                          down vote













                          It seems you have forget to use " before MagentoCms so please use below code .



                          block class="MagentoCmsBlockBlock" block_id="this_is_a_block_identifier"





                          share|improve this answer






















                            up vote
                            2
                            down vote










                            up vote
                            2
                            down vote









                            It seems you have forget to use " before MagentoCms so please use below code .



                            block class="MagentoCmsBlockBlock" block_id="this_is_a_block_identifier"





                            share|improve this answer












                            It seems you have forget to use " before MagentoCms so please use below code .



                            block class="MagentoCmsBlockBlock" block_id="this_is_a_block_identifier"






                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Aug 28 at 9:22









                            Ansar Husain

                            790216




                            790216




















                                up vote
                                1
                                down vote













                                Looking at your question, it seems that you have typo mistake in calling the block.



                                block class=MagentoCmsBlockBlock" block_id="this_is_a_block_identifier"


                                should be



                                block class="MagentoCmsBlockBlock" block_id="this_is_a_block_identifier"


                                Notice the double quote before Magento.






                                share|improve this answer




















                                • I did that, but this doesn't help. I got just a text in my home page.
                                  – HELPME
                                  Aug 28 at 10:41














                                up vote
                                1
                                down vote













                                Looking at your question, it seems that you have typo mistake in calling the block.



                                block class=MagentoCmsBlockBlock" block_id="this_is_a_block_identifier"


                                should be



                                block class="MagentoCmsBlockBlock" block_id="this_is_a_block_identifier"


                                Notice the double quote before Magento.






                                share|improve this answer




















                                • I did that, but this doesn't help. I got just a text in my home page.
                                  – HELPME
                                  Aug 28 at 10:41












                                up vote
                                1
                                down vote










                                up vote
                                1
                                down vote









                                Looking at your question, it seems that you have typo mistake in calling the block.



                                block class=MagentoCmsBlockBlock" block_id="this_is_a_block_identifier"


                                should be



                                block class="MagentoCmsBlockBlock" block_id="this_is_a_block_identifier"


                                Notice the double quote before Magento.






                                share|improve this answer












                                Looking at your question, it seems that you have typo mistake in calling the block.



                                block class=MagentoCmsBlockBlock" block_id="this_is_a_block_identifier"


                                should be



                                block class="MagentoCmsBlockBlock" block_id="this_is_a_block_identifier"


                                Notice the double quote before Magento.







                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered Aug 28 at 9:19









                                Mohit Kumar Arora

                                5,24041332




                                5,24041332











                                • I did that, but this doesn't help. I got just a text in my home page.
                                  – HELPME
                                  Aug 28 at 10:41
















                                • I did that, but this doesn't help. I got just a text in my home page.
                                  – HELPME
                                  Aug 28 at 10:41















                                I did that, but this doesn't help. I got just a text in my home page.
                                – HELPME
                                Aug 28 at 10:41




                                I did that, but this doesn't help. I got just a text in my home page.
                                – HELPME
                                Aug 28 at 10:41










                                up vote
                                0
                                down vote













                                A possibility is that your forgot to enable the block for the store view of your home page. There's a list widget just above the block content of the block edit page. You can use Ctrl + click to select multiple store view where the block should show up.






                                share|improve this answer
























                                  up vote
                                  0
                                  down vote













                                  A possibility is that your forgot to enable the block for the store view of your home page. There's a list widget just above the block content of the block edit page. You can use Ctrl + click to select multiple store view where the block should show up.






                                  share|improve this answer






















                                    up vote
                                    0
                                    down vote










                                    up vote
                                    0
                                    down vote









                                    A possibility is that your forgot to enable the block for the store view of your home page. There's a list widget just above the block content of the block edit page. You can use Ctrl + click to select multiple store view where the block should show up.






                                    share|improve this answer












                                    A possibility is that your forgot to enable the block for the store view of your home page. There's a list widget just above the block content of the block edit page. You can use Ctrl + click to select multiple store view where the block should show up.







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered Aug 28 at 11:42









                                    Jacco van Dorp

                                    1013




                                    1013



























                                         

                                        draft saved


                                        draft discarded















































                                         


                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function ()
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f239851%2fwhy-my-homepage-doesnt-display-a-cms-block-content%23new-answer', 'question_page');

                                        );

                                        Post as a guest













































































                                        Comments

                                        Popular posts from this blog

                                        What does second last employer means? [closed]

                                        List of Gilmore Girls characters

                                        Confectionery