Magento Expert Forum - Improve your Magento experience
-
Which Is Best SugarCRM Plugin for Survey?
I am online seller of some electric items. I am thinking to get feedback of my customer so I need a survey plugin for it. Any Suggestion ?
View more threads in the same category:
-
-
I was given a task that involved adding a filter to the ListView of an Events module so that (by default) only future events are displayed….but with some way of listing them all.
Two obvious solutions came to mind:
filter on date and have a check-box ticked on basic search that says “Display future events”
filter on event status (planning or confirmed)
I preferred the first option because the second involves two possible status codes
Step 1:
The first thing I had to was add a custom non-db field to the Events module:
custom/Extension/modules/Events/Ext/Vardefs/future_only.php
$dictionary['Events']['fields']['open_only_future_events'] = array(
'name' => 'open_only_future_events',
'type' => 'bool',
'source'=> 'non-db',
'studio' => 'visible',
'query_type' => 'default',
'vname'=> 'LBL_EVENT_FUTURE_ONLY',
);
Then I added the field to the basic search layout in the Events module (this can also be done via studio):
view sourceprint?
array (
'layout' =>
array (
'basic_search' =>
array (
'name' =>
array (
'name' => 'name',
'label' => 'LBL_NAME',
'default' => true,
'width' => '10%',
),
'open_only_future_events' =>
array (
'type' => 'bool',
'studio' => 'visible',
'label' => 'LBL_EVENT_FUTURE_ONLY',
'width' => '10%',
'name' => 'open_only_future_events',
),
'current_user_only' =>
array (
'name' => 'current_user_only',
'label' => 'LBL_CURRENT_USER_FILTER',
'type' => 'bool',
'default' => true,
'width' => '10%',
),
),
-
-
Hello,
We provide the integration services with Sugar CRM, an open source CRM tool. It is the complete customer relationship management solution to provide you engaging CRM user experience.
Good luck!
-
-
-
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks