How to get collection of pagination in template?Add pagination to any block's collectionToolbar not...
Comment Box for Substitution Method of Integrals
Pronounciation of the combination "st" in spanish accents
What does Jesus mean regarding "Raca," and "you fool?" - is he contrasting them?
Variable completely messes up echoed string
Optimising a list searching algorithm
두음법칙 - When did North and South diverge in pronunciation of initial ㄹ?
What are substitutions for coconut in curry?
gerund and noun applications
Should I be concerned about student access to a test bank?
Writing in a Christian voice
How to define limit operations in general topological spaces? Are nets able to do this?
Hausdorff dimension of the boundary of fibres of Lipschitz maps
Calculate the frequency of characters in a string
Can other pieces capture a threatening piece and prevent a checkmate?
How do hiring committees for research positions view getting "scooped"?
Suggestions on how to spend Shaabath (constructively) alone
Geography in 3D perspective
Describing a chess game in a novel
Print a physical multiplication table
What (if any) is the reason to buy in small local stores?
Why didn't Héctor fade away after this character died in the movie Coco?
Do native speakers use "ultima" and "proxima" frequently in spoken English?
When did antialiasing start being available?
Should I use acronyms in dialogues before telling the readers what it stands for in fiction?
How to get collection of pagination in template?
Add pagination to any block's collectionToolbar not displaying with overridden Mage_Catalog_Block_Product_ListCollection pagination skipping recordsCreate magento pagination in custom product collection inside phtml fileMaking a custom collection support paginationAdd Custom Collection Pagination to Existing Category PagePager not Paging on Custom Category Collection (rest of toolbar OK)how to add pagination on custom collection in Magento 2Magento 2: toolbar url problems in custom module with custom routerMagento pagination how to set page number for custom collection?
These are my block methods:
public function getProductsViewHistory() {
$page=($this->getRequest()->getParam('p'))? $this->getRequest()->getParam('p') : 1;
$pageSize=($this->getRequest()->getParam('limit'))? $this->getRequest()->getParam('limit') : 1;
$fromDate = date('Y-m-d H:i:s', strtotime("-6 month"));
$product = $this->customerProductViewHistory->create();
$product->addFieldToFilter('subject_id',array('eq'=> $this->getLoggedInUserId() ))
->addFieldToFilter('logged_at',array('from'=> $fromDate ))
->addFieldToSelect('object_id')
->getSelect()->group('object_id');
$product->setPageSize( self::PRODUCTS_PER_PAGE );
$product->setCurPage($page);
return $product;
}
protected function _prepareLayout()
{
parent::_prepareLayout();
// $this->pageConfig->getTitle()->set(__('News'));
if ($this->getProductsViewHistory()) {
$pager = $this->getLayout()->createBlock(
'MagentoThemeBlockHtmlPager',
'history.pager'
)->setAvailableLimit(array( self::PRODUCTS_PER_PAGE=>self::PRODUCTS_PER_PAGE))
->setShowPerPage(true)->setCollection( $this->getProductsViewHistory() );
$this->setChild('pager', $pager);
$this->getProductsViewHistory()->load();
}
return $this;
}
public function getPagerHtml()
{
return $this->getChildHtml('pager');
}
And this is my template file.
<?php if ($block->getPagerHtml()): ?>
<div class="order-products-toolbar toolbar bottom"><?php echo $block->getPagerHtml(); ?></div>
<?php endif ?>
<?php
$collection = $this->getCollection();
foreach ($collection as $key => $value) {
var_dump($value->getData());
}
?>
I get this error:
Warning: Invalid argument supplied for foreach()
If I comment out the part to show collection, I'm successfully getting pagination as intended.
What am I missing?
collection magento2.1.5 pagination
bumped to the homepage by Community♦ 10 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
These are my block methods:
public function getProductsViewHistory() {
$page=($this->getRequest()->getParam('p'))? $this->getRequest()->getParam('p') : 1;
$pageSize=($this->getRequest()->getParam('limit'))? $this->getRequest()->getParam('limit') : 1;
$fromDate = date('Y-m-d H:i:s', strtotime("-6 month"));
$product = $this->customerProductViewHistory->create();
$product->addFieldToFilter('subject_id',array('eq'=> $this->getLoggedInUserId() ))
->addFieldToFilter('logged_at',array('from'=> $fromDate ))
->addFieldToSelect('object_id')
->getSelect()->group('object_id');
$product->setPageSize( self::PRODUCTS_PER_PAGE );
$product->setCurPage($page);
return $product;
}
protected function _prepareLayout()
{
parent::_prepareLayout();
// $this->pageConfig->getTitle()->set(__('News'));
if ($this->getProductsViewHistory()) {
$pager = $this->getLayout()->createBlock(
'MagentoThemeBlockHtmlPager',
'history.pager'
)->setAvailableLimit(array( self::PRODUCTS_PER_PAGE=>self::PRODUCTS_PER_PAGE))
->setShowPerPage(true)->setCollection( $this->getProductsViewHistory() );
$this->setChild('pager', $pager);
$this->getProductsViewHistory()->load();
}
return $this;
}
public function getPagerHtml()
{
return $this->getChildHtml('pager');
}
And this is my template file.
<?php if ($block->getPagerHtml()): ?>
<div class="order-products-toolbar toolbar bottom"><?php echo $block->getPagerHtml(); ?></div>
<?php endif ?>
<?php
$collection = $this->getCollection();
foreach ($collection as $key => $value) {
var_dump($value->getData());
}
?>
I get this error:
Warning: Invalid argument supplied for foreach()
If I comment out the part to show collection, I'm successfully getting pagination as intended.
What am I missing?
collection magento2.1.5 pagination
bumped to the homepage by Community♦ 10 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
have you found any solutions yet?
– Rakesh Jesadiya
Jun 5 '17 at 11:46
Exactly not. abdul gave me a solution which I was not looking for. Still looking for the best.
– Purushotam Sangroula
Jun 5 '17 at 11:50
add a comment |
These are my block methods:
public function getProductsViewHistory() {
$page=($this->getRequest()->getParam('p'))? $this->getRequest()->getParam('p') : 1;
$pageSize=($this->getRequest()->getParam('limit'))? $this->getRequest()->getParam('limit') : 1;
$fromDate = date('Y-m-d H:i:s', strtotime("-6 month"));
$product = $this->customerProductViewHistory->create();
$product->addFieldToFilter('subject_id',array('eq'=> $this->getLoggedInUserId() ))
->addFieldToFilter('logged_at',array('from'=> $fromDate ))
->addFieldToSelect('object_id')
->getSelect()->group('object_id');
$product->setPageSize( self::PRODUCTS_PER_PAGE );
$product->setCurPage($page);
return $product;
}
protected function _prepareLayout()
{
parent::_prepareLayout();
// $this->pageConfig->getTitle()->set(__('News'));
if ($this->getProductsViewHistory()) {
$pager = $this->getLayout()->createBlock(
'MagentoThemeBlockHtmlPager',
'history.pager'
)->setAvailableLimit(array( self::PRODUCTS_PER_PAGE=>self::PRODUCTS_PER_PAGE))
->setShowPerPage(true)->setCollection( $this->getProductsViewHistory() );
$this->setChild('pager', $pager);
$this->getProductsViewHistory()->load();
}
return $this;
}
public function getPagerHtml()
{
return $this->getChildHtml('pager');
}
And this is my template file.
<?php if ($block->getPagerHtml()): ?>
<div class="order-products-toolbar toolbar bottom"><?php echo $block->getPagerHtml(); ?></div>
<?php endif ?>
<?php
$collection = $this->getCollection();
foreach ($collection as $key => $value) {
var_dump($value->getData());
}
?>
I get this error:
Warning: Invalid argument supplied for foreach()
If I comment out the part to show collection, I'm successfully getting pagination as intended.
What am I missing?
collection magento2.1.5 pagination
These are my block methods:
public function getProductsViewHistory() {
$page=($this->getRequest()->getParam('p'))? $this->getRequest()->getParam('p') : 1;
$pageSize=($this->getRequest()->getParam('limit'))? $this->getRequest()->getParam('limit') : 1;
$fromDate = date('Y-m-d H:i:s', strtotime("-6 month"));
$product = $this->customerProductViewHistory->create();
$product->addFieldToFilter('subject_id',array('eq'=> $this->getLoggedInUserId() ))
->addFieldToFilter('logged_at',array('from'=> $fromDate ))
->addFieldToSelect('object_id')
->getSelect()->group('object_id');
$product->setPageSize( self::PRODUCTS_PER_PAGE );
$product->setCurPage($page);
return $product;
}
protected function _prepareLayout()
{
parent::_prepareLayout();
// $this->pageConfig->getTitle()->set(__('News'));
if ($this->getProductsViewHistory()) {
$pager = $this->getLayout()->createBlock(
'MagentoThemeBlockHtmlPager',
'history.pager'
)->setAvailableLimit(array( self::PRODUCTS_PER_PAGE=>self::PRODUCTS_PER_PAGE))
->setShowPerPage(true)->setCollection( $this->getProductsViewHistory() );
$this->setChild('pager', $pager);
$this->getProductsViewHistory()->load();
}
return $this;
}
public function getPagerHtml()
{
return $this->getChildHtml('pager');
}
And this is my template file.
<?php if ($block->getPagerHtml()): ?>
<div class="order-products-toolbar toolbar bottom"><?php echo $block->getPagerHtml(); ?></div>
<?php endif ?>
<?php
$collection = $this->getCollection();
foreach ($collection as $key => $value) {
var_dump($value->getData());
}
?>
I get this error:
Warning: Invalid argument supplied for foreach()
If I comment out the part to show collection, I'm successfully getting pagination as intended.
What am I missing?
collection magento2.1.5 pagination
collection magento2.1.5 pagination
edited Jun 5 '17 at 5:07
Nikunj Vadariya
2,8701821
2,8701821
asked Jun 5 '17 at 4:46
Purushotam SangroulaPurushotam Sangroula
1,085925
1,085925
bumped to the homepage by Community♦ 10 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 10 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
have you found any solutions yet?
– Rakesh Jesadiya
Jun 5 '17 at 11:46
Exactly not. abdul gave me a solution which I was not looking for. Still looking for the best.
– Purushotam Sangroula
Jun 5 '17 at 11:50
add a comment |
have you found any solutions yet?
– Rakesh Jesadiya
Jun 5 '17 at 11:46
Exactly not. abdul gave me a solution which I was not looking for. Still looking for the best.
– Purushotam Sangroula
Jun 5 '17 at 11:50
have you found any solutions yet?
– Rakesh Jesadiya
Jun 5 '17 at 11:46
have you found any solutions yet?
– Rakesh Jesadiya
Jun 5 '17 at 11:46
Exactly not. abdul gave me a solution which I was not looking for. Still looking for the best.
– Purushotam Sangroula
Jun 5 '17 at 11:50
Exactly not. abdul gave me a solution which I was not looking for. Still looking for the best.
– Purushotam Sangroula
Jun 5 '17 at 11:50
add a comment |
2 Answers
2
active
oldest
votes
Just Use below syntax,
<?php
$items = $block->getCollection();
foreach ($items as $value) {
var_dump($value->getData());
}
?>
Please let me know if you have still issue.
– Rakesh Jesadiya
Jun 5 '17 at 5:13
No mate , the issue persists.
– Purushotam Sangroula
Jun 5 '17 at 5:17
@Purushotam Actually what do you want to do?
– Rakesh Jesadiya
Jun 5 '17 at 11:51
I want to get the collection set by pagination even if the collection is ordered randomly, I'm confused about the purpose of $this->getProductsViewHistory()->load(); and return $this;
– Purushotam Sangroula
Jun 5 '17 at 12:05
add a comment |
Try this code:
<?php $products = $block->getProductsViewHistory(); ?>
<?php if ($products && count($products)): ?>
<?php if ($block->getPagerHtml()): ?>
<div class="order-products-toolbar toolbar bottom"><?php echo $block->getPagerHtml(); ?></div>
<?php endif ?>
<?php foreach ($products as $product): ?>
<?php print_r($product->getData());?>
<?php endforeach; ?>
<?php endif ?>
Thanks for your answer, I knew this technique. It is a way. But what if the collection I'm fetching is randomly ordered, the result will be different for the case of calling while in _prepareLayout(), and the call from template file. I need the same collection in both function call.
– Purushotam Sangroula
Jun 5 '17 at 5:23
are you need product collection in randomly right?
– Abdul
Jun 5 '17 at 5:27
But above code working fine?
– Abdul
Jun 5 '17 at 5:28
Yes in another task I need this feature on random collection.
– Purushotam Sangroula
Jun 5 '17 at 5:28
Ok. let me check and reply
– Abdul
Jun 5 '17 at 5:29
|
show 2 more comments
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%2f177407%2fhow-to-get-collection-of-pagination-in-template%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Just Use below syntax,
<?php
$items = $block->getCollection();
foreach ($items as $value) {
var_dump($value->getData());
}
?>
Please let me know if you have still issue.
– Rakesh Jesadiya
Jun 5 '17 at 5:13
No mate , the issue persists.
– Purushotam Sangroula
Jun 5 '17 at 5:17
@Purushotam Actually what do you want to do?
– Rakesh Jesadiya
Jun 5 '17 at 11:51
I want to get the collection set by pagination even if the collection is ordered randomly, I'm confused about the purpose of $this->getProductsViewHistory()->load(); and return $this;
– Purushotam Sangroula
Jun 5 '17 at 12:05
add a comment |
Just Use below syntax,
<?php
$items = $block->getCollection();
foreach ($items as $value) {
var_dump($value->getData());
}
?>
Please let me know if you have still issue.
– Rakesh Jesadiya
Jun 5 '17 at 5:13
No mate , the issue persists.
– Purushotam Sangroula
Jun 5 '17 at 5:17
@Purushotam Actually what do you want to do?
– Rakesh Jesadiya
Jun 5 '17 at 11:51
I want to get the collection set by pagination even if the collection is ordered randomly, I'm confused about the purpose of $this->getProductsViewHistory()->load(); and return $this;
– Purushotam Sangroula
Jun 5 '17 at 12:05
add a comment |
Just Use below syntax,
<?php
$items = $block->getCollection();
foreach ($items as $value) {
var_dump($value->getData());
}
?>
Just Use below syntax,
<?php
$items = $block->getCollection();
foreach ($items as $value) {
var_dump($value->getData());
}
?>
answered Jun 5 '17 at 5:13
Rakesh JesadiyaRakesh Jesadiya
29.9k1576122
29.9k1576122
Please let me know if you have still issue.
– Rakesh Jesadiya
Jun 5 '17 at 5:13
No mate , the issue persists.
– Purushotam Sangroula
Jun 5 '17 at 5:17
@Purushotam Actually what do you want to do?
– Rakesh Jesadiya
Jun 5 '17 at 11:51
I want to get the collection set by pagination even if the collection is ordered randomly, I'm confused about the purpose of $this->getProductsViewHistory()->load(); and return $this;
– Purushotam Sangroula
Jun 5 '17 at 12:05
add a comment |
Please let me know if you have still issue.
– Rakesh Jesadiya
Jun 5 '17 at 5:13
No mate , the issue persists.
– Purushotam Sangroula
Jun 5 '17 at 5:17
@Purushotam Actually what do you want to do?
– Rakesh Jesadiya
Jun 5 '17 at 11:51
I want to get the collection set by pagination even if the collection is ordered randomly, I'm confused about the purpose of $this->getProductsViewHistory()->load(); and return $this;
– Purushotam Sangroula
Jun 5 '17 at 12:05
Please let me know if you have still issue.
– Rakesh Jesadiya
Jun 5 '17 at 5:13
Please let me know if you have still issue.
– Rakesh Jesadiya
Jun 5 '17 at 5:13
No mate , the issue persists.
– Purushotam Sangroula
Jun 5 '17 at 5:17
No mate , the issue persists.
– Purushotam Sangroula
Jun 5 '17 at 5:17
@Purushotam Actually what do you want to do?
– Rakesh Jesadiya
Jun 5 '17 at 11:51
@Purushotam Actually what do you want to do?
– Rakesh Jesadiya
Jun 5 '17 at 11:51
I want to get the collection set by pagination even if the collection is ordered randomly, I'm confused about the purpose of $this->getProductsViewHistory()->load(); and return $this;
– Purushotam Sangroula
Jun 5 '17 at 12:05
I want to get the collection set by pagination even if the collection is ordered randomly, I'm confused about the purpose of $this->getProductsViewHistory()->load(); and return $this;
– Purushotam Sangroula
Jun 5 '17 at 12:05
add a comment |
Try this code:
<?php $products = $block->getProductsViewHistory(); ?>
<?php if ($products && count($products)): ?>
<?php if ($block->getPagerHtml()): ?>
<div class="order-products-toolbar toolbar bottom"><?php echo $block->getPagerHtml(); ?></div>
<?php endif ?>
<?php foreach ($products as $product): ?>
<?php print_r($product->getData());?>
<?php endforeach; ?>
<?php endif ?>
Thanks for your answer, I knew this technique. It is a way. But what if the collection I'm fetching is randomly ordered, the result will be different for the case of calling while in _prepareLayout(), and the call from template file. I need the same collection in both function call.
– Purushotam Sangroula
Jun 5 '17 at 5:23
are you need product collection in randomly right?
– Abdul
Jun 5 '17 at 5:27
But above code working fine?
– Abdul
Jun 5 '17 at 5:28
Yes in another task I need this feature on random collection.
– Purushotam Sangroula
Jun 5 '17 at 5:28
Ok. let me check and reply
– Abdul
Jun 5 '17 at 5:29
|
show 2 more comments
Try this code:
<?php $products = $block->getProductsViewHistory(); ?>
<?php if ($products && count($products)): ?>
<?php if ($block->getPagerHtml()): ?>
<div class="order-products-toolbar toolbar bottom"><?php echo $block->getPagerHtml(); ?></div>
<?php endif ?>
<?php foreach ($products as $product): ?>
<?php print_r($product->getData());?>
<?php endforeach; ?>
<?php endif ?>
Thanks for your answer, I knew this technique. It is a way. But what if the collection I'm fetching is randomly ordered, the result will be different for the case of calling while in _prepareLayout(), and the call from template file. I need the same collection in both function call.
– Purushotam Sangroula
Jun 5 '17 at 5:23
are you need product collection in randomly right?
– Abdul
Jun 5 '17 at 5:27
But above code working fine?
– Abdul
Jun 5 '17 at 5:28
Yes in another task I need this feature on random collection.
– Purushotam Sangroula
Jun 5 '17 at 5:28
Ok. let me check and reply
– Abdul
Jun 5 '17 at 5:29
|
show 2 more comments
Try this code:
<?php $products = $block->getProductsViewHistory(); ?>
<?php if ($products && count($products)): ?>
<?php if ($block->getPagerHtml()): ?>
<div class="order-products-toolbar toolbar bottom"><?php echo $block->getPagerHtml(); ?></div>
<?php endif ?>
<?php foreach ($products as $product): ?>
<?php print_r($product->getData());?>
<?php endforeach; ?>
<?php endif ?>
Try this code:
<?php $products = $block->getProductsViewHistory(); ?>
<?php if ($products && count($products)): ?>
<?php if ($block->getPagerHtml()): ?>
<div class="order-products-toolbar toolbar bottom"><?php echo $block->getPagerHtml(); ?></div>
<?php endif ?>
<?php foreach ($products as $product): ?>
<?php print_r($product->getData());?>
<?php endforeach; ?>
<?php endif ?>
answered Jun 5 '17 at 5:16
AbdulAbdul
8,18311136
8,18311136
Thanks for your answer, I knew this technique. It is a way. But what if the collection I'm fetching is randomly ordered, the result will be different for the case of calling while in _prepareLayout(), and the call from template file. I need the same collection in both function call.
– Purushotam Sangroula
Jun 5 '17 at 5:23
are you need product collection in randomly right?
– Abdul
Jun 5 '17 at 5:27
But above code working fine?
– Abdul
Jun 5 '17 at 5:28
Yes in another task I need this feature on random collection.
– Purushotam Sangroula
Jun 5 '17 at 5:28
Ok. let me check and reply
– Abdul
Jun 5 '17 at 5:29
|
show 2 more comments
Thanks for your answer, I knew this technique. It is a way. But what if the collection I'm fetching is randomly ordered, the result will be different for the case of calling while in _prepareLayout(), and the call from template file. I need the same collection in both function call.
– Purushotam Sangroula
Jun 5 '17 at 5:23
are you need product collection in randomly right?
– Abdul
Jun 5 '17 at 5:27
But above code working fine?
– Abdul
Jun 5 '17 at 5:28
Yes in another task I need this feature on random collection.
– Purushotam Sangroula
Jun 5 '17 at 5:28
Ok. let me check and reply
– Abdul
Jun 5 '17 at 5:29
Thanks for your answer, I knew this technique. It is a way. But what if the collection I'm fetching is randomly ordered, the result will be different for the case of calling while in _prepareLayout(), and the call from template file. I need the same collection in both function call.
– Purushotam Sangroula
Jun 5 '17 at 5:23
Thanks for your answer, I knew this technique. It is a way. But what if the collection I'm fetching is randomly ordered, the result will be different for the case of calling while in _prepareLayout(), and the call from template file. I need the same collection in both function call.
– Purushotam Sangroula
Jun 5 '17 at 5:23
are you need product collection in randomly right?
– Abdul
Jun 5 '17 at 5:27
are you need product collection in randomly right?
– Abdul
Jun 5 '17 at 5:27
But above code working fine?
– Abdul
Jun 5 '17 at 5:28
But above code working fine?
– Abdul
Jun 5 '17 at 5:28
Yes in another task I need this feature on random collection.
– Purushotam Sangroula
Jun 5 '17 at 5:28
Yes in another task I need this feature on random collection.
– Purushotam Sangroula
Jun 5 '17 at 5:28
Ok. let me check and reply
– Abdul
Jun 5 '17 at 5:29
Ok. let me check and reply
– Abdul
Jun 5 '17 at 5:29
|
show 2 more comments
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%2f177407%2fhow-to-get-collection-of-pagination-in-template%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
have you found any solutions yet?
– Rakesh Jesadiya
Jun 5 '17 at 11:46
Exactly not. abdul gave me a solution which I was not looking for. Still looking for the best.
– Purushotam Sangroula
Jun 5 '17 at 11:50