Strange behaviour with styles

More
11 years 2 months ago #36190 by silverfox47
I have Hot Academy installed with joomla 3.2.1

I want to change the logo so I go into the template settings under features - logo image settings I select the logo image file and save the changes, I do not see the logo appear, when I check the logo element I see that the number of the style has been added in front of the logo image name for example if I am using logo.png then I see the element as 3logo.png.

If I then go into change other areas of the template such as colours or menu and save those then it loses the logo image name and you have to start again.

Any suggestions?

Please Log in to join the conversation.

More
11 years 2 months ago #36191 by ivan.milic
make sure you have

templates/hot_academy/images/3logo.png

image

Please Log in to join the conversation.

More
11 years 2 months ago - 11 years 2 months ago #36192 by silverfox47
All the logos are there 0logo.png, 1logo.png etc

Here for example I have style 1 selected and I select 0logo.png as the image and I see

<img alt="logo" src="/templates/hot_academy/images/00logo.png">

As you can see a 0 is inserted into the front of the logo filename
Last edit: 11 years 2 months ago by silverfox47.

Please Log in to join the conversation.

More
11 years 2 months ago #36205 by ivan.milic
Ok, open

templates\hot_academy\library\logo.php

on line 12:

<div class="sparky_logo_image"><a href="index.php"><img src="<?php echo $template_path."/images/".$templateStyle.$logoImageFile; ?>" alt="<?php echo $logoImageAlt; ?>" /></a></div>

change that to:

<div class="sparky_logo_image"><a href="index.php"><img src="<?php echo $template_path."/images/".$logoImageFile; ?>" alt="<?php echo $logoImageAlt; ?>" /></a></div>

Please Log in to join the conversation.

More
11 years 2 months ago - 11 years 2 months ago #36258 by silverfox47
Thank you - that fixed the problem
Last edit: 11 years 2 months ago by silverfox47.

Please Log in to join the conversation.

Time to create page: 0.211 seconds
Powered by Kunena Forum