Magento 2 - Create admin grid with two tables of different structures using UI Component
Need to create an admin grid on Magento 2 with data of two custom tables of different structures.
FYI, unable to proceed with joins and union.
Can you please anyone provide the best solution to achieve this?.
magento2 admin grid uicomponent magento-2.2.5
add a comment |
Need to create an admin grid on Magento 2 with data of two custom tables of different structures.
FYI, unable to proceed with joins and union.
Can you please anyone provide the best solution to achieve this?.
magento2 admin grid uicomponent magento-2.2.5
add a comment |
Need to create an admin grid on Magento 2 with data of two custom tables of different structures.
FYI, unable to proceed with joins and union.
Can you please anyone provide the best solution to achieve this?.
magento2 admin grid uicomponent magento-2.2.5
Need to create an admin grid on Magento 2 with data of two custom tables of different structures.
FYI, unable to proceed with joins and union.
Can you please anyone provide the best solution to achieve this?.
magento2 admin grid uicomponent magento-2.2.5
magento2 admin grid uicomponent magento-2.2.5
asked Jan 19 at 11:44
Ejilarasan JEjilarasan J
33
33
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Follow the instructions mentioned in this article to create the grid.
Now, follow these steps:
To join, you have to add the following codes in di.xml file:
<?xml version="1.0"?>
<!--
/**
* Webkul Grid DI
*
* @category Webkul
* @package Webkul_Grid
* @author Webkul Software Private Limited
*
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<!-- here we remove virtualType and defile collection as follow-->
<type name="WebkulGridModelResourceModelGridGridCollection">
<arguments>
<argument name="mainTable" xsi:type="string">wk_grid_records</argument>
<argument name="eventPrefix" xsi:type="string">wk_records_grid_collection</argument>
<argument name="eventObject" xsi:type="string">wk_grid_records_collection</argument>
<argument name="resourceModel" xsi:type="string">WebkulGridModelResourceModelGrid</argument>
</arguments>
</type>
<type name="MagentoFrameworkViewElementUiComponentDataProviderCollectionFactory">
<arguments>
<argument name="collections" xsi:type="array">
<!--data provider name which used in grid ui component file -->
<item name="grid_record_grid_list_data_source" xsi:type="string">WebkulGridModelResourceModelGridGridCollection</item>
</argument>
</arguments>
</type>
</config>
Then you have to update Collection.php file in app/code/Webkul/Grid/Model/ResourceModel/Grid/Collection.php with the following codes:
/**
* Webkul Grid collection
*
* @category Webkul
* @package Webkul_Grid
* @author Webkul Software Private Limited
*
*/
namespace WebkulGridModelResourceModelGrid;
/* use required classes */
use MagentoFrameworkDataCollectionEntityFactoryInterface;
use PsrLogLoggerInterface;
use MagentoFrameworkDataCollectionDbFetchStrategyInterface;
use MagentoFrameworkEventManagerInterface;
use MagentoStoreModelStoreManagerInterface;
use MagentoFrameworkDBAdapterAdapterInterface;
use MagentoFrameworkModelResourceModelDbAbstractDb;
class Collection extends
MagentoFrameworkModelResourceModelDbCollectionAbstractCollection
{
/**
* @var string
*/
protected $_idFieldName = 'entity_id';
/**
* @param EntityFactoryInterface $entityFactory,
* @param LoggerInterface $logger,
* @param FetchStrategyInterface $fetchStrategy,
* @param ManagerInterface $eventManager,
* @param StoreManagerInterface $storeManager,
* @param AdapterInterface $connection,
* @param AbstractDb $resource
*/
public function __construct(
EntityFactoryInterface $entityFactory,
LoggerInterface $logger,
FetchStrategyInterface $fetchStrategy,
ManagerInterface $eventManager,
StoreManagerInterface $storeManager,
AdapterInterface $connection = null,
AbstractDb $resource = null
) {
$this->_init('WebkulGridModelGrid', 'WebkulGridModelResourceModelGrid');
//Class naming structure
// 'NameSpaceModuleNameModelModelName', 'NameSpaceModuleNameModelResourceModelModelName'
parent::__construct($entityFactory, $logger, $fetchStrategy, $eventManager, $connection, $resource);
$this->storeManager = $storeManager;
}
protected function _initSelect()
{
parent::_initSelect();
$this->getSelect()->joinLeft(
['secondTable' => $this->getTable('wk_record_temp')], //2nd table name by which you want to join mail table
'main_table.record_id = secondTable.record_id', // common column which available in both table
'*' // '*' define that you want all column of 2nd table. if you want some particular column then you can define as ['column1','column2']
);
}
}
- Create Collection.php file in
app/code/Webkul/Grid/Model/ResourceModel/Grid/Grid. - Now, you can add 2nd table columns in grid_record_grid_list.xml in
app/code/Webkul/Grid/view/adminhtml/ui_component folder.
You can find more information about these steps right here.
thanks a lot !!!! Working superb !!!! But how can I add custom query in collection of multiple custom tables?.
– Ejilarasan J
15 hours ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f258430%2fmagento-2-create-admin-grid-with-two-tables-of-different-structures-using-ui-c%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Follow the instructions mentioned in this article to create the grid.
Now, follow these steps:
To join, you have to add the following codes in di.xml file:
<?xml version="1.0"?>
<!--
/**
* Webkul Grid DI
*
* @category Webkul
* @package Webkul_Grid
* @author Webkul Software Private Limited
*
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<!-- here we remove virtualType and defile collection as follow-->
<type name="WebkulGridModelResourceModelGridGridCollection">
<arguments>
<argument name="mainTable" xsi:type="string">wk_grid_records</argument>
<argument name="eventPrefix" xsi:type="string">wk_records_grid_collection</argument>
<argument name="eventObject" xsi:type="string">wk_grid_records_collection</argument>
<argument name="resourceModel" xsi:type="string">WebkulGridModelResourceModelGrid</argument>
</arguments>
</type>
<type name="MagentoFrameworkViewElementUiComponentDataProviderCollectionFactory">
<arguments>
<argument name="collections" xsi:type="array">
<!--data provider name which used in grid ui component file -->
<item name="grid_record_grid_list_data_source" xsi:type="string">WebkulGridModelResourceModelGridGridCollection</item>
</argument>
</arguments>
</type>
</config>
Then you have to update Collection.php file in app/code/Webkul/Grid/Model/ResourceModel/Grid/Collection.php with the following codes:
/**
* Webkul Grid collection
*
* @category Webkul
* @package Webkul_Grid
* @author Webkul Software Private Limited
*
*/
namespace WebkulGridModelResourceModelGrid;
/* use required classes */
use MagentoFrameworkDataCollectionEntityFactoryInterface;
use PsrLogLoggerInterface;
use MagentoFrameworkDataCollectionDbFetchStrategyInterface;
use MagentoFrameworkEventManagerInterface;
use MagentoStoreModelStoreManagerInterface;
use MagentoFrameworkDBAdapterAdapterInterface;
use MagentoFrameworkModelResourceModelDbAbstractDb;
class Collection extends
MagentoFrameworkModelResourceModelDbCollectionAbstractCollection
{
/**
* @var string
*/
protected $_idFieldName = 'entity_id';
/**
* @param EntityFactoryInterface $entityFactory,
* @param LoggerInterface $logger,
* @param FetchStrategyInterface $fetchStrategy,
* @param ManagerInterface $eventManager,
* @param StoreManagerInterface $storeManager,
* @param AdapterInterface $connection,
* @param AbstractDb $resource
*/
public function __construct(
EntityFactoryInterface $entityFactory,
LoggerInterface $logger,
FetchStrategyInterface $fetchStrategy,
ManagerInterface $eventManager,
StoreManagerInterface $storeManager,
AdapterInterface $connection = null,
AbstractDb $resource = null
) {
$this->_init('WebkulGridModelGrid', 'WebkulGridModelResourceModelGrid');
//Class naming structure
// 'NameSpaceModuleNameModelModelName', 'NameSpaceModuleNameModelResourceModelModelName'
parent::__construct($entityFactory, $logger, $fetchStrategy, $eventManager, $connection, $resource);
$this->storeManager = $storeManager;
}
protected function _initSelect()
{
parent::_initSelect();
$this->getSelect()->joinLeft(
['secondTable' => $this->getTable('wk_record_temp')], //2nd table name by which you want to join mail table
'main_table.record_id = secondTable.record_id', // common column which available in both table
'*' // '*' define that you want all column of 2nd table. if you want some particular column then you can define as ['column1','column2']
);
}
}
- Create Collection.php file in
app/code/Webkul/Grid/Model/ResourceModel/Grid/Grid. - Now, you can add 2nd table columns in grid_record_grid_list.xml in
app/code/Webkul/Grid/view/adminhtml/ui_component folder.
You can find more information about these steps right here.
thanks a lot !!!! Working superb !!!! But how can I add custom query in collection of multiple custom tables?.
– Ejilarasan J
15 hours ago
add a comment |
Follow the instructions mentioned in this article to create the grid.
Now, follow these steps:
To join, you have to add the following codes in di.xml file:
<?xml version="1.0"?>
<!--
/**
* Webkul Grid DI
*
* @category Webkul
* @package Webkul_Grid
* @author Webkul Software Private Limited
*
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<!-- here we remove virtualType and defile collection as follow-->
<type name="WebkulGridModelResourceModelGridGridCollection">
<arguments>
<argument name="mainTable" xsi:type="string">wk_grid_records</argument>
<argument name="eventPrefix" xsi:type="string">wk_records_grid_collection</argument>
<argument name="eventObject" xsi:type="string">wk_grid_records_collection</argument>
<argument name="resourceModel" xsi:type="string">WebkulGridModelResourceModelGrid</argument>
</arguments>
</type>
<type name="MagentoFrameworkViewElementUiComponentDataProviderCollectionFactory">
<arguments>
<argument name="collections" xsi:type="array">
<!--data provider name which used in grid ui component file -->
<item name="grid_record_grid_list_data_source" xsi:type="string">WebkulGridModelResourceModelGridGridCollection</item>
</argument>
</arguments>
</type>
</config>
Then you have to update Collection.php file in app/code/Webkul/Grid/Model/ResourceModel/Grid/Collection.php with the following codes:
/**
* Webkul Grid collection
*
* @category Webkul
* @package Webkul_Grid
* @author Webkul Software Private Limited
*
*/
namespace WebkulGridModelResourceModelGrid;
/* use required classes */
use MagentoFrameworkDataCollectionEntityFactoryInterface;
use PsrLogLoggerInterface;
use MagentoFrameworkDataCollectionDbFetchStrategyInterface;
use MagentoFrameworkEventManagerInterface;
use MagentoStoreModelStoreManagerInterface;
use MagentoFrameworkDBAdapterAdapterInterface;
use MagentoFrameworkModelResourceModelDbAbstractDb;
class Collection extends
MagentoFrameworkModelResourceModelDbCollectionAbstractCollection
{
/**
* @var string
*/
protected $_idFieldName = 'entity_id';
/**
* @param EntityFactoryInterface $entityFactory,
* @param LoggerInterface $logger,
* @param FetchStrategyInterface $fetchStrategy,
* @param ManagerInterface $eventManager,
* @param StoreManagerInterface $storeManager,
* @param AdapterInterface $connection,
* @param AbstractDb $resource
*/
public function __construct(
EntityFactoryInterface $entityFactory,
LoggerInterface $logger,
FetchStrategyInterface $fetchStrategy,
ManagerInterface $eventManager,
StoreManagerInterface $storeManager,
AdapterInterface $connection = null,
AbstractDb $resource = null
) {
$this->_init('WebkulGridModelGrid', 'WebkulGridModelResourceModelGrid');
//Class naming structure
// 'NameSpaceModuleNameModelModelName', 'NameSpaceModuleNameModelResourceModelModelName'
parent::__construct($entityFactory, $logger, $fetchStrategy, $eventManager, $connection, $resource);
$this->storeManager = $storeManager;
}
protected function _initSelect()
{
parent::_initSelect();
$this->getSelect()->joinLeft(
['secondTable' => $this->getTable('wk_record_temp')], //2nd table name by which you want to join mail table
'main_table.record_id = secondTable.record_id', // common column which available in both table
'*' // '*' define that you want all column of 2nd table. if you want some particular column then you can define as ['column1','column2']
);
}
}
- Create Collection.php file in
app/code/Webkul/Grid/Model/ResourceModel/Grid/Grid. - Now, you can add 2nd table columns in grid_record_grid_list.xml in
app/code/Webkul/Grid/view/adminhtml/ui_component folder.
You can find more information about these steps right here.
thanks a lot !!!! Working superb !!!! But how can I add custom query in collection of multiple custom tables?.
– Ejilarasan J
15 hours ago
add a comment |
Follow the instructions mentioned in this article to create the grid.
Now, follow these steps:
To join, you have to add the following codes in di.xml file:
<?xml version="1.0"?>
<!--
/**
* Webkul Grid DI
*
* @category Webkul
* @package Webkul_Grid
* @author Webkul Software Private Limited
*
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<!-- here we remove virtualType and defile collection as follow-->
<type name="WebkulGridModelResourceModelGridGridCollection">
<arguments>
<argument name="mainTable" xsi:type="string">wk_grid_records</argument>
<argument name="eventPrefix" xsi:type="string">wk_records_grid_collection</argument>
<argument name="eventObject" xsi:type="string">wk_grid_records_collection</argument>
<argument name="resourceModel" xsi:type="string">WebkulGridModelResourceModelGrid</argument>
</arguments>
</type>
<type name="MagentoFrameworkViewElementUiComponentDataProviderCollectionFactory">
<arguments>
<argument name="collections" xsi:type="array">
<!--data provider name which used in grid ui component file -->
<item name="grid_record_grid_list_data_source" xsi:type="string">WebkulGridModelResourceModelGridGridCollection</item>
</argument>
</arguments>
</type>
</config>
Then you have to update Collection.php file in app/code/Webkul/Grid/Model/ResourceModel/Grid/Collection.php with the following codes:
/**
* Webkul Grid collection
*
* @category Webkul
* @package Webkul_Grid
* @author Webkul Software Private Limited
*
*/
namespace WebkulGridModelResourceModelGrid;
/* use required classes */
use MagentoFrameworkDataCollectionEntityFactoryInterface;
use PsrLogLoggerInterface;
use MagentoFrameworkDataCollectionDbFetchStrategyInterface;
use MagentoFrameworkEventManagerInterface;
use MagentoStoreModelStoreManagerInterface;
use MagentoFrameworkDBAdapterAdapterInterface;
use MagentoFrameworkModelResourceModelDbAbstractDb;
class Collection extends
MagentoFrameworkModelResourceModelDbCollectionAbstractCollection
{
/**
* @var string
*/
protected $_idFieldName = 'entity_id';
/**
* @param EntityFactoryInterface $entityFactory,
* @param LoggerInterface $logger,
* @param FetchStrategyInterface $fetchStrategy,
* @param ManagerInterface $eventManager,
* @param StoreManagerInterface $storeManager,
* @param AdapterInterface $connection,
* @param AbstractDb $resource
*/
public function __construct(
EntityFactoryInterface $entityFactory,
LoggerInterface $logger,
FetchStrategyInterface $fetchStrategy,
ManagerInterface $eventManager,
StoreManagerInterface $storeManager,
AdapterInterface $connection = null,
AbstractDb $resource = null
) {
$this->_init('WebkulGridModelGrid', 'WebkulGridModelResourceModelGrid');
//Class naming structure
// 'NameSpaceModuleNameModelModelName', 'NameSpaceModuleNameModelResourceModelModelName'
parent::__construct($entityFactory, $logger, $fetchStrategy, $eventManager, $connection, $resource);
$this->storeManager = $storeManager;
}
protected function _initSelect()
{
parent::_initSelect();
$this->getSelect()->joinLeft(
['secondTable' => $this->getTable('wk_record_temp')], //2nd table name by which you want to join mail table
'main_table.record_id = secondTable.record_id', // common column which available in both table
'*' // '*' define that you want all column of 2nd table. if you want some particular column then you can define as ['column1','column2']
);
}
}
- Create Collection.php file in
app/code/Webkul/Grid/Model/ResourceModel/Grid/Grid. - Now, you can add 2nd table columns in grid_record_grid_list.xml in
app/code/Webkul/Grid/view/adminhtml/ui_component folder.
You can find more information about these steps right here.
Follow the instructions mentioned in this article to create the grid.
Now, follow these steps:
To join, you have to add the following codes in di.xml file:
<?xml version="1.0"?>
<!--
/**
* Webkul Grid DI
*
* @category Webkul
* @package Webkul_Grid
* @author Webkul Software Private Limited
*
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<!-- here we remove virtualType and defile collection as follow-->
<type name="WebkulGridModelResourceModelGridGridCollection">
<arguments>
<argument name="mainTable" xsi:type="string">wk_grid_records</argument>
<argument name="eventPrefix" xsi:type="string">wk_records_grid_collection</argument>
<argument name="eventObject" xsi:type="string">wk_grid_records_collection</argument>
<argument name="resourceModel" xsi:type="string">WebkulGridModelResourceModelGrid</argument>
</arguments>
</type>
<type name="MagentoFrameworkViewElementUiComponentDataProviderCollectionFactory">
<arguments>
<argument name="collections" xsi:type="array">
<!--data provider name which used in grid ui component file -->
<item name="grid_record_grid_list_data_source" xsi:type="string">WebkulGridModelResourceModelGridGridCollection</item>
</argument>
</arguments>
</type>
</config>
Then you have to update Collection.php file in app/code/Webkul/Grid/Model/ResourceModel/Grid/Collection.php with the following codes:
/**
* Webkul Grid collection
*
* @category Webkul
* @package Webkul_Grid
* @author Webkul Software Private Limited
*
*/
namespace WebkulGridModelResourceModelGrid;
/* use required classes */
use MagentoFrameworkDataCollectionEntityFactoryInterface;
use PsrLogLoggerInterface;
use MagentoFrameworkDataCollectionDbFetchStrategyInterface;
use MagentoFrameworkEventManagerInterface;
use MagentoStoreModelStoreManagerInterface;
use MagentoFrameworkDBAdapterAdapterInterface;
use MagentoFrameworkModelResourceModelDbAbstractDb;
class Collection extends
MagentoFrameworkModelResourceModelDbCollectionAbstractCollection
{
/**
* @var string
*/
protected $_idFieldName = 'entity_id';
/**
* @param EntityFactoryInterface $entityFactory,
* @param LoggerInterface $logger,
* @param FetchStrategyInterface $fetchStrategy,
* @param ManagerInterface $eventManager,
* @param StoreManagerInterface $storeManager,
* @param AdapterInterface $connection,
* @param AbstractDb $resource
*/
public function __construct(
EntityFactoryInterface $entityFactory,
LoggerInterface $logger,
FetchStrategyInterface $fetchStrategy,
ManagerInterface $eventManager,
StoreManagerInterface $storeManager,
AdapterInterface $connection = null,
AbstractDb $resource = null
) {
$this->_init('WebkulGridModelGrid', 'WebkulGridModelResourceModelGrid');
//Class naming structure
// 'NameSpaceModuleNameModelModelName', 'NameSpaceModuleNameModelResourceModelModelName'
parent::__construct($entityFactory, $logger, $fetchStrategy, $eventManager, $connection, $resource);
$this->storeManager = $storeManager;
}
protected function _initSelect()
{
parent::_initSelect();
$this->getSelect()->joinLeft(
['secondTable' => $this->getTable('wk_record_temp')], //2nd table name by which you want to join mail table
'main_table.record_id = secondTable.record_id', // common column which available in both table
'*' // '*' define that you want all column of 2nd table. if you want some particular column then you can define as ['column1','column2']
);
}
}
- Create Collection.php file in
app/code/Webkul/Grid/Model/ResourceModel/Grid/Grid. - Now, you can add 2nd table columns in grid_record_grid_list.xml in
app/code/Webkul/Grid/view/adminhtml/ui_component folder.
You can find more information about these steps right here.
answered Jan 19 at 18:13
Md. Ehsanul Haque KananMd. Ehsanul Haque Kanan
584
584
thanks a lot !!!! Working superb !!!! But how can I add custom query in collection of multiple custom tables?.
– Ejilarasan J
15 hours ago
add a comment |
thanks a lot !!!! Working superb !!!! But how can I add custom query in collection of multiple custom tables?.
– Ejilarasan J
15 hours ago
thanks a lot !!!! Working superb !!!! But how can I add custom query in collection of multiple custom tables?.
– Ejilarasan J
15 hours ago
thanks a lot !!!! Working superb !!!! But how can I add custom query in collection of multiple custom tables?.
– Ejilarasan J
15 hours ago
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f258430%2fmagento-2-create-admin-grid-with-two-tables-of-different-structures-using-ui-c%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown