Skip to content

Instantly share code, notes, and snippets.

@amacgregor
Last active December 21, 2015 16:49
Show Gist options
  • Select an option

  • Save amacgregor/6336346 to your computer and use it in GitHub Desktop.

Select an option

Save amacgregor/6336346 to your computer and use it in GitHub Desktop.
Updated code with error message
<?php $registry = Mage::registry('loaded_registry'); ?>
<?php if($registry->getId()): ?>
<h3><?php echo $registry->getEventName(); ?></h3>
<p><strong><?php $this->__('Event Date:') ?> <?php echo $registry->getEventDate(); ?></strong></p>
<p><strong><?php $this->__('Event Location:') ?> <?php echo $registry->getEventLocation(); ?></strong></p>
<?php else: ?>
<h3>There was an error, the requested registry does not exist.</h3>
<?php endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment