Magento2: Block Controller IssueHow to change save path of PDF files in magento 2Pass data from block to controllerCall a block from a controllermagento 2 custom module layout issueMagento 2 - controller block not displaying templateAJAX login, how to pass data response from controller to jQuery with AjaxMagento2 : Restful Web service Calls - controller is not showingMagento 2.2.5: Overriding Admin Controller sales/orderMagento 2: I Want to add multiple product using checkboxMagento 2.3 Can't view module's front end page output?
Did Stalin kill all Soviet officers involved in the Winter War?
Earliest example of double planets in science fiction?
Why do Martians have to wear space helmets?
Is there a minimum amount of electricity that can be fed back into the grid?
Do I need transit visa for Dublin?
How can I use my cell phone's light as a reading light?
How would a sea turtle end up on its back?
Do intermediate subdomains need to exist?
Who goes first? Person disembarking bus or the bicycle?
How do I check that users don't write down their passwords?
Does the sensor of a dslr count the number of photons that hits it?
Why do people prefer metropolitan areas, considering monsters and villains?
What is the maximum amount of diamond in one Minecraft game?
How do resistors generate different heat if we make the current fixed and changed the voltage and resistance? Notice the flow of charge is constant
What's the big deal about the Nazgûl losing their horses?
Minor differences between two recorded guitars
What is the meaning of "prairie-dog" in this sentence?
An easy way to solve this limit of a sum?
How to reclaim personal item I've lent to the office without burning bridges?
What is this airplane with small wings at different angles seen at Paphos Airport?
Examples of fluid (including air) being used to transmit digital data?
Are "confidant" and "confident" homophones?
What happens if the limit of 4 billion files was exceeded in an ext4 partition?
Why would "dead languages" be the only languages that spells could be written in?
Magento2: Block Controller Issue
How to change save path of PDF files in magento 2Pass data from block to controllerCall a block from a controllermagento 2 custom module layout issueMagento 2 - controller block not displaying templateAJAX login, how to pass data response from controller to jQuery with AjaxMagento2 : Restful Web service Calls - controller is not showingMagento 2.2.5: Overriding Admin Controller sales/orderMagento 2: I Want to add multiple product using checkboxMagento 2.3 Can't view module's front end page output?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
When I call to controller first time showing my data on page after some seconds data not showing on page. page is showing blank.
Controller
public function execute()
$itemid = $this->getRequest()->getParam('itemid');
$this->_coreRegistry->register('itemid', $itemid);
$resultPage = $this->_resultPageFactory->create();
return $resultPage;
//$this->_redirect('csr/index/find');
After some time $itemid not getting me.
magento2 controllers custom-block
|
show 1 more comment
When I call to controller first time showing my data on page after some seconds data not showing on page. page is showing blank.
Controller
public function execute()
$itemid = $this->getRequest()->getParam('itemid');
$this->_coreRegistry->register('itemid', $itemid);
$resultPage = $this->_resultPageFactory->create();
return $resultPage;
//$this->_redirect('csr/index/find');
After some time $itemid not getting me.
magento2 controllers custom-block
You mean after some times page load automatically, and after reload page will become blank.
– Ravi Soni
Jun 27 at 11:54
No, Some time page not reload but I taking product data from block. Product id have taken blank after some time. @Ravi
– Masud Shaikh
Jun 27 at 12:06
I think second time block not found. @Ravi
– Masud Shaikh
Jun 27 at 12:12
I have debugged getting $tempBlock = null @Ravi
– Masud Shaikh
Jun 27 at 12:28
You should add your custom code here so everyone can understand.
– Ravi Soni
Jun 27 at 12:34
|
show 1 more comment
When I call to controller first time showing my data on page after some seconds data not showing on page. page is showing blank.
Controller
public function execute()
$itemid = $this->getRequest()->getParam('itemid');
$this->_coreRegistry->register('itemid', $itemid);
$resultPage = $this->_resultPageFactory->create();
return $resultPage;
//$this->_redirect('csr/index/find');
After some time $itemid not getting me.
magento2 controllers custom-block
When I call to controller first time showing my data on page after some seconds data not showing on page. page is showing blank.
Controller
public function execute()
$itemid = $this->getRequest()->getParam('itemid');
$this->_coreRegistry->register('itemid', $itemid);
$resultPage = $this->_resultPageFactory->create();
return $resultPage;
//$this->_redirect('csr/index/find');
After some time $itemid not getting me.
magento2 controllers custom-block
magento2 controllers custom-block
edited Jun 27 at 12:36
Masud Shaikh
asked Jun 27 at 11:50
Masud ShaikhMasud Shaikh
4111 silver badge11 bronze badges
4111 silver badge11 bronze badges
You mean after some times page load automatically, and after reload page will become blank.
– Ravi Soni
Jun 27 at 11:54
No, Some time page not reload but I taking product data from block. Product id have taken blank after some time. @Ravi
– Masud Shaikh
Jun 27 at 12:06
I think second time block not found. @Ravi
– Masud Shaikh
Jun 27 at 12:12
I have debugged getting $tempBlock = null @Ravi
– Masud Shaikh
Jun 27 at 12:28
You should add your custom code here so everyone can understand.
– Ravi Soni
Jun 27 at 12:34
|
show 1 more comment
You mean after some times page load automatically, and after reload page will become blank.
– Ravi Soni
Jun 27 at 11:54
No, Some time page not reload but I taking product data from block. Product id have taken blank after some time. @Ravi
– Masud Shaikh
Jun 27 at 12:06
I think second time block not found. @Ravi
– Masud Shaikh
Jun 27 at 12:12
I have debugged getting $tempBlock = null @Ravi
– Masud Shaikh
Jun 27 at 12:28
You should add your custom code here so everyone can understand.
– Ravi Soni
Jun 27 at 12:34
You mean after some times page load automatically, and after reload page will become blank.
– Ravi Soni
Jun 27 at 11:54
You mean after some times page load automatically, and after reload page will become blank.
– Ravi Soni
Jun 27 at 11:54
No, Some time page not reload but I taking product data from block. Product id have taken blank after some time. @Ravi
– Masud Shaikh
Jun 27 at 12:06
No, Some time page not reload but I taking product data from block. Product id have taken blank after some time. @Ravi
– Masud Shaikh
Jun 27 at 12:06
I think second time block not found. @Ravi
– Masud Shaikh
Jun 27 at 12:12
I think second time block not found. @Ravi
– Masud Shaikh
Jun 27 at 12:12
I have debugged getting $tempBlock = null @Ravi
– Masud Shaikh
Jun 27 at 12:28
I have debugged getting $tempBlock = null @Ravi
– Masud Shaikh
Jun 27 at 12:28
You should add your custom code here so everyone can understand.
– Ravi Soni
Jun 27 at 12:34
You should add your custom code here so everyone can understand.
– Ravi Soni
Jun 27 at 12:34
|
show 1 more comment
0
active
oldest
votes
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%2f279917%2fmagento2-block-controller-issue%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f279917%2fmagento2-block-controller-issue%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
You mean after some times page load automatically, and after reload page will become blank.
– Ravi Soni
Jun 27 at 11:54
No, Some time page not reload but I taking product data from block. Product id have taken blank after some time. @Ravi
– Masud Shaikh
Jun 27 at 12:06
I think second time block not found. @Ravi
– Masud Shaikh
Jun 27 at 12:12
I have debugged getting $tempBlock = null @Ravi
– Masud Shaikh
Jun 27 at 12:28
You should add your custom code here so everyone can understand.
– Ravi Soni
Jun 27 at 12:34