-
AuthorPosts
-
March 19, 2008 at 10:21 am #126729
I have installed the Ja Corona template on Joomla 1.15 but it seems that in the index.php the paths of certain variables are not correct. These are the paths that give me some problems:
<?php echo $tmpTools->baseurl(); ?>
<?php echo $tmpTools->templateurl(); ?>Can anybody tell me why when i launch my website in local (i use JSAS) and look at the code, the paths of many filkes (eg. css files) are not correct and therefore the css are not displayed?
Thank youMenalto FriendMenalto
- Join date:
- May 2007
- Posts:
- 4736
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 2
- Thanked:
- 531 times in 361 posts
March 20, 2008 at 7:52 am #242668I tested the package here and it works fine on 1.5, 1.0.12, 10.13 and 1.0.15. Is this the only template you have this problem with?
EddieLuc FriendEddieLuc
- Join date:
- December 2005
- Posts:
- 13
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
April 7, 2008 at 6:24 am #244651Hi,
I’ve got the same problem.
I am using JSAS.
joomla 1.0.15.Fresh install.
tried both
– quickstart and
– joomla 1.0.15 + template.JSAS defaults to the port 85.
ie.
http://localhost:85/yourdomain.
There is a reference in the index.php to the css without including the port number.
ie.
<link href=”http://localhost:/yourdomain/templates/ja_avian_ii_m/css/template_css.css” rel=”stylesheet” type=”text/css” />Notice “localhost:” , the port number is missing, but the “:” is there.
ja_avaian uses getLiveSiteURLWhen I switch to the default template “rhuk_solarflare_ii “, it’s OK.
it uses “mosConfig_live_site” which is set by the user.>>> SOLUTION
// in ja_templatetools.php
function getLiveSiteURL() {
global $mosConfig_live_site;
$url = parse_url($mosConfig_live_site);//
// delete this
//
// $livesite = $url[‘scheme’].’://’.$_SERVER[‘SERVER_NAME’].($_SERVER[‘SERVER_PORT’]==80?”:’:’).$url[‘path’];
////
// add this
//
$livesite = $url[‘scheme’].’://’.$_SERVER[‘SERVER_NAME’].($_SERVER[‘SERVER_PORT’]==80?”:’:’.$_SERVER[‘SERVER_PORT’]).$url[‘path’];return $livesite;
}>>>
cheers
Ed1 user says Thank You to EddieLuc for this useful post
Khanh Le ModeratorKhanh Le
- Join date:
- November 2013
- Posts:
- 1884
- Downloads:
- 41
- Uploads:
- 31
- Thanks:
- 44
- Thanked:
- 203 times in 131 posts
April 7, 2008 at 8:52 am #244663Great solution, eddieluc. We miss the port number if you use other port instead of 80.
April 30, 2008 at 10:19 pm #247408hi,
this is also an issue in edenite – can you put this as a sticky in your forums etc. because this caused me about 5 hours of issues!
EddieLuc FriendEddieLuc
- Join date:
- December 2005
- Posts:
- 13
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
May 3, 2008 at 3:10 am #247596hi,
it would probably be best to release
ja_templatetools.phpwith the bug fix.
and tell people to download it again.
cheers
EdMay 12, 2008 at 11:22 am #248780i don’t speak english. ja corona menu & icon problem ?:((
-
AuthorPosts
This topic contains 8 replies, has 7 voices, and was last updated by Sherlock 16 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum