Re: Academe - Another Professional Template
Well i tried to reinstall the template and that didnt solve the issue.. I am actually scared to try and reinstall Zen Cart because I dont want to mess up anything thats working now.. Everything works for me using the future Zen template so I do not believe my Zen Cart is defective. Now I have a few things added that might be interfering with it, but I only add things that are from this site. Not sure what the problem could be.. Guess I will have to wait to see if someone else has this issue and finds a fix. Very nice template though..
Re: Academe - Another Professional Template
Well we wouldn't want you to do that now ... :cool:
Try this ... open includes/functions/functions_lookups.php and make sure the following is somewhere in this file. It's the main declaration for this function and is used elsewhere in Zen.
Code:
// build date range for new products
function zen_get_new_date_range($time_limit = false) {
if ($time_limit == false) {
$time_limit = SHOW_NEW_PRODUCTS_LIMIT;
}
// 120 days; 24 hours; 60 mins; 60secs
$date_range = time() - ($time_limit * 24 * 60 * 60);
$upcoming_mask_range = time();
$upcoming_mask = date('Ymd', $upcoming_mask_range);
// echo 'Now: '. date('Y-m-d') ."<br />";
// echo $time_limit . ' Days: '. date('Ymd', $date_range) ."<br />";
$zc_new_date = date('Ymd', $date_range);
switch (true) {
case (SHOW_NEW_PRODUCTS_LIMIT == 0):
$new_range = '';
break;
case (SHOW_NEW_PRODUCTS_LIMIT == 1):
$zc_new_date = date('Ym', time()) . '01';
$new_range = ' and p.products_date_added >=' . $zc_new_date;
break;
default:
$new_range = ' and p.products_date_added >=' . $zc_new_date;
}
if (SHOW_NEW_PRODUCTS_UPCOMING_MASKED == 0) {
// do nothing upcoming shows in new
} else {
// do not include upcoming in new
$new_range .= " and (p.products_date_available <=" . $upcoming_mask . " or p.products_date_available IS NULL)";
}
return $new_range;
}
Re: Academe - Another Professional Template
You may have just skipped a file during an upgrade :blink:
Re: Academe - Another Professional Template
That worked great.. Now I have some sizing issues that I will mess with in the CSS page.. Im sure I may have more questions later on, but for now I think I can get through the basics with trial and error.. Appreciate the attention to detail and speedy help..
Re: Academe - Another Professional Template
:clap: Glad I could help.
I looked at the sites in your signature ... On FlagPridet try increasing the size of your left column from the administration area, then decrease the size of the three images you have spread across the front-page and the template should work for you.
Re: Academe - Another Professional Template
I just noticed something else as well ... your using the image manager module and the images aren't floating correctly. Will find a fix and get back to you on that.
Re: Academe - Another Professional Template
Make sure to add the Image Handler CSS file to the Acadame template directory ... that should correct the issue your having.
Re: Academe - Another Professional Template
Code:
#trailimageid {
position: absolute;
visibility: hidden;
left: 0px;
top: 0px;
width: 220px;
height: 0px;
z-index: 1000;
}
#trailimageid div {
padding: 5px;
background-color: #FFF;
border: 1px solid #888;
text-align: center;
}
#trailimageid h1 {
font-size: 100%;
font-weight: normal;
margin: 0;
padding: 2px 0px;
text-align: left;
width: 100%;
}
#trailimageid img {
margin: 2px;
border: none;
}
Add that to your stylesheet and it'll correct the floating problem.
Re: Academe - Another Professional Template
off topic here, what buttons do you use?
I changed the sizing in admin and that worked great.. was totally thinking I would have to do it in css. often forget which settings are where..
Re: Academe - Another Professional Template
Im sorry, forgot one thing.. The maroon bar at the top on your example has category links, is this an option to turn on? Sorry for so many questions..