Example #1
0
			</div>
			
			<div class="cRow">
				<div class="ctitle"><h2><?php 
echo JText::_('CC PROFILE VIDEO DESCRIPTION');
?>
</h2></div>
				<p class="video-description"><?php 
echo $video->getDescription();
?>
</p>
				<?php 
# HTGMOD # show related locations #
?>
                <?php 
$locations = getMediaLocation($video->id);
jimport('joomla.application.application');
require_once JPATH_SITE . DS . 'components' . DS . 'com_content' . DS . 'helpers' . DS . 'route.php';
if ($locations) {
    ?>
                    <h4>Fiskeplasser</h4><ul>
                    <?php 
    foreach ($locations as $location) {
        ?>
                    <?php 
        $link = ContentHelperRoute::getArticleRoute($location->id, $location->catid, $location->sectionid);
        ?>
                        <li><a href="<?php 
        echo $link;
        ?>
"><?php 
Example #2
0
			</div>
			
			<div class="cRow">
				<div class="ctitle"><h2><?php 
echo JText::_('CC PROFILE VIDEO DESCRIPTION');
?>
</h2></div>
				<p class="video-description"><?php 
echo $video->getDescription();
?>
</p>
				<?php 
# HTGMOD # show related locations #
?>
                <?php 
$locations = getMediaLocation($video->id, "videos");
jimport('joomla.application.application');
require_once JPATH_SITE . DS . 'components' . DS . 'com_content' . DS . 'helpers' . DS . 'route.php';
if ($locations) {
    ?>
                    <h4>Fiskeplasser</h4><ul>
                    <?php 
    foreach ($locations as $location) {
        ?>
                    <?php 
        $link = ContentHelperRoute::getArticleRoute($location->id, $location->catid, $location->sectionid);
        ?>
                        <li><a href="<?php 
        echo $link;
        ?>
"><?php 
Example #3
0
<div id="community-photo-walls"></div>
<div id="wallContent"></div>

<script type="text/javascript" language="javascript">
joms.jQuery(document).ready(function(){ joms.gallery.init(); });
</script>

<?php 
    }
} else {
    ?>
	<div id="no-photos"><?php 
    echo JText::_('CC NO PHOTOS AVAILABLE FOR PREVIEW');
    ?>
</div>
<?php 
}
?>


<?php 
$locations = getMediaLocation(4);
if ($locations || 1) {
    ?>
		<textarea>lol: <?php 
    echo $photo->id;
    var_dump($locations);
    ?>
</textarea>
    <?php 
}