WebsiteBaker Support (2.8.x) > Templates, Menus & Design
'Overdrive' template from combosa.com - anyone using it?
seanie_morris:
Hi there,
I purchased the 'Overdrive' responsive template from combosa.com :: http://shop.combosa.com/WebsiteBaker-Templates/Overdrive::207.html :: and I have a few quirks and problems I would like to run by anyone else who has used it. Unfortunately, there is no support for templates help on that site - an error 404 page is what I get when I click on 'Support' from the link I pasted here. Any helpers out there?
Regards,
Seanie.
jacobi22:
i know, that the shop-owner has change in the end of last year. have you try the adresses from the imprint?
for us.. its of course possible to fix it, but not without code. maybe you can post some error messages and/or sreenshots with the problem's
normalize you have in every error message the filename and line of the broken function
seanie_morris:
--- Quote from: jacobi22 on July 06, 2016, 03:41:17 PM ---maybe you can post some error messages and/or sreenshots with the problem's
normalize you have in every error message the filename and line of the broken function
--- End quote ---
I can do that, I just didn't want to be totally lazy!
Firstly, when you look at the demo page of the website (point A):
http://shop.combosa.com/templatedemos/overdrive-html/index.html
And look at my under construction site (point B):
www.pixelthis.ie/wb
you'll notice that the slides and slide controls will not show. I made sure the links are correct, and even swapped out the <?php echo TEMPLATE_DIR; ?> for the actual web address. Keep in mind that the demo link is using HTML, so the code differences to bring in the slides are:
point A (uses HTML):
--- Code: ---<div id="infobox">
<div class="relative container">
<div id="slides">
<img src="slider/1.png" alt=""/>
<img src="slider/2.png" alt=""/>
<img src="slider/3.png" alt=""/>
<img src="slider/4.png" alt=""/>
</div>
</div>
</div>
--- End code ---
point B (uses PHP):
--- Code: ---<?php
$seitenname = PAGE_TITLE;
if ($seitenname == "Home") {
echo '<div id="infobox">
<div class="relative container">
<div id="slides">
<img src="http://www.pixelthis.ie/wb/templates/overdrive/slider/1.png" alt=""/>
<img src="http://www.pixelthis.ie/wb/templates/overdrive/slider/2.png" alt=""/>
<img src="http://www.pixelthis.ie/wb/templates/overdrive/slider/3.png" alt=""/>
<img src="http://www.pixelthis.ie/wb/templates/overdrive/slider/4.png" alt=""/>
</div>
</div>
</div>';
}
else {
echo '<div id="content_2">';
echo page_content(2);
echo '</div>';
};
?>
--- End code ---
All code in index.php up to the Breadcrumbs is:
--- Code: ---<?php
if(!defined('WB_URL')) {
header('http://www.pixelthis.ie/wb/templates/overdrive/index.php');
exit(0);
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><?php page_title(); ?> | <?php echo WEBSITE_TITLE; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php
echo defined('DEFAULT_CHARSET') ? DEFAULT_CHARSET : 'utf-8'; ?>" />
<meta name="description" content="<?php page_description(); ?>" />
<meta name="keywords" content="<?php page_keywords(); ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="robots" content="index,follow" />
<meta name="language" content="de" />
<meta name="page-topic" content="" />
<meta name="distribution" content="global" />
<meta name="revisit-after" content="7" />
<meta name="author" content="Xyz" />
<link rel="shortcut icon" href="http://www.pixelthis.ie/wb/templates/overdrive/images/favicon.ico" type="image/x-icon" />
<!-- Include CSS -->
<link href="http://www.pixelthis.ie/wb/templates/overdrive/css/style.css" rel="stylesheet" type="text/css" media="screen" />
<link href="http://www.pixelthis.ie/wb/templates/overdrive/css/menu.css" rel="stylesheet" type="text/css" media="screen" />
<link href="http://www.pixelthis.ie/wb/templates/overdrive/editor.css" rel="stylesheet" type="text/css" media="all" />
<link href="http://www.pixelthis.ie/wb/templates/overdrive/css/prettyPhoto.css" rel="stylesheet" type="text/css" media="screen" />
<!-- Include Scripts -->
<script type="text/javascript" src="http://www.pixelthis.ie/wb/templates/overdrive/js/jquery-v1.8.3.js"></script>
<script type="text/javascript" src="http://www.pixelthis.ie/wb/templates/overdrive/js/custom.js"></script>
<script type="text/javascript" src="http://www.pixelthis.ie/wb/templates/overdrive/js/modernizr-2.0.6.min.js"></script>
<script type="text/javascript" src="http://www.pixelthis.ie/wb/templates/overdrive/js/jquery.prettyPhoto.js"></script>
<script type="text/javascript" src="http://www.pixelthis.ie/wb/templates/overdrive/js/jquery.slides.min.js"></script>
<!-- Include Website Baker Scripts -->
<?php
if (function_exists('register_frontend_modfiles')) {
register_frontend_modfiles('css');
register_frontend_modfiles('js');
} ?>
<!--[if IE 8]>
<style>
.col {float: left; margin-bottom: 30px;margin-left: 0%;margin-right: 2.0%;}.grid4 .col {width: 21.4%;}.grid3 .col {width: 31.2%;}.grid2 .col {width: 45.4%;}
#infobox {margin-top: 0px;}.search_submit {margin: 0 6px 0 -5px;}
</style>
<![endif]-->
<!--[if IE 7]>
<style>
.col {float: left; margin-bottom: 30px;margin-left: 0%;margin-right: 2.0%;}.grid4 .col {width: 21.4%;}.grid3 .col {width: 31.2%;}.grid2 .col {width: 45.4%;}
#infobox {margin-top: 0px;}.search_submit {margin: 0 6px 0 -5px;}
</style>
<![endif]-->
</head>
<body>
<div id="container">
<div class="title">
<div id="logo"><a href="<?php echo WB_URL; ?>"><img src="<?php echo TEMPLATE_DIR; ?>/images/logo.png" alt="logo" width="320" height="200" border="0" /></a> </div>
<div id="search_box">
<?php if(SHOW_SEARCH) { ?>
<form name="search" action="http://www.pixelthis.ie/wb/search/index.php'; ?>" method="get">
<input type="text" name="string" class="search_string" id="search_string" value="Search..." onclick="this.value='';"/>
<input type="submit" name="submit" value="" class="search_submit" id="search_submit" />
</form>
<?php } ?>
</div><!-- end searchbox -->
</div><!-- end title -->
<div class="wrapper">
<a id="touch-menu" class="mobile-menu" href="#">Menu</a>
<div class="nav">
<?php show_menu2(0, SM2_ROOT, SM2_ALL, SM2_ALL, '<li><a href="[url]" class="[class]">[menu_title]</a>', "</li>", '<ul class="sub-menu" class="ullev[level]">', "</ul>", true, '<ul class="menu">');?>
</div><!-- ende nav -->
</div><!-- ende wrapper -->
<?php
$seitenname = PAGE_TITLE;
if ($seitenname == "Home") {
echo '<div id="infobox">
<div class="relative container">
<div id="slides">
<img src="http://www.pixelthis.ie/wb/templates/overdrive/slider/1.png" alt=""/>
<img src="http://www.pixelthis.ie/wb/templates/overdrive/slider/2.png" alt=""/>
<img src="http://www.pixelthis.ie/wb/templates/overdrive/slider/3.png" alt=""/>
<img src="http://www.pixelthis.ie/wb/templates/overdrive/slider/4.png" alt=""/>
</div>
</div>
</div>';
}
else {
echo '<div id="content_2">';
echo page_content(2);
echo '</div>';
};
?>
<div id="breadcrumbs">
<?php show_breadcrumbs(' » ', 0, true, -1); ?>
</div><!-- ende breadcrumbs -->
<div class="clearfix"></div>
--- End code ---
What do you think? Anything else you need?
Seanie.
Ruud:
You have a javascript error causing the slider not initializing.
--- Code: ---Time: 6-7-2016 22:58:26
Error: TypeError: $(...).prettyPhoto is not a function
Source: http://pixelthis.ie/wb/
Line: 186
--- End code ---
The reason (and solution) is the same as in this post
seanie_morris:
--- Quote from: Ruud on July 06, 2016, 11:03:21 PM ---You have a javascript error causing the slider not initializing.
--- Code: ---Time: 6-7-2016 22:58:26
Error: TypeError: $(...).prettyPhoto is not a function
Source: http://pixelthis.ie/wb/
Line: 186
--- End code ---
The reason (and solution) is the same as in this post
--- End quote ---
I never knew that, thank you for the link, and it worked, all I had to do in the admin backend was:
Admin Tools > Output Filter Frontend v1.0.0 > Deselect (uncheck) FrontendJs, Jquery, Scriptvars, and SnippetJs > Click 'Save'.
It's working now. Thanks Ruud (and jacobi22)!
Seanie.
Navigation
[0] Message Index
[#] Next page
Go to full version