Moved Forums

ThemeSnap.com Forums have Moved! Please note that our forums have moved here: New ThemeSnap.com Forums. You will still be able to read forum threads in the forum categories or threads below. However, you will not be able to post new forum topics or replies to existing threads. Please post any new forum posts in our new forum section by registering a new account.

Bug with logos on efficient theme and Publisher theme

No replies
darkpollo
darkpollo's picture
Offline
Joined: 05/10/2008
Points: 0

Hi.

There is a bug in the code for both themes. There is no code in page.tpl and also in page-front.tpl to change the logo using the theme settings.

In the Efficient theme (version 1.3) there is no IF to hide the logo and it shows only with the CSS, so it is impossible to change it without editing CSS and uploading a new image.

In the publisher the code is this:

<a class="logo" href="<?php print base_path(); ?>" title="<?php print $site_name ?>"> <!-- logo -->
<img alt="<?php print $site_name ?>" src="<?php print base_path() . path_to_theme()?>/images/logo.jpg"/>
</a>

And it must have something like that: 

 <?php if ($logo) { ?> 

Before it to hide the logo.

Also the src must be:  

src="<?php print $logo ?>"

And the alt text:  

alt="<?php print t('Home') ?>"

Tell me when you fix it, please. I do need that basic feature.  

 

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <strong> <code>
  • Lines and paragraphs break automatically.
  • Each email address will be obfuscated in a human readable fashion or (if JavaScript is enabled) replaced with a spamproof clickable link.

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.