–– Support ––

Community Forum

This forum has now moved to https://suitecrm.com/forum

You can still use the forum below to look at historical SuiteCRM and SugarCRM issues and fixes.

Welcome, Guest
Username: Password:
Please post all questions or issues about AOP 1.x here

TOPIC: Portal Disappears when installing Quck2SMS

Portal Disappears when installing Quck2SMS 4 years 6 months ago #6271

  • UTRUK
  • UTRUK's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
Hi

I have installed Quick2SMS on Suite CRM but this is deleting/removing the Open Portal can anyone advise of a work around please?
The administrator has disabled public write access.

Portal Disappears when installing Quck2SMS 4 years 6 months ago #6272

  • Will
  • Will's Avatar
  • Offline
  • Administrator
  • Posts: 953
  • Thank you received: 79
  • Karma: 0
Can you expand on your issues?

Can you provide screen shots?

Has it removed the cases module/custom AOP functionality?

Is this just a module for SuiteCRM or does it also affect the Joomla component?

Thanks,

Will.
Software Support Engineer
SalesAgility - SugarCRM Consultants and Developers
The administrator has disabled public write access.

Portal Disappears when installing Quck2SMS 4 years 6 months ago #6273

  • UTRUK
  • UTRUK's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
Hi Will,

I cannot provide a screen shot as i've removed the module. But it removes the AOP functionality and it only affects the SuiteCRM module and not Joomla.

Mike
The administrator has disabled public write access.

Portal Disappears when installing Quck2SMS 4 years 6 months ago #6274

  • Will
  • Will's Avatar
  • Offline
  • Administrator
  • Posts: 953
  • Thank you received: 79
  • Karma: 0
Hi Mike,

When you say remove, does it remove the AOP_* modules from the CRM file structure?

What parts of AOP are no longer functioning?

Thanks,

Will.
Software Support Engineer
SalesAgility - SugarCRM Consultants and Developers
The administrator has disabled public write access.

Portal Disappears when installing Quck2SMS 4 years 6 months ago #6275

  • UTRUK
  • UTRUK's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
It removed the create portal function within the contacts module
The administrator has disabled public write access.

Portal Disappears when installing Quck2SMS 4 years 6 months ago #6277

  • Will
  • Will's Avatar
  • Offline
  • Administrator
  • Posts: 953
  • Thank you received: 79
  • Karma: 0
Most likely cause is that the detailviewdefs.php was overwritten and that the create portal user action was removed.

You simply need to edit either modules/Contacts/metadata/detailviewdefs.php or custom/modules/Contacts/metadata/detailviewdefs.php and add the following to the 'buttons' array:
'AOP_CREATE' => 
          array (
            'customCode' => '{if !$fields.joomla_account_id.value && $AOP_PORTAL_ENABLED}<input type="submit" class="button" onClick="this.form.action.value=\'createPortalUser\';" value="{$MOD.LBL_CREATE_PORTAL_USER}"> {/if}',
            'sugar_html' => 
            array (
              'type' => 'submit',
              'value' => '{$MOD.LBL_CREATE_PORTAL_USER}',
              'htmlOptions' => 
              array (
                'title' => '{$MOD.LBL_CREATE_PORTAL_USER}',
                'class' => 'button',
                'onclick' => 'this.form.action.value=\'createPortalUser\';',
                'name' => 'buttonCreatePortalUser',
                'id' => 'createPortalUser_button',
              ),
              'template' => '{if !$fields.joomla_account_id.value && $AOP_PORTAL_ENABLED}[CONTENT]{/if}',
            ),
          ),
Software Support Engineer
SalesAgility - SugarCRM Consultants and Developers
The administrator has disabled public write access.
Time to create page: 0.064 seconds
Powered by Kunena Forum