Forum Support

Shape 5
March 29, 2024, 09:50:15 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Deleted s5_logo Still Appears  (Read 702 times)
neo9982
Jr. Member
**
Offline Offline

Posts: 4



« on: August 02, 2017, 02:34:21 AM »

Hello I have loaded and properly installed the Swapps Site Shaper. Upon deleting the s5_logo.png file and uploading the new logo file with the same file structure and dimensions the old file will not change. I first addressed this issue to my server provider seeing I have not had this problem before. They replied below:



This is the PHP code in question,

<?php if($s5_pos_logo == "published") { ?>
<div class="s5_logo_module" onclick="window.document.location.href='<?php echo $LiveSiteUrl ?>'">
<?php s5_module_call('logo','notitle'); ?>
</div>
<?php } else { ?>
<img alt="logo" src="<?php echo $s5_directory_path ?>/images/s5_logo.png" class="s5_logo" onclick="window.documen
t.location.href='<?php echo $LiveSiteUrl ?>'" />
<?php } ?>

[Julien F] If I change the PHP code from if($s5_pos_logo == "published") to if($s5_pos_logo != "published") the logo appears
[Julien F] suggesting that logo module is not published and thus the PHP code is not executing to display the custom logo.
[Julien F] Though I don't know where it stores or manipulates that s5_logo_module variable.
[Cornelius Wright] I got it just a minimal coding background. but I still have access to my old server, so I loaded the template deleted reloaded the new logo and it did appear.
[Cornelius Wright] This is the first attempt at this process on inmotion server. I have not transfered my sites just yet.
[Cornelius Wright] Could there be a permissions issue
[Julien F] Ok you probably have publishing of the logo module installed on the other installation but not this one.
[Julien F] It is not a permissions issue
[Julien F] As I said if I change the code to ignore that variable the logo
[Julien F]  loads fine
[Julien F] So the logo module needs to be set to "published" I don't know how to do that for your software though.
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: August 02, 2017, 11:30:52 AM »

Hello,

You can either overwrite the logo here /templates/swapps/images/s5_logo.png or you can publish a custom HTML Joomla module to the "logo" position and whatever you put in that module will show in the logo position.

Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.