在opencart中由oneall驱动

时间:2016-06-08 09:04:20

标签: php opencart opencart2.x

大家好我开发了使用opencart 2.0的网站,我使用了一个用于Facebook连接的所有插件.. 现在我需要删除tat由一个所有有任何选项删除?

我只使用facebook登录..如果有任何其他选项登录Facebook请告诉我tat image1

// Display widget in this container
$oasl_container = 'oneall_social_login_'.mt_rand(99999, 9999999); 
$title = "";
// Do not display for guests
if ( ! $oasl_user_is_logged  && ! empty ($oasl_subdomain)) 
{
 if (! empty ($oasl_heading_title))
    {
  //echo '<h3>'.$oasl_heading_title.'</h3>';
  echo '<h3>'.$title.'</h3>';
 }                    

 if ($oasl_display_modal) 
 { 
  echo '<a id="'.$oasl_container.'" class="button">'.$oasl_login_button.'</a>';
 }
 else

 {
  echo '<div id="'.$oasl_container.'"></div>';
 }

 // Plugin
 $oasl_widget = array();
 $oasl_widget[] = "<script type='text/javascript'>";
 $oasl_widget[] = "/ OneAll Social Login - http://www.oneall.com/ /";
 $oasl_widget[] = "var oneall = oneall || [];";
 $oasl_widget[] = "_oneall.push(['social_login', 'set_providers', ['" . $oasl_providers. "']]);";
 $oasl_widget[] = "_oneall.push(['social_login', 'set_callback_uri', '" . $oasl_callback_uri . "']);";

 // Modal Popup 
 if ($oasl_display_modal)
 {
  $oasl_widget[] = "_oneall.push(['social_login', 'attach_onclick_popup_ui', '" . $oasl_container . "']);";
 }
 // Inline Display
 else
 {
  $oasl_widget[] = "_oneall.push(['social_login', 'set_grid_size', 'x', " . $oasl_grid_size_x . "]);";
  $oasl_widget[] = "_oneall.push(['social_login', 'set_grid_size', 'y', " . $oasl_grid_size_y . "]);";
     $oasl_widget[] = "_oneall.push(['social_login', 'set_custom_css_uri', '" .  $oasl_custom_css_uri . "']);";
     $oasl_widget[] = "_oneall.push(['social_login', 'do_render_ui', '" . $oasl_container . "']);";
 }
  $oasl_widget[] = "</script>";

 // Display Widget     
  echo "\n\t" . implode ("\n\t", $oasl_widget)."\n"; 

}

1 个答案:

答案 0 :(得分:0)

这可以通过css来完成。 将div和hide-pby(示例)放在iframe之外。

.hide-pby{
     position:relative;
}
aside.hide-pby::before{
     position:absolute; 
     width:200px; 
     height:15px;content:"";
     left:0;
     bottom:0; 
     background-color:#fff;
}