I am working within iframe but hoping to refresh whole page through drupal_goto. Is it possible to do it ?



drupal_goto will can be used to reload the same window. if you are in iframe, then it will reload the iframe, if you want to refresh the whole page you need javascript and you can add it inline using drupal_add_js

  drupal_add_js('parent.location.reload();',array('type' => 'inline'));
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.