skip to main content

{source}<?php
tab Displaying Portfolio Item: Emmanuel Lutheran Churchuse Joomla\CMS\Uri\Uri;
tab Displaying Portfolio Item: Emmanuel Lutheran Church// Get the current view
tab Displaying Portfolio Item: Emmanuel Lutheran Churchtab Displaying Portfolio Item: Emmanuel Lutheran Church$input = $app->input;
tab Displaying Portfolio Item: Emmanuel Lutheran Churchtab Displaying Portfolio Item: Emmanuel Lutheran Church$view = $input->get('view');
tab Displaying Portfolio Item: Emmanuel Lutheran Churchtab Displaying Portfolio Item: Emmanuel Lutheran Church$layout = $input->get('layout');
tab Displaying Portfolio Item: Emmanuel Lutheran Church
tab Displaying Portfolio Item: Emmanuel Lutheran Church// Get the page title
tab Displaying Portfolio Item: Emmanuel Lutheran Churchtab Displaying Portfolio Item: Emmanuel Lutheran Church$pageTitle = $document->getTitle();
tab Displaying Portfolio Item: Emmanuel Lutheran Church
tab Displaying Portfolio Item: Emmanuel Lutheran Church// Initialize category title variable
tab Displaying Portfolio Item: Emmanuel Lutheran Churchtab Displaying Portfolio Item: Emmanuel Lutheran Church$categoryTitle = '';
tab Displaying Portfolio Item: Emmanuel Lutheran Church
tab Displaying Portfolio Item: Emmanuel Lutheran Church// Check if the view is an article or a category
tab Displaying Portfolio Item: Emmanuel Lutheran Churchif ($view === 'article' && isset($article)) {
tab Displaying Portfolio Item: Emmanuel Lutheran Churchtab Displaying Portfolio Item: Emmanuel Lutheran Church// Get the category id from the article object
tab Displaying Portfolio Item: Emmanuel Lutheran Churchtab Displaying Portfolio Item: Emmanuel Lutheran Church$categoryId = $article->catid;
tab Displaying Portfolio Item: Emmanuel Lutheran Church
tab Displaying Portfolio Item: Emmanuel Lutheran Churchtab Displaying Portfolio Item: Emmanuel Lutheran Church// Load the category
tab Displaying Portfolio Item: Emmanuel Lutheran Churchtab Displaying Portfolio Item: Emmanuel Lutheran Church$category = \JCategories::getInstance('Content')->get($categoryId);
tab Displaying Portfolio Item: Emmanuel Lutheran Churchtab Displaying Portfolio Item: Emmanuel Lutheran Church$categoryTitle = $category->title;
tab Displaying Portfolio Item: Emmanuel Lutheran Church} elseif ($view === 'category') {
tab Displaying Portfolio Item: Emmanuel Lutheran Churchtab Displaying Portfolio Item: Emmanuel Lutheran Church// Get the category id
tab Displaying Portfolio Item: Emmanuel Lutheran Churchtab Displaying Portfolio Item: Emmanuel Lutheran Church$categoryId = $input->getInt('id');
tab Displaying Portfolio Item: Emmanuel Lutheran Church
tab Displaying Portfolio Item: Emmanuel Lutheran Churchtab Displaying Portfolio Item: Emmanuel Lutheran Church// Load the category
tab Displaying Portfolio Item: Emmanuel Lutheran Churchtab Displaying Portfolio Item: Emmanuel Lutheran Church$category = \JCategories::getInstance('Content')->get($categoryId);
tab Displaying Portfolio Item: Emmanuel Lutheran Churchtab Displaying Portfolio Item: Emmanuel Lutheran Church$categoryTitle = $category->title;
tab Displaying Portfolio Item: Emmanuel Lutheran Church}
tab Displaying Portfolio Item: Emmanuel Lutheran Church// 
tab Displaying Portfolio Item: Emmanuel Lutheran Church// echo "<pre>";
tab Displaying Portfolio Item: Emmanuel Lutheran Church// echo 'View: ' . htmlspecialchars($view) . '<br>';
tab Displaying Portfolio Item: Emmanuel Lutheran Church// echo 'Layout: ' . htmlspecialchars($layout) . '<br>';
tab Displaying Portfolio Item: Emmanuel Lutheran Church// echo "View later: " . htmlspecialchars($viewLater) . '<br>';
tab Displaying Portfolio Item: Emmanuel Lutheran Church 

tab Displaying Portfolio Item: Emmanuel Lutheran Church// $currentView = $app->get('current_view_for_sourcer', '');
tab Displaying Portfolio Item: Emmanuel Lutheran Church// $bodyClassMenu= $app->get('bodyClassMenu', '');
tab Displaying Portfolio Item: Emmanuel Lutheran Church 

tab Displaying Portfolio Item: Emmanuel Lutheran Church// echo 'Current View Passed: '.$currentView.'<br>';
tab Displaying Portfolio Item: Emmanuel Lutheran Church// echo 'Body Class Passed: '.$bodyClassMenu.'<br>';

tab Displaying Portfolio Item: Emmanuel Lutheran Church 

tab Displaying Portfolio Item: Emmanuel Lutheran Church// echo
"<br>";
tab Displaying Portfolio Item: Emmanuel Lutheran Church// echo "Current view: " . htmlspecialchars($input->get('view'));

