Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

Topic-icon Home and internal pages have diff image sizes hlp

More
5 years 1 month ago - 5 years 1 month ago #13975 by Abbring
hi

I have a site that I have installed the Hot Flashes template on and I have one thing I need help with.

The Hot Flashes shows up with half my images cut on any page that is not my home page and sometimes loads images in the wrong order.

My question is: How can I configure one set of pictures for the large home page, and then configure another set of pictures that are the internal page height of 260?

I tried to change this in template params but it did not affect the pictures just the size of hot flashes.

Thanks for your help.
Last Edit: 5 years 1 month ago by Abbring.

Please Log in to join the conversation.

More
5 years 1 month ago #14008 by milos
Sorry for the late answer.

Unfortunately, the same pictures must be on all site pages. However, you can set the height of the menu in template parameters.

Order of images is determined by the images names: bg1.jpg, bg2.jpg, and so on.

Please Log in to join the conversation.

More
5 years 1 month ago #14041 by Abbring
not happy to hear that answer :(

I need two different sets of images.

Is there a way I can pay someone to manipulate the code and allow for two sets of images?

Also, the adjustment in template parameters (template manager > edit style > Flashes Menu Options > Height (Interior Pages) only changes the height of the flashes menu on internal pages, still cuts off my images half way through.

Please advise

Thank you

Please Log in to join the conversation.

More
5 years 1 month ago #14052 by ivan.milic
there was one poster that asked for that also, we gave him guides but I'am not sure he managed to apply that himself (based on his answers). Is you search forum under hot_flashes you will find that thread, maybe you can handle it.

Anyway we can do custom job use "Report To Moderator" to send us e-mail.

Please Log in to join the conversation.

More
5 years 1 month ago - 5 years 1 month ago #14054 by Abbring
Hi I have found the thread and gave it a shot, here is what I came up with for my code:

<style id="menu_flashes_stylesheet" type="text/css">
<?php

$path_add = '';
$menu = JSite::getMenu();
if ($menu->getActive() != $menu->getDefault()) {
$path_add = 'insite'.DS;
}


$backgrounds_dir = dirname(__FILE__).DS.'..'.DS.'images'.DS.'menu'.DS.'insite'.DS. $path_add;
$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>

I am having duplicate images show up on insite as well as home page still. However, I think I am close as the images will not show up at all if there is not a file with the same name bg1, bg2, etc.. in the images/menu/insite folder

Is the problem the images are the same name in both folders, or is it my coding? I am using 1.7

Thank you
Last Edit: 5 years 1 month ago by Abbring.

Please Log in to join the conversation.

More
5 years 1 month ago #14069 by ivan.milic
There is naming convention , bg1,bg2... and sub1, sub2... .bgX are images ,subX are transparent backgrounds for second level in menu

Please Log in to join the conversation.

Time to create page: 0.128 seconds

Links, Partners and Social Media