Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8769943
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T17:27:36+00:00 2026-06-13T17:27:36+00:00

I have created a Magento admin module with it’s own menu and page in

  • 0

I have created a Magento admin module with it’s own menu and page in the back-end, and am trying to recreate how CMS->Pages lists every page in it’s grid on my own page, then add my own column.

So far, after switching on template hints for the admin section, I have seen that the original Magento CMS section template is loaded from adminhtml\default\default\template\widget/grid.phtml.

I have copied the contents of this file to my page, but of course, the $this reference that the original uses doesn’t have the same loaded classes/data asociated with it on my own module page.

Can anyone tell me if I’m along the right lines with this, or how I might achieve the same effect as CMS->Pages, but on my own page and adding my own column?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T17:27:37+00:00Added an answer on June 13, 2026 at 5:27 pm

    To accomplish this you can create a custom module that extend /app/code/core/Mage/Adminhtml/Block/Cms/Block/Grid.php

    Assuming that you’re adding a database field to cms table

    Create /app/code/local/RWS/CmsGrid/etc/config.xml

    <global>
       <blocks>
          <adminhtml>
            <rewrite>
              <cms_block_grid>RWS_CmsGrid_Block_Cms_Block_Grid</cms_block_grid>
            </rewrite>
          </adminhtml>
       </blocks>
    </global>
    

    Create /app/code/local/RWS/CmsGrid/Block/Cms/Block/Grid.php

    class RWS_CmsGrid_Block_Cms_Block_Grid extends Mage_Adminhtml_Block_Cms_Block_Grid
    {
    
       protected function _prepareColumns()
       {
    
          $this->addColumn('xxxxxx', array(
              'header'    => Mage::helper('cms')->__('Xxxxx'),
              'align'     => 'left',
              'index'     => 'title',
         ));
         ..........
    

    See more info

    • Magento – overriding Adminhtml block

    • http://www.atwix.com/magento/adding-custom-attribute-to-a-cms-page/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to create a custom module in magento admin. I have reached
I have created a Sample Module (Admin Side) in Magento.. I managed To created
I am new to Magento CMS, i have configured products using admin panel, at
I am creating a custom module in magento.I have created block class and phtml
I have a simple module created with the Magento Module Creator with a couple
I have created a module in Magento which takes certain views from customers about
i have created a module and it's override magento hash function properly. But question
How to get user id of magento admin panel, suppose i have created a
I have 50 CMS pages I want to create in Magento. These are essentially
I have created a custom Magento module which extends the core sales order functionality

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.