tab Displaying Portfolio Item: Emmanuel Lutheran Church// echo 'Page Title: <h1>' . htmlspecialchars($pageTitle) . '</h1>';
tab Displaying Portfolio Item: Emmanuel Lutheran Church// echo "</pre>";

tab Displaying Portfolio Item: Emmanuel Lutheran Church//
tab Displaying Portfolio Item: Emmanuel Lutheran Church// Output the titles and view with conditional HTML elements
tab Displaying Portfolio Item: Emmanuel Lutheran Church
tab Displaying Portfolio Item: Emmanuel Lutheran Churchecho '<div class="container">';
tab Displaying Portfolio Item: Emmanuel Lutheran Churchecho '<div class="row">';
tab Displaying Portfolio Item: Emmanuel Lutheran Churchecho '<div class="col-xs-12">';
tab Displaying Portfolio Item: Emmanuel Lutheran Churchecho '<div class="holder">';
tab Displaying Portfolio Item: Emmanuel Lutheran Church
tab Displaying Portfolio Item: Emmanuel Lutheran Church//echo "blog/".$article->category_alias;
tab Displaying Portfolio Item: Emmanuel Lutheran Church$varURL = Uri::getInstance()->toString();
tab Displaying Portfolio Item: Emmanuel Lutheran Church$varURLParts = parse_url($varURL);
tab Displaying Portfolio Item: Emmanuel Lutheran Church$varCategoryFlag = null;
tab Displaying Portfolio Item: Emmanuel Lutheran Church
tab Displaying Portfolio Item: Emmanuel Lutheran Churchforeach ($varURLParts as $component => $value) {
tab Displaying Portfolio Item: Emmanuel Lutheran Churchtab Displaying Portfolio Item: Emmanuel Lutheran Churchif ($component === 'path') {
tab Displaying Portfolio Item: Emmanuel Lutheran Churchtab Displaying Portfolio Item: Emmanuel Lutheran Churchtab Displaying Portfolio Item: Emmanuel Lutheran Church$value = substr($value, 0, strrpos($value, '/'));
tab Displaying Portfolio Item: Emmanuel Lutheran Churchtab Displaying Portfolio Item: Emmanuel Lutheran Church}
tab Displaying Portfolio Item: Emmanuel Lutheran Churchtab Displaying Portfolio Item: Emmanuel Lutheran Church$arrURLComponents[$component] = ucfirst($component) . ": $value";
tab Displaying Portfolio Item: Emmanuel Lutheran Churchtab Displaying Portfolio Item: Emmanuel Lutheran Church$arrURLValue[$component] = $value;
tab Displaying Portfolio Item: Emmanuel Lutheran Church};
tab Displaying Portfolio Item: Emmanuel Lutheran Church
tab Displaying Portfolio Item: Emmanuel Lutheran Church//echo "<pre>";
tab Displaying Portfolio Item: Emmanuel Lutheran Church//var_dump ($arrURLValue);
tab Displaying Portfolio Item: Emmanuel Lutheran Church//echo "</pre>";
tab Displaying Portfolio Item: Emmanuel Lutheran Church
tab Displaying Portfolio Item: Emmanuel Lutheran Church//echo '<a href="'.htmlspecialchars($arrURLValue['path']).'">'.htmlspecialchars($arrURLValue['path']).'</a>';
tab Displaying Portfolio Item: Emmanuel Lutheran Church
tab Displaying Portfolio Item: Emmanuel Lutheran Churchif ($view === 'article') {
tab Displaying Portfolio Item: Emmanuel Lutheran Churchtab Displaying Portfolio Item: Emmanuel Lutheran Churchecho '<!--article--><div class="header"><a href="'.htmlspecialchars($arrURLValue['path']).'"> ' . htmlspecialchars($categoryTitle) . '</a></div>';
tab Displaying Portfolio Item: Emmanuel Lutheran Church} elseif ($view === 'category') {
tab Displaying Portfolio Item: Emmanuel Lutheran Churchtab Displaying Portfolio Item: Emmanuel Lutheran Churchecho '<!--category--><h1 class="header"><a href="'.htmlspecialchars($arrURLValue['path']).'">' . htmlspecialchars($categoryTitle) . '</a></h1>';

tab Displaying Portfolio Item: Emmanuel Lutheran Church} 
else {
tab Displaying Portfolio Item: Emmanuel Lutheran Churchtab Displaying Portfolio Item: Emmanuel Lutheran Churchecho '<!--else--><h1 class="header">' . htmlspecialchars($categoryTitle) . '</h1>';
tab Displaying Portfolio Item: Emmanuel Lutheran Church};
tab Displaying Portfolio Item: Emmanuel Lutheran Church
tab Displaying Portfolio Item: Emmanuel Lutheran Churchecho '</div>';
tab Displaying Portfolio Item: Emmanuel Lutheran Churchecho '</div>';
tab Displaying Portfolio Item: Emmanuel Lutheran Churchecho '</div>';
tab Displaying Portfolio Item: Emmanuel Lutheran Churchecho '</div>';
?>
{/source}

Emmanuel Lutheran Church

Cube Creative Design worked with Emmanuel Lutheran Church in Asheville, NC to create a custom responsive and search engine optimized website built with Joomla CMS.

Emmanuel Lutheran ChurchEmmanuel Lutheran Church in Asheville, NC, has partnered with Cube Creative for many years. Their website features a mobile-friendly responsive wireframe and an intuitive user design.