- Posts: 88
- Thank you received: 0
Hot Flashes problem
-
Houssam
Inactive member - Topic Author
- Member
Less
More
11 years 6 months ago #30115
by Houssam
Replied by Houssam on topic Hot Flashes problem
i already upload all this files in same name and same resolution
i can see the pictures in view from host control panel but in web site there is nothing
there is any option from joola control panel to can control this pictures or only from the host?
this is anything in programing i can do it?
i can see the pictures in view from host control panel but in web site there is nothing
there is any option from joola control panel to can control this pictures or only from the host?
this is anything in programing i can do it?
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 6 months ago #30121
by ivan.milic
Replied by ivan.milic on topic Hot Flashes problem
If you know programming check:
templates\hot_flashes\flashes_menu\menu.php
this code:
if seams that glob function can not see your files:
Try to change:
$bcg_images = glob($backgrounds_dir.'{*.png,*.jpg,*.jpeg,*.gif}',GLOB_BRACE);
to:
$bcg_images = glob($backgrounds_dir.'.*');
also first of all did you check CHMOD?
templates\hot_flashes\flashes_menu\menu.php
this code:
Code:
<style id="menu_flashes_stylesheet" type="text/css">
<?php
$backgrounds_dir = dirname(__FILE__).DS.'..'.DS.'images'.DS.'menu/';
$bcg_images = glob($backgrounds_dir.'{*.png,*.jpg,*.jpeg,*.gif}',GLOB_BRACE);
for( $loop = 0 ; $loop < count($bcg_images); $loop ++) {
echo '.'.basename(basename(basename(basename($bcg_images[$loop],'.jpg'),'.jpeg'),'.png'),'.gif').' {
background:url(\''.JURI::base().'templates/hot_flashes/images/menu/'.basename($bcg_images[$loop]).'\');
}
';
}
?>
</style>
if seams that glob function can not see your files:
Try to change:
$bcg_images = glob($backgrounds_dir.'{*.png,*.jpg,*.jpeg,*.gif}',GLOB_BRACE);
to:
$bcg_images = glob($backgrounds_dir.'.*');
also first of all did you check CHMOD?
Please Log in to join the conversation.
-
Houssam
Inactive member - Topic Author
- Member
Less
More
- Posts: 88
- Thank you received: 0
11 years 6 months ago #30127
by Houssam
Replied by Houssam on topic Hot Flashes problem
i already change it but nothing happend
also what is CHMOD
<?php
/*
# "Hot Flashes" Joomla template - November, 2011
# Copyright (C) 2011 ArhiNet d.o.o. All Rights Reserved.
# License: www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
# Author: HotJoomlaTemplates.com
# Website: www.hotjoomlatemplates.com
*/
?>
<script type="text/javascript" src="<?php echo $template_path ?>/js/jquery.bgpos.js"></script>
<script type="text/javascript" src="<?php echo $template_path ?>/js/jquery.balloon.min.js"></script>
<style id="menu_flashes_stylesheet" type="text/css">
<?php
$backgrounds_dir = dirname(__FILE__).DS.'..'.DS.'images'.DS.'menu/';
$bcg_images = glob($backgrounds_dir.'.*');
for( $loop = 0 ; $loop < count($bcg_images); $loop ++) {
echo '.'.basename(basename(basename(basename($bcg_images[$loop],'.jpg'),'.jpeg'),'.png'),'.gif').' {
background:url(\''.JURI::base().'templates/hot_flashes/images/menu/'.basename($bcg_images[$loop]).'\');
}
';
}
?>
</style>
<script type="text/javascript">
var mnuFlshesWidth = <?php echo $mnuFlshesWidth ;?>;
var mnuFlshesSubItemsColor = "<?php echo $mnuFlshesSubItemsColor; ?>";
var mnuFlshesRootItemsBackground = "<?php echo $mnuFlshesRootItemsBackground;?>";
var mnuFlshesRootItemsHieght = <?php echo $mnuFlshesRootItemsHieght; ?>;
var siteBaseLink = "<?php echo JURI::base(); ?>";
</script>
<script type="text/javascript" src="<?php echo $template_path ?>/flashes_menu/menu.js"></script>
also what is CHMOD
<?php
/*
# "Hot Flashes" Joomla template - November, 2011
# Copyright (C) 2011 ArhiNet d.o.o. All Rights Reserved.
# License: www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
# Author: HotJoomlaTemplates.com
# Website: www.hotjoomlatemplates.com
*/
?>
<script type="text/javascript" src="<?php echo $template_path ?>/js/jquery.bgpos.js"></script>
<script type="text/javascript" src="<?php echo $template_path ?>/js/jquery.balloon.min.js"></script>
<style id="menu_flashes_stylesheet" type="text/css">
<?php
$backgrounds_dir = dirname(__FILE__).DS.'..'.DS.'images'.DS.'menu/';
$bcg_images = glob($backgrounds_dir.'.*');
for( $loop = 0 ; $loop < count($bcg_images); $loop ++) {
echo '.'.basename(basename(basename(basename($bcg_images[$loop],'.jpg'),'.jpeg'),'.png'),'.gif').' {
background:url(\''.JURI::base().'templates/hot_flashes/images/menu/'.basename($bcg_images[$loop]).'\');
}
';
}
?>
</style>
<script type="text/javascript">
var mnuFlshesWidth = <?php echo $mnuFlshesWidth ;?>;
var mnuFlshesSubItemsColor = "<?php echo $mnuFlshesSubItemsColor; ?>";
var mnuFlshesRootItemsBackground = "<?php echo $mnuFlshesRootItemsBackground;?>";
var mnuFlshesRootItemsHieght = <?php echo $mnuFlshesRootItemsHieght; ?>;
var siteBaseLink = "<?php echo JURI::base(); ?>";
</script>
<script type="text/javascript" src="<?php echo $template_path ?>/flashes_menu/menu.js"></script>
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 6 months ago #30131
by ivan.milic
Replied by ivan.milic on topic Hot Flashes problem
CHMOD is access rights to file. You can change it using cpanels file manager or you can install xEtplorer for joomla. You need to set it to folders:755/files: 644
Please Log in to join the conversation.
-
Houssam
Inactive member - Topic Author
- Member
Less
More
- Posts: 88
- Thank you received: 0
11 years 6 months ago #30158
by Houssam
Replied by Houssam on topic Hot Flashes problem
i did all but still same nothing change
i feel tired from this problem
i feel tired from this problem
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 6 months ago #30160
by ivan.milic
Replied by ivan.milic on topic Hot Flashes problem
Please Log in to join the conversation.
Time to create page: 0.095 seconds