skip to main content

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

tab Displaying Portfolio Item: Asheville Speech Associates// $currentView = $app->get('current_view_for_sourcer', '');
tab Displaying Portfolio Item: Asheville Speech Associates// $bodyClassMenu= $app->get('bodyClassMenu', '');
tab Displaying Portfolio Item: Asheville Speech Associates 

tab Displaying Portfolio Item: Asheville Speech Associates// echo 'Current View Passed: '.$currentView.'<br>';
tab Displaying Portfolio Item: Asheville Speech Associates// echo 'Body Class Passed: '.$bodyClassMenu.'<br>';

tab Displaying Portfolio Item: Asheville Speech Associates 

tab Displaying Portfolio Item: Asheville Speech Associates// echo
"<br>";
tab Displaying Portfolio Item: Asheville Speech Associates// echo "Current view: " . htmlspecialchars($input->get('view'));

tab Displaying Portfolio Item: Asheville Speech Associates// echo 'Page Title: <h1>' . htmlspecialchars($pageTitle) . '</h1>';
tab Displaying Portfolio Item: Asheville Speech Associates// echo "</pre>";

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

tab Displaying Portfolio Item: Asheville Speech Associates} 
else {
tab Displaying Portfolio Item: Asheville Speech Associatestab Displaying Portfolio Item: Asheville Speech Associatesecho '<!--else--><h1 class="header">' . htmlspecialchars($categoryTitle) . '</h1>';
tab Displaying Portfolio Item: Asheville Speech Associates};
tab Displaying Portfolio Item: Asheville Speech Associates
tab Displaying Portfolio Item: Asheville Speech Associatesecho '</div>';
tab Displaying Portfolio Item: Asheville Speech Associatesecho '</div>';
tab Displaying Portfolio Item: Asheville Speech Associatesecho '</div>';
tab Displaying Portfolio Item: Asheville Speech Associatesecho '</div>';
?>
{/source}

Asheville Speech Associates

Cube Creative Design worked with Asheville Speech Associates in Asheville to create a custom responsive and search engine optimized website built with Joomla CMS.

Asheville Speech Associates