Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 42140

Magento Community version 1.9

0 votes
0 answers
72 views

how to save value of post data to a custom table in magento 1.9 [duplicate]

Getting error Fatal error: Call to a member function setData() on boolean in /home/company/lampstack-5.6.28-1/apps/kb/htdocs/app/code/local/Namespace/Manager/controllers/Service.php on line 2849 …
supriya mishra's user avatar
0 votes
1 answer
613 views

how can make different conditions in one collection in magento 1.9

here is my one new function i have minify it need to make a single use of collection for delay and verify, how to make common filter for all. $collection and $citycollection also need to make one, ho …
supriya mishra's user avatar
1 vote
0 answers
83 views

How to add admin logged in customer name in column in custom grid.?

I am adding one custom grid to my module in grid i want to add name of user who has edit or added new item. so how can I get it programatically? here is my grid.php <?php class Maybe_Manager_Block …
supriya mishra's user avatar
0 votes
2 answers
848 views

load customer collection by email and mobile but not general group

I want to load customer collection by email and mobile but not general group for email load $customer = Mage::getModel("customer/customer")->loadByEmail($customerEmail); for mobile $customer = …
supriya mishra's user avatar
0 votes
2 answers
55 views

Create_at Admin time is not correctly showing in magento1.9

my function is it is showing like Feb 22,2017 12:00:00 AM i need to display current time. public function ws_getPunchHistory($custid,$intime,$outtime,$inlocation,$outlocation,$punchstatus,$create …
supriya mishra's user avatar
3 votes
3 answers
235 views

SQl is not working?

I am upgrading my table with new version and changed config version too, getting error :PDOException Object ( [message:protected] => SQLSTATE[42000]: Syntax error or access violation: 1064 You h …
supriya mishra's user avatar
0 votes
0 answers
571 views

how to show the value in custom grid without saving in table in magento 1.9

I am trying to show a column in grid using renderer . here is my renderer file public function render(Varien_Object $row) { $value = $row->getData($this->getColumn()->getIndex()); $co …
supriya mishra's user avatar
2 votes
1 answer
124 views

How to sort Response alphabetically in magento 1.9?

Here I wish to sort my response alphabetical to the college names : if($collegeid!=null) { $res['status'] = true; $res['message'] …
supriya mishra's user avatar
1 vote

How to sort Response alphabetically in magento 1.9?

$sortcollege = array_column($collegeData, 'college'); $sorted = array_multisort($sortcollege, SORT_ASC, $collegeData); This helped me !!
supriya mishra's user avatar
1 vote
2 answers
2k views

how to merge two collection in magento 1.9

$collection = Mage::getModel("manager/campus")->getCollection() ->addFieldToFilter('regionalmanager',array('finset' => $arr)) ->addFieldToFilter('status', array('eq' => 1)); /* G …
supriya mishra's user avatar
0 votes
1 answer
651 views

how to write collection query in magento 1.9

i have this custom collection which is taking much time to load, so want to change into sql query how can I achieve it? $delayedcollectioncount = Mage::getModel("customer/customer") ->getCol …
supriya mishra's user avatar
1 vote
1 answer
194 views

How SELECT `e`.* is coming in Query while printing collection filter in magento 1.9

$collection = Mage::getModel("customer/customer")->getCollection() ->addAttributeToSelect('firstname') ->addAttributeToFilter('grisk_college_new_id', array('in' =>$collegeid) …
supriya mishra's user avatar
2 votes
1 answer
317 views

how to append variable in LIKE in SQL Query

I have a SQL query where I want to append $customerID, how to achieve that? > SELECT `e`.*, `at_assigned_campus_manager`.`value` AS > `assigned_campus_manager`, `at_physical_verify`.`value` AS > ` …
supriya mishra's user avatar
3 votes
2 answers
4k views

how to upgrade schema to create new table in existing module in magento 1.9?

I need to create a table having id,customer_id,in_time,out_time,in_coordinates,out_coordinates where customer_id will be primary key. please tell what are the steps after creating sql file in sql fol …
supriya mishra's user avatar
0 votes
1 answer
379 views

Magento 1.9.2 :how to take data though API from android app to magento database?

We are having android app where we are tracking the location and timing of our sales guys! but how we can save this log in time and log out time in magento database ? how I can interact with android a …
supriya mishra's user avatar

15 30 50 per page