Last active
December 10, 2015 20:58
-
-
Save dragoonis/4491599 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- extend our base template at ./app/view/base.html.php --> | |
<?php $view->extend('::base.html.php'); ?> | |
<!-- inject some content into our include_css slot, which is defined in the base template --> | |
<?php $view['slots']->start('include_css') ?> | |
<link rel="stylesheet" href="<?php echo $view['assets']->getUrl('foursquare/css/index.css') ?>"/> | |
<?php $view['slots']->stop(); ?> | |
<!-- inject some content into our include_js_body slot, which is defined in the base template --> | |
<?php $view['slots']->start('include_js_body'); ?> | |
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=true"></script> | |
<script type="text/javascript" src="<?=$view['assets']->getUrl('foursquare/js/index.js');?>"></script> | |
<?php $view['slots']->stop(); ?> | |
<!-- the actual content for this page --> | |
<section> | |
<h4>Tutorial: GeoLocation with Foursquare and Google Maps</h4> | |
<div class="map" id="map"></div> | |
</section> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment