Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Universatil by 55thinking
Download Test Drive
5 total
Favorite
Hot!
Universatil
AUTHOR Author: 55thinking license License: GNU GPL
SUBMITED BY Submited by: nuston (24) Favoured Favoured: 5
ADDED DATE Added Date: 2007-12-08 03:31:47 MODIFY DATE Modify Date: 2007-12-08 03:51:58
VIEW View: 1313 DOWNLOAD Downloads: 675
REVIEW Demo View: 1798
TAGS Tags: Joomla! 1.5 Template Contest 
TAGS Compatibility: Joomla 1.5 
TAGS Options: Color switch  Valid CSS  Valid XHTML  2 column 
TAGS Menu Types:
TAGS License: GNU GPL 
Description:
Universatil is aiming at offering you the maximum flexibility possible for your Joomla web sites:

* Fresh & modern design - 6 colour variation
* Templates' parameter - Choose colour, set-up columns' number, width type and the elements that you want to display or not in a few clicks
* 8 collapsable positions for additional modules
* Multilanguage: English, French & Spanish to start with
* RTL ready
* Advanced style switcher features (enable/disable)
* Lightweight (enable/disable CSS background images + enable/disable CSS compressed files)
* Mootools effects (enable/disable)
* Jooomla core files override - should work properly with Beez html set files and Joomla core code
* Cross Browser - no tables
* w3c compliant XHMTL/CSS
* Documentation folder
Sign up or Login to comment on " Universatil"
Discuss (2)
Universatil by vujsa08 Apr 08 00:53
http://www.bestofjoomla.com/joomla-templates/universatil.html

I can't get this template to work! I keep getting this error:
Notice: Undefined variable: teasertop1 in /home/username/public_html/templates/universatil/includes/modules-configuration.php on line 30

This is particularly frustrating since there isn't any code on line 30 and in fact, there isn't anything but comments above line 30!

So I looked more at the code and there are several spaces and blank lines below the closing tag "?>" at the bottom around line 85 so I removed them. Here is the new error message.
Notice: Undefined variable: teasertop1 in /home/username/public_html/templates/universatil/includes/modules-configuration.php on line 59

Now I don't understand how deleting lines at the end of the code causes the error to change line numbers????

Now a bit about my installation:

Joomla 1.5.2
No data installed except 1 article, 1 user, 1 searchbot, and a few templates.

I'm wondering if because I don't have a populated website, the template is missing data. For example, if I place a custom module in the "teasertop1" module position, the error goes away.

Anyhow, I modified the code in that file to eliminate the error meessage:
Code:


<?php
/**
* @version $Id: modules-configuration.php $
* @package Joomla
* @subpackage Templates / Universatil template
* @copyright Copyright (C) 2004 - 2007 55thinking Solutions S.L. All rights reserved.
* @contact email: XXXXXXXXXXXXXXXXX
* @license GNU/GPL - Proposal for 1.5 Templates Contest - September 2007
* Joomla! is free software. This version may have been modified pursuant to the
* GNU General Public License, and as distributed it includes or is derivative
* of works licensed under the GNU General Public License or other free or open
* source software licenses. See COPYRIGHT.php for copyright notices and
* details.
*/

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );


if ($this->countModules('teasertop1 or teasertop2 or teasertop3 or teasertop4 or teaserbottom1 or teaserbottom2 or teaserbottom3 or teaserbottom4 or footer or syndicate or showcredit')){


/* Count the number of the teaser modules at top*/
if ($this->countModules('teasertop1')){
$teasertop1 = 1;
}
else{
$teasertop1 = 0;
}
if ($this->countModules('teasertop2')){
$teasertop2 = 1;
}
else{
$teasertop2 = 0;
}
if ($this->countModules('teasertop3')){
$teasertop3 = 1;
}
else{
$teasertop3 = 0;
}
if ($this->countModules('teasertop4')){
$teasertop4 = 1;
}
else{
$teasertop4 = 0;
}

/* output the top total */
$teasertop_total = ($teasertop1 + $teasertop2 + $teasertop3 + $teasertop4);

/* Count the number of the teaser modules at bottom*/
if ($this->countModules('teaserbottom1')){
$teaserbottom1 = 1;
}
else{
$teaserbottom1 = 0;
}
if ($this->countModules('teaserbottom2')){
$teaserbottom2 = 1;
}
else{
$teaserbottom2 = 0;
}
if ($this->countModules('teaserbottom3')){
$teaserbottom3 = 1;
}
else{
$teaserbottom3 = 0;
}
if ($this->countModules('teaserbottom4')){
$teaserbottom4 = 1;
}
else{
$teaserbottom4 = 0;
}

/* output the bottom total */
$teaserbottom_total = ($teaserbottom1 + $teaserbottom2 + $teaserbottom3 + $teaserbottom4);
}
?>


There are more efficient methods to write the code but this is clean and easy to read! I'll look at optimizing the code after I figure out the rest of the problems!


On to the next problem...

With or without the error message described above, I get a "Error" message on the search component. It is stylized with the template and doesn't provide any information about the error. If I try to search for something, I get a text only version of my website.

I do however get an error message I can work with...
Notice: Undefined property: SearchViewSearch::$image in /home/username/public_html/templates/universatil/html/com_search/search/default_results.php on line 11

Again, I'm assuming that I get this message because I don't have some data installed that the template is looking for...

I looked at that line to find that it looks for an image that doesn't seem to exist.

If I remove it, the search component still gives a generic error message and when searching, no styling is applied to the website.

Looks like the author didn't code any error reporting or account for data not being included in some setups.

I'll try the template on another Joomla 1.5.2 installation with all of the sample data included to see how that works...

I'll get back to you.

vujsa
Re:Universatil by vujsa08 Apr 08 01:32
Well, sorry to double post but I did a new Joomla 1.5.2 installation with the default sample data and the template still won't work.

This is really a shame, I was looking forward to using this template.

Thanks,
vujsa
Search:
Advanced Filter
    RESET
Browse Joomla Template Providers
Latest Provider Reviews
Like It? Buttons