: Deleted s5_logo Still Appears : neo9982 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. : Re: Deleted s5_logo Still Appears : jonahh 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. |