-
AuthorPosts
-
September 5, 2007 at 12:53 am #122548
I just installed Joomla 1.5rc and installed both the 1.5 versions of the template and module.
but I cannot get the header images to appear. I uninstalled and reinstalled just in case and I still get a gray box.
you can view it at http://gobiwebdesigns.com/gobi , where I am testing out the template.—– I tried changing the color themes and voila! The images appeared.
September 5, 2007 at 8:29 am #228852You have added “.css” too much in the header’s url’s.
You have written:
http://gobiwebdesigns.com/gobi/templates/ja_mageia/images/header/default.css/header1.jpg
But it should be:
http://gobiwebdesigns.com/gobi/templates/ja_mageia/images/header/default/header1.jpg
September 19, 2007 at 11:39 pm #229683So yes I see that it goes to the wrong locatino, I also have same problem, no headers on page, but how to change this? I tryd to manualy type in the images location, but that didnot help…
please helpSeptember 20, 2007 at 6:48 am #229704Send a link to your page.
September 20, 2007 at 11:19 am #229717http://www.thuisbellen.nl is the site
September 20, 2007 at 11:31 am #229719It’s the exact same error as on the one above.
You have written the following link to your header folder:
default.css/
when it should be:
default/
The images are on http://www.thuisbellen.nl/templates/jamageia/images/header/default/header1.jpg
Not http://www.thuisbellen.nl/templates/jamageia/images/header/default.css/header1.jpgMy link to the folder looks like this:
<blockquote><!– BEGIN: HEADER –>
<div id=”ja-headerwrap” class=”clearfix”>
<div id=”ja-header” style=”background: url(<?php echo $mosConfig_live_site.”/templates/”. $ja_template_name.”/images/header/”. $ja_color.”/”. $ja_header_img;?>) no-repeat top right;”>
</blockquote>September 20, 2007 at 4:04 pm #229732yes I have try that but that didnot help, you are taking that code from alredy procesed page, but if you look at original index file wich is not yet processed to www you will se totaly other picture, I will post it here later on today.
September 20, 2007 at 5:31 pm #229734Here is the original one, there is no full path, it’s php not proccesed. the code that you see
is alredy proccesed code.<!– BEGIN: HEADER –>
<div id=”ja-headerwrap” class=”clearfix”>
<div id=”ja-header” style=”background: url(templates/<?php echo $JAconfig->template.”/images/header”. $JAconfig->ja_color .”/”. $ja_header_img;?>) no-repeat top right;”><div id=”ja-newsflash”>
<jdoc:include type=”modules” name=”user5″ style=”xhtml” />
</div><div id=”ja-pathwaywrap” class=”clearfix”>
<?php if($this->countModules(‘user4’)) : ?>
<div id=”ja-searchwrap”>
<div id=”ja-search”>
<jdoc:include type=”modules” name=”user4″ style=”xhtml” />
</div>
</div>
<?php endif; ?>
<div id=”ja-pathway”>
<div id=”ja-usertoolswrap”>
<div id=”ja-usertools”>
<?php if($JAconfig->ja_tool & 1) $tempTools->genToolMenu(1); ?>
<?php if($JAconfig->ja_tool & 2) $tempTools->genToolMenu(2); ?>
</div>
</div>
<?php if ($this->countModules(‘breadcrumb’)) { ?>
<jdoc:include type=”modules” name=”breadcrumb” style=”xthml” />
<?php } ?>
</div>
</div>
</div>
</div>
<!– END: HEADER –>this is still not solved please help guys….
here is the whole code, if you like, this is original from index.php
<?php
/*————————————————————————
# JA Mageia 1.0 – August, 2007
# ————————————————————————
# Copyright (C) 2004-2006 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
# @license – Copyrighted Commercial Software
# Author: J.O.O.M Solutions Co., Ltd
# Websites: http://www.joomlart.com – http://www.joomlancers.com
————————————————————————-*/defined( ‘_JEXEC’ ) or die( ‘Restricted access’ );
include_once (dirname(__FILE__).DS.’/ja_templatetools.php’);
$this->ja_color_themes = array(‘default’,’cyan’,’orange’,’red’);
$ja_header_images_wide = array (‘header1.jpg’,’header2.jpg’,’header3.jpg’,’header4.jpg’,’header5.jpg’);
$ja_header_images_narrow = array (‘header1-n.jpg’,’header2-n.jpg’,’header3-n.jpg’,’header4-n.jpg’,’header5-n.jpg’);$tempTools = new JA_Tools($this);
$JAconfig = $tempTools->getUserSetting();
# Auto Collapse Divs Functions ##########
$ja_left = $this->countModules(‘left’) || ($JAconfig->ja_menutype == 1);
$ja_right = $this->countModules(‘right’);if ( $ja_left && $ja_right ) {
$divid = ”;
} elseif ( $ja_left ) {
$divid = ‘-fr’;
} elseif ( $ja_right ) {
$divid = ‘-fl’;
} else {
$divid = ‘-f’;
}$curidx = $tempTools->getCurrentMenuIndex();
//if ($curidx) $curidx–;
$ja_header_img = ‘header.jpg’;
$ja_header_images = ($JAconfig->ja_width==’narrow’)? $ja_header_images_narrow:$ja_header_images_wide;if (count($ja_header_images)) {
$curidx = $curidx % count($ja_header_images);
$ja_header_img = $ja_header_images[$curidx];
}
?>
<!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=”<?php echo $this->language; ?>” lang=”<?php echo $this->language; ?>” >
<head>
<jdoc:include type=”head” />
<?php $tempTools->genMenuHead(); ?><link rel=”stylesheet” href=”templates/_system/css/general.css” type=”text/css” />
<link rel=”stylesheet” href=”templates/<?php echo $JAconfig->template ?>/css/template_css.css” type=”text/css” />
<link rel=”stylesheet” href=”templates/<?php echo $JAconfig->template ?>/css/colors/<?php echo $JAconfig->ja_color; ?>.css” type=”text/css” /><!–>
<style type=”text/css”>
.clearfix {height: 1%;}
#ja-pathwaywrap {
background: none;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=’templates/<?php echo $JAconfig->template; ?>/images/opaque-<?php echo $JAconfig->ja_color; ?>.png’,sizingMethod=’scale’);
}
</style>
<!–><!–>
<style type=”text/css”>
.clearfix {display: inline-block;}
</style>
<!–><script language=”javascript” type=”text/javascript” src=”templates/<?php echo $JAconfig->template; ?>/scripts/ja.script.js”></script>
</head>
<body id=”bd” class=”<?php echo $JAconfig->ja_width.” fs”.$JAconfig->ja_font_size;?>”>
<a name=”Top” id=”Top”></a><ul class=”accessibility”>
<li><a href=”#ja-content” title=”Skip to content”>Skip to content</a></li>
<li><a href=”#ja-mainnav” title=””>Skip to main navigation</a></li>
<li><a href=”#ja-col1″ title=””>Skip to 1st column</a></li>
<li><a href=”#ja-col2″ title=””>Skip to 2nd column</a></li>
</ul>
<div id=”ja-wrapper”><!– BEGIN: MAIN NAVIGATION –>
<div id=”ja-mainnavwrap” class=”clearfix”><h1 class=”logo”><a href=”index.php”><?php echo $JAconfig->template; ?></a></h1>
<div id=”ja-mainnav”>
<?php
switch ($JAconfig->ja_menutype) {
case 1:
include(dirname(__FILE__).DS.”/ja_Splitmenu.php”);
$jamenu->genMenu (0);
break;
case 2:
case 4:
include(dirname(__FILE__).DS.”/ja_cssmenu.php”);
$jamenu->genMenu (0);
break;
case 3:
echo “<div class=”transmenu-inner”>”;
include(dirname(__FILE__).DS.”/ja_transmenu.php”);
$jamenu->genMenu (0);
echo “</div>”;
break;
}
?>
</div>
</div><!– END: MAIN NAVIGATION –>
<!– BEGIN: HEADER –>
<div id=”ja-headerwrap” class=”clearfix”>
<div id=”ja-header” style=”background: url(templates/<?php echo $JAconfig->template.”/images/header”. $JAconfig->ja_color .”/”. $ja_header_img;?>) no-repeat top right;”><div id=”ja-newsflash”>
<jdoc:include type=”modules” name=”user5″ style=”xhtml” />
</div><div id=”ja-pathwaywrap” class=”clearfix”>
<?php if($this->countModules(‘user4’)) : ?>
<div id=”ja-searchwrap”>
<div id=”ja-search”>
<jdoc:include type=”modules” name=”user4″ style=”xhtml” />
</div>
</div>
<?php endif; ?>
<div id=”ja-pathway”>
<div id=”ja-usertoolswrap”>
<div id=”ja-usertools”>
<?php if($JAconfig->ja_tool & 1) $tempTools->genToolMenu(1); ?>
<?php if($JAconfig->ja_tool & 2) $tempTools->genToolMenu(2); ?>
</div>
</div>
<?php if ($this->countModules(‘breadcrumb’)) { ?>
<jdoc:include type=”modules” name=”breadcrumb” style=”xthml” />
<?php } ?>
</div>
</div>
</div>
</div>
<!– END: HEADER –><div id=”ja-containerwrap<?php echo $divid; ?>”>
<div id=”ja-container” class=”clearfix”><div id=”ja-mainbody<?php echo $divid; ?>”>
<!– BEGIN: CONTENT –>
<div id=”ja-contentwrap”>
<div id=”ja-content”><jdoc:include type=”component” />
<?php if($this->countModules(‘banner’)) : ?>
<div id=”ja-banner”>
<jdoc:include type=”modules” name=”banner” />
</div>
<?php endif; ?></div>
</div>
<!– END: CONTENT –><?php if ($this->countModules(‘right’)) { ?>
<!– BEGIN: RIGHT COLUMN –>
<div id=”ja-col2″>
<div class=”ja-innerpad”>
<jdoc:include type=”modules” name=”right” style=”xhtml” />
</div>
</div><br />
<!– END: RIGHT COLUMN –>
<?php } ?><?php
$spotlight = array (‘user1′,’user2’);
$botsl = $tempTools->calSpotlight ($spotlight, $this->countModules(‘user8’)?70:100);
if( $botsl ) {
?>
<!– BEGIN: BOTTOM SPOTLIGHT –>
<div id=”ja-botslwrap” class=”clearfix”>
<div id=”ja-botsl”><?php if( $this->countModules(‘user1’) ) {?>
<div class=”ja-box<?php echo $botsl[‘modules’][‘user1’]; ?>” style=”width: <?php echo $botsl[‘width’]; ?>;”>
<jdoc:include type=”modules” name=”user1″ style=”xhtml” />
</div>
<?php } ?><?php if( $this->countModules(‘user2’) ) {?>
<div class=”ja-box<?php echo $botsl[‘modules’][‘user2’]; ?>” style=”width: <?php echo $botsl[‘width’]; ?>;”>
<jdoc:include type=”modules” name=”user2″ style=”xhtml” />
</div>
<?php } ?><?php if( $this->countModules(‘user8’) ) {?>
<div class=”ja-box-rightcol” style=”width: 30%;”>
<jdoc:include type=”modules” name=”user8″ style=”xhtml” />
</div>
<?php } ?></div>
</div>
<!– END: BOTTOM SPOTLIGHT –>
<?php } ?></div>
<?php if ($this->countModules(‘left’)) { ?>
<!– BEGIN: LEFT COLUMN –>
<div id=”ja-col1″>
<div class=”ja-innerpad”>
<?php if ($JAconfig->ja_menutype == 1 && $jamenu->hasSubMenu (1)) {
echo ‘<div id=”ja-subnavcol” class=”moduletable”>’;
echo ‘<h3>’.$jamenu->getParentText (1).'</h3>’;
$jamenu->genMenu (1);
echo ‘</div>’;
} ?>
<jdoc:include type=”modules” name=”left” style=”xhtml” />
</div>
</div><br />
<!– END: LEFT COLUMN –>
<?php } ?>
</div>
</div><!– BEGIN: FOOTER –>
<div id=”ja-footerwrap” class=”clearfix”>
<div id=”ja-footer”><div id=”ja-usercolorswrap”>
<div id=”ja-usercolors” class=”clearfix”>
<?php if($JAconfig->ja_tool & 4) $tempTools->genToolMenu(4); ?>
<ul style=”margin: 0; padding-left: 10px;”>
<li><a href=”#Top” title=”Go to top” style=”text-decoration: none;”><img src=”<?php echo $JAconfig->template;?>/images/top.gif” title=”Goto top” alt=”Goto top” /></a></li>
</ul>
</div>
</div><div class=”clr”></div><jdoc:include type=”modules” name=”user3″ />
<?php include (dirname(__FILE__).DS.’/footer.php’);?>
</div>
</div>
<!– END: FOOTER –></div>
<jdoc:include type=”modules” name=”debug” />
</body>
</html>September 21, 2007 at 7:29 am #229751Well, your index.php looks a lot different than mine. There are a lot of codes not being the same, some stuff missing in yours, some stuff that you have is not in mine etc. I don’t use Joomla 1.5, but don’t know if that is the reason. Have you changed your index.php a lot? Why not just change it back to what it is from the beginning? Mine looks more like the original one, yours is a lot different.
September 21, 2007 at 8:43 am #229753no, that’s the problem, this is the original downloaded template, I just clicked install, and uploaded this downloaded temlate, zip file. and after that it didnot show any header, I also tryd to copy header emages to other upper directory’s but that also didnot help.
the strangest thing is that nobody from developers of this site joomlart is replying to this issiue, alredy for 3 few days I’m posting this issiu, and there is also another user with same issiu, but nobody help. guys halllllooooooo are you there ?>:(
September 21, 2007 at 5:13 pm #229773Well well, after not getting any help from you guys, I just removed the RC 1.5 and installed the stable one, and installed it again, now everything works. So the problem is hereby solved,
not solved by you but solved.
there is another problem and that is that this template source files are empty, when I open them in adobe, than I see only a white block, no pictures of chinese girl 🙂 nothing. few lines, and that’s it.
so what’s with the source ?kallan Friendkallan
- Join date:
- August 2006
- Posts:
- 349
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 22
- Thanked:
- 35 times in 1 posts
October 22, 2007 at 10:59 pm #231362Hi,
I am having a similar problem – only thing is the header image appears in Internet Explorer 7 but not in mozilla.
The source in Mozialla is pointing to
<div id=”ja-header” style=”background: url(templates/ja_mageia/images/header/default.css/header1.jpg) no-repeat top right;”>This will not work as the file path has default.css instead of just default – My problem is I don’t know where to go to change this parameter
In the index.php file the following code is what loads the image
<div id=”ja-header” style=”background: url(templates/<?php echo $JAconfig->template.”/images/header/”. $JAconfig->ja_color .”/”. $ja_header_img;?>) no-repeat top right;”>Can anyone point me to where abouts I can change the path.
Thanks heaps
Kiwidesign -
AuthorPosts
This topic contains 12 replies, has 4 voices, and was last updated by kallan 17 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum