This topic contains 2 replies, has 3 voices, and was last updated by Pedro Molina 6 years, 10 months ago.
- Topic
I followed the the readme in activityBundle and I created a custom (task) entity declared as “activity”. Then in my accountBundle I have activated both “oro_email” and my own custom entity as activity.
On my account view I correctly get the two tabs “Emails” and Tasks but when I click on task I can see that both buttons and the corresponding divs have the same “data-target” derived from the field name in oro_entity_config_field.
1234567891011<div class="oro-tabs"><ul class="nav nav-tabs"><li class=""><a href="javascript: void(0);" class=" " title="Emails" data-widget-type="block" data-widget-event="shown.bs.tab" data-widget-multiple="" data-widget-options="{"container":"#account_96720f6b","loadingElement":"#tab-account_96720f6b-account_96720f6b","alias":"account_96720f6b"}" data-widget-initialized="1" data-target="#account_96720f6b" data-toggle="tab" data-url="/app_dev.php/email/activity/view/Mekit_Bundle_AccountBundle_Entity_Account/1">Emails</a></li><li class="active"><a href="javascript: void(0);" class=" " title="Tasks" data-widget-type="block" data-widget-event="shown.bs.tab" data-widget-multiple="" data-widget-options="{"container":"#account_96720f6b","loadingElement":"#tab-account_96720f6b-account_96720f6b","alias":"account_96720f6b"}" data-target="#account_96720f6b" data-toggle="tab" data-url="/app_dev.php/task/widget/activity/Mekit_Bundle_AccountBundle_Entity_Account/1">Tasks</a></li></ul></div>This results in that when I click the second tab the datagrid content is loaded into the first div (below the emails) and not in the second.
I’m sure I did something wrong but I cannot figure out where – do you have any ideas?
thanksoro/platform(1.6.2) + oro/doctrine-extensions(1.0.7) + symfony/symfony(v2.3.27)
The forum ‘OroPlatform – Programming Questions’ is closed to new topics and replies.