skip to main content

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

tab Displaying Portfolio Item: the Crenshaw School// $currentView = $app->get('current_view_for_sourcer', '');
tab Displaying Portfolio Item: the Crenshaw School// $bodyClassMenu= $app->get('bodyClassMenu', '');
tab Displaying Portfolio Item: the Crenshaw School 

tab Displaying Portfolio Item: the Crenshaw School// echo 'Current View Passed: '.$currentView.'<br>';
tab Displaying Portfolio Item: the Crenshaw School// echo 'Body Class Passed: '.$bodyClassMenu.'<br>';

tab Displaying Portfolio Item: the Crenshaw School 

tab Displaying Portfolio Item: the Crenshaw School// echo
"<br>";
tab Displaying Portfolio Item: the Crenshaw School// echo "Current view: " . htmlspecialchars($input->get('view'));

tab Displaying Portfolio Item: the Crenshaw School// echo 'Page Title: <h1>' . htmlspecialchars($pageTitle) . '</h1>';
tab Displaying Portfolio Item: the Crenshaw School// echo "</pre>";

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

tab Displaying Portfolio Item: the Crenshaw School} 
else {
tab Displaying Portfolio Item: the Crenshaw Schooltab Displaying Portfolio Item: the Crenshaw Schoolecho '<!--else--><h1 class="header">' . htmlspecialchars($categoryTitle) . '</h1>';
tab Displaying Portfolio Item: the Crenshaw School};
tab Displaying Portfolio Item: the Crenshaw School
tab Displaying Portfolio Item: the Crenshaw Schoolecho '</div>';
tab Displaying Portfolio Item: the Crenshaw Schoolecho '</div>';
tab Displaying Portfolio Item: the Crenshaw Schoolecho '</div>';
tab Displaying Portfolio Item: the Crenshaw Schoolecho '</div>';
?>
{/source}

The Crenshaw Academy

Cube Creative Design worked with The Crenshaw Academy - Olando, FL to create a custom responsive and search-engine-optimized website built with Joomla CMS. Along with a monthly content plan, Cube manages all the digital marketing for the private K-12 school.

 

cresnhaw Displaying Portfolio Item: the Crenshaw School

Promo Video