This topic contains 5 replies, has 3 voices, and was last updated by caunil 7 years, 10 months ago.
- Topic
Hi everyone !
I’m working on a fork of OROCRM that fits the need of my company. However, we have some issues and I think
you can help us.We have an “Activity feed” part for each Account where we can see notes, calls, emails,… related to the
account. This is a part of OroCRMAccountBundle.
Our issue is that everything is working perfectly on dev mode but not in production. When we are in
production, we have absolutely no trace of the activity (buttons aren’t appearing , notes and calls neither,
“Activity” section neither…). We already checked and it’s not the debug mode of symfony that is
interfering.Unfortunately, the dev team that developed our fork of OroCRM is not reachable/available, that’s why I’m
hoping that the community can help me :)Here is our config_dev.yml and config_prod.yml :
123456789101112131415161718192021222324252627###config_dev.ymlimports:- { resource: config.yml }framework:router: { resource: "%kernel.root_dir%/config/routing_dev.yml" }profiler: { only_exceptions: false }web_profiler:toolbar: trueintercept_redirects: falsemonolog:handlers:main:type: streampath: "%kernel.logs_dir%/%kernel.environment%.log"level: debugfirephp:type: firephplevel: infotwig:base_template_class: Oro\Bundle\UIBundle\Twig\Templateoro_assetic:css_debug: ~css_debug_all: false123456789101112131415161718192021###config_prod.ymlimports:- { resource: config.yml }#doctrine:# orm:# metadata_cache_driver: apc# result_cache_driver: apc# query_cache_driver: apcmonolog:handlers:main:type: fingers_crossedaction_level: errorhandler: nestedbuffer_size: 5000nested:type: streampath: "%kernel.logs_dir%/%kernel.environment%.log"level: debugI don’t see anything that could affect the behaviour of the account page depending on the environment.
I put you below the datagrid.yml and the twig template that we are using. It’s the template for a “More actions” button (add a note, a call…). It’s this button (and also other stuff of the CRM related to the activity) that disappear on production.app/Resources/OroCRMAccountBundle/config/datagrid.yml :
123456789101112131415161718192021datagrid:(...)accounts-grid:(...)mass_actions:task:type: ajaxfrontend_type: task-masshandler: noneentity_name: %orocrm_account.account.entity.class%data_identifier: a.idlabel: orocrm.task.add_entityicon: tasksnotification:type: ajaxfrontend_type: notification-masshandler: noneentity_name: %orocrm_account.account.entity.class%data_identifier: a.idlabel: orocrm.notification.sendicon: flagAnd here is the twig template :
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{% block moreMassActions %}<div class="btn-group"><a href="#" rel="nofollow">More actions<span class="caret"></span></a><ul class="dropdown-menu"><!-- <script>$('.ui-dialog form .control-group:first').prepend('<div class="control-group"><label class="control-label">Ids</label><div class="controls"><input type="text" name="orocrm_task[ids]" value="1,2,3" disabled /></div></div>');</script> -->{{ UI.clientLink({'dataUrl': '/task/create?entityClass=OroCRM_Bundle_AccountBundle_Entity_Account&entityId=1&_action=activity','aCss': 'no-hash','iCss': 'icon-tasks','label': 'orocrm.task.add_entity'|trans,'title': 'orocrm.task.add_entity.title'|trans,'widget' : {'type' : 'dialog','multiple' : false,'refresh-widget-alias': 'activity-list-widget','options' : {'alias': 'task-dialog','dialogOptions' : {'title' : 'orocrm.task.add_entity'|trans,'allowMaximize': true,'allowMinimize': true,'dblclick': 'maximize','maximizedHeightDecreaseBy': 'minimize-bar','width': 1000}}}}) }}{{ UI.clientLink({'dataUrl': '/notes/create/OroCRM_Bundle_AccountBundle_Entity_Account/1','aCss': 'no-hash','iCss': 'icon-comment-alt','label': 'oro.note.action.add'|trans,'widget': {'type': 'dialog','multiple': false,'refresh-widget-alias': 'activity-list-widget','options': {'alias': 'note-dialog','dialogOptions': {'title': 'oro.note.action.add'|trans,'allowMaximize': true,'allowMinimize': true,'dblclick': 'maximize','maximizedHeightDecreaseBy': 'minimize-bar','width': 1000}}}}) }}</div>{% endblock %}
The forum ‘OroCRM – Installation/Technical Issues or Problems’ is closed to new topics and replies.