I'm on a fresh install of 1.5.6c using Tableau2 template which itself installs IH4, numinix disk cache, css js loader and homepage product carousels.
Quite stuck installing the plugin because I can't make some edits to template files since the code isn't in the file for this template.
I uploaded everything from files/admin and files/includes
Made the edits to modified_core_files/1.5.6/admin/includes/javascript_loader
This file which needed editing did not exist on my server so I just uploaded it: modified_core_files/1.5.6/includes/init_includes/init_add_crumbs
Instructions state (I think) my 1.5.6c install should need these files but they don't exist in the plugin folder
includes/init_includes/overrides/init_canonical.php (Zen Cart 1.3.0 - 1.5.6a)
includes/init_includes/overrides/init_currencies.php (Zen Cart 1.3.0 - 1.5.6a)
includes/init_includes/overrides/init_sessions.php (Zen Cart 1.3.9/1.5.6a)
Lastly, template_override_files/1.5.6/includes/templates
Bit confused does responsive_template mean the responsive template I am using or the default responsive_classic template?
If it means my currently used responsive template, html_header for Tableau2 does not include the piece of code to edit nor does /templates/tpl_index_product_list
As for store-template I don't really know what that means either, is it if you aren't using a responsive template so can be ignored?
I hope I've provided enough information and very much appreciate any help. Been looking forward to having clean links with store updates for years.
Code:
<?php
/**
* Common Template
*
* outputs the html header. i,e, everything that comes before the \</head\> tag <br />
*
* @package templateSystem
* @copyright Copyright 2003-2010 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: html_header.php 6 2012-05-07 21:43:01Z numinix $
*/
/**
* load the module for generating page meta-tags
*/
require(DIR_WS_MODULES . zen_get_module_directory('meta_tags.php'));
/**
* output main page HEAD tag and related headers/meta-tags, etc
*/
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS; ?>>
<head>
<title><?php echo META_TAG_TITLE; ?></title>
<meta charset="<?php echo CHARSET; ?>" />
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>" />
<meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" />
<meta name="author" content="The Zen Cart™ Team and others" />
<?php
if ($_SESSION['view'] == 'desktop'){}
else { ?>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<?php } ?>
<meta name="theme-color" content="#333333">
<meta name="generator" content="shopping cart program by Zen Cart™, http://www.zen-cart.com eCommerce" />
<?php if (defined('ROBOTS_PAGES_TO_SKIP') && in_array($current_page_base,explode(",",constant('ROBOTS_PAGES_TO_SKIP'))) || $current_page_base=='down_for_maintenance' || $robotsNoIndex === true) { ?>
<meta name="robots" content="noindex, nofollow" />
<?php } ?>
<?php if (defined('FAVICON')) { ?>
<link rel="icon" href="<?php echo FAVICON; ?>" type="image/x-icon" />
<link rel="shortcut icon" href="<?php echo FAVICON; ?>" type="image/x-icon" />
<?php } //endif FAVICON ?>
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_CATALOG ); ?>" />
<?php if (isset($canonicalLink) && $canonicalLink != '') { ?>
<link rel="canonical" href="<?php echo $canonicalLink; ?>" />
<?php } ?>
<?php
/**
* load the loader files
*/
$RC_loader_files = array();
if($RI_CJLoader->get('status') && (!isset($Ajax) || !$Ajax->status())){
$RI_CJLoader->autoloadLoaders();
$RI_CJLoader->loadCssJsFiles();
$RC_loader_files = $RI_CJLoader->header();
foreach($RC_loader_files['meta'] as $file) {
include($file['src']);
echo "\n";
}
foreach($RC_loader_files['css'] as $file){
if($file['include']) {
include($file['src']);
} else if (!$RI_CJLoader->get('minify_css') || $file['external']) {
//$link = $file['src'];
echo '<link rel="stylesheet" type="text/css" href="'.$file['src'] .'" />'."\n";
} else {
//$link = 'min/?f='.$file['src'].'&'.$RI_CJLoader->get('minify_time');
echo '<link rel="stylesheet" type="text/css" href="min/?f='.$file['src'].'&'.$RI_CJLoader->get('minify_time').'" />'."\n";
}
}
}
//DEBUG: echo '<!-- I SEE cat: ' . $current_category_id . ' || vs cpath: ' . $cPath . ' || page: ' . $current_page . ' || template: ' . $current_template . ' || main = ' . ($this_is_home_page ? 'YES' : 'NO') . ' -->';
?>
<!-- TrustBox script --> <script type="text/javascript" src="//widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js" async></script> <!-- End TrustBox script -->
</head>
<?php // NOTE: Blank line following is intended: ?>