All Questions
4 questions
0
votes
3
answers
3k
views
Magento Limiting Collections not working
I am using following code to get collections of my custom created module,
app/code/local/Promocode/Promogenerator/Block/Adminhtml/Promogenerator/Grid.php
<?php
class ...
2
votes
1
answer
2k
views
Call to a member function setPageSize() on a non-object
How to use query to get result in Magento admin grid & set into collection?
$resource = Mage::getSingleton('core/resource');
$readConnection = $resource->getConnection('core_read');
$query="...
1
vote
1
answer
476
views
Change table name for admin grid collections
I have created one module for banner. Its working well. In backend, I have an option to add banner image and set active or not.Initially, I have created a table with the name "banner" for save banner ...
2
votes
1
answer
2k
views
How to define custom table and retrieve the data into grid?
i'm writing a module to retrieve the data from a table (i manually created it by using phpmyadmin), but i don't know how to access it in grid.php
<?php
class ...