Results 1 to 2 of 2

Thread: problem in navigating the list in Viewed Message in Campaigns module.

  1. #1
    manu is offline Junior Member
    Join Date
    Jun 2006
    Posts
    3

    Default problem in navigating the list in Viewed Message in Campaigns module.

    Hi

    I am getting this error, in campaign module.
    I have made a new campaign, and i tried to see the status of that campaign by clicking on view status. It has given the list of matters in that page. But when i tried to navigate by clicking on next link. It has displayed following error.


    Warning: asubpanel(modules//subpanels/.php): failed to open stream: No such file or directory in /home/virtual/site130/fst/home/netrixcrm/public_html/netrixcrm/include/SubPanel/SubPanelDefinitions.php on line 66

    Warning: asubpanel(modules//subpanels/.php): failed to open stream: No such file or directory in /home/virtual/site130/fst/home/netrixcrm/public_html/netrixcrm/include/SubPanel/SubPanelDefinitions.php on line 66

    Fatal error: asubpanel(): Failed opening required 'modules//subpanels/.php' (include_path='.:/home/virtual/site130/fst/usr/share/pear:/usr/share/pear') in /home/virtual/site130/fst/home/netrixcrm/public_html/netrixcrm/include/SubPanel/SubPanelDefinitions.php on line 66

  2. #2
    666
    666 is offline Member
    Join Date
    Sep 2006
    Posts
    5

    Thumbs up Re: problem in navigating the list in Viewed Message in Campaigns module.

    Hi there, after 2 hours viewing the code...

    Here is the solution:

    replace array variable called $layout_defs['Campaigns'] in /modules/Campaigns/layaout_defs.php

    delete the lines:

    PHP Code:
            $layout_defs['Campaigns'] = array( 
        
    // list of what Subpanels to show in the DetailView 
        
    'subpanel_setup' => array(
            
    'prospectlists' => array(
                
    'order' => 10,
                
    'module' => 'ProspectLists',
                
    'get_subpanel_data'=>'prospectlists',
                
    'set_subpanel_data'=>'prospectlists',            
                
    'subpanel_name' => 'default',
                
    'title_key' => 'LBL_PROSPECT_LIST_SUBPANEL_TITLE',
            ),
            
    'emailmarketing' => array(
                
    'order' => 20,
                
    'module' => 'EmailMarketing',
                
    'get_subpanel_data'=>'emailmarketing',
                
    'subpanel_name' => 'default',
                
    'title_key' => 'LBL_EMAIL_MARKETING_SUBPANEL_TITLE',
            ),
        )
    ); 
    and paste this code:

    PHP Code:
    if ($_REQUEST['action']=="DetailView")
    {
        
    $layout_defs['Campaigns'] = array( 
        
    // list of what Subpanels to show in the DetailView 
        
    'subpanel_setup' => array(
            
    'prospectlists' => array(
                
    'order' => 10,
                
    'module' => 'ProspectLists',
                
    'get_subpanel_data'=>'prospectlists',
                
    'set_subpanel_data'=>'prospectlists',            
                
    'subpanel_name' => 'default',
                
    'title_key' => 'LBL_PROSPECT_LIST_SUBPANEL_TITLE',
            ),
            
    'emailmarketing' => array(
                
    'order' => 20,
                
    'module' => 'EmailMarketing',
                
    'get_subpanel_data'=>'emailmarketing',
                
    'subpanel_name' => 'default',
                
    'title_key' => 'LBL_EMAIL_MARKETING_SUBPANEL_TITLE',
            ),
        )
    );
    }
    else
    {
        
    $layout_defs['Campaigns'] = array( 
        
    // list of what Subpanels to show in the DetailView 
        
    'subpanel_setup' => array(
            
    'prospectlists' => array(
                
    'order' => 10,
                
    'module' => 'ProspectLists',
                
    'get_subpanel_data'=>'prospectlists',
                
    'set_subpanel_data'=>'prospectlists',            
                
    'subpanel_name' => 'default',
                
    'title_key' => 'LBL_PROSPECT_LIST_SUBPANEL_TITLE',
            ),
            
    'emailmarketing' => array(
                
    'order' => 20,
                
    'module' => 'EmailMarketing',
                
    'get_subpanel_data'=>'emailmarketing',
                
    'subpanel_name' => 'default',
                
    'title_key' => 'LBL_EMAIL_MARKETING_SUBPANEL_TITLE',
            ),
               
    'track_queue' => array(
                
    'order' => 100,
                
    'module' => 'EmailMan',
                
    'get_subpanel_data'=>'function:get_queue_items',
                
    'subpanel_name' => 'default',
                
    'title_key' => 'LBL_MESSAGE_QUEUE_TITLE',
            ),
            
    'targeted' => array(
                
    'order' => 110,
                
    'module' => 'CampaignLog',
                
    'get_subpanel_data'=>"function:track_log_entries",
                
    'function_parameters'=>array(0=>'targeted',),
                
    'subpanel_name' => 'default',
                
    'title_key' => 'LBL_LOG_ENTRIES_TARGETED_TITLE',
            ),
            
    'viewed' => array(
                
    'order' => 120,
                
    'module' => 'CampaignLog',
                
    'get_subpanel_data'=>"function:track_log_entries",
                
    'function_parameters'=>array(0=>'viewed',),
                
    'subpanel_name' => 'default',
                
    'title_key' => 'LBL_LOG_ENTRIES_VIEWED_TITLE',
            ),
            
    'link' => array(
                
    'order' => 130,
                
    'module' => 'CampaignLog',
                
    'get_subpanel_data'=>"function:track_log_entries",
                
    'function_parameters'=>array(0=>'link',),
                
    'subpanel_name' => 'default',
                
    'title_key' => 'LBL_LOG_ENTRIES_LINK_TITLE',
            ),
            
    'lead' => array(
                
    'order' => 140,
                
    'module' => 'CampaignLog',
                
    'get_subpanel_data'=>"function:track_log_entries",
                
    'function_parameters'=>array(0=>'lead',),
                
    'subpanel_name' => 'default',
                
    'title_key' => 'LBL_LOG_ENTRIES_LEAD_TITLE',
            ),
            
    'contact' => array(
                
    'order' => 150,
                
    'module' => 'CampaignLog',
                
    'get_subpanel_data'=>"function:track_log_entries",
                
    'function_parameters'=>array(0=>'contact',),
                
    'subpanel_name' => 'default',
                
    'title_key' => 'LBL_LOG_ENTRIES_CONTACT_TITLE',
            ),
            
    'invalid email' => array(
                
    'order' => 160,
                
    'module' => 'CampaignLog',
                
    'get_subpanel_data'=>"function:track_log_entries",
                
    'function_parameters'=>array(0=>'invalid email',),
                
    'subpanel_name' => 'default',
                
    'title_key' => 'LBL_LOG_ENTRIES_INVALID_EMAIL_TITLE',
            ),                
            
    'send error' => array(
                
    'order' => 170,
                
    'module' => 'CampaignLog',
                
    'get_subpanel_data'=>"function:track_log_entries",
                
    'function_parameters'=>array(0=>'send error',),
                
    'subpanel_name' => 'default',
                
    'title_key' => 'LBL_LOG_ENTRIES_SEND_ERROR_TITLE',
            ),
            
    'removed' => array(
                
    'order' => 180,
                
    'module' => 'CampaignLog',
                
    'get_subpanel_data'=>"function:track_log_entries",
                
    'function_parameters'=>array(0=>'removed',),
                
    'subpanel_name' => 'default',
                
    'title_key' => 'LBL_LOG_ENTRIES_REMOVED_TITLE',
            ),
        )
    );

    It works fine the next buttons after that change. Dont modify the $layout_defs['CampaignLog'] variable.
    Enjoy it. Thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